aws-cdk-lib.aws_sam.CfnFunction.CognitoEventProperty

interface CognitoEventProperty

LanguageType name
.NETAmazon.CDK.AWS.SAM.CfnFunction.CognitoEventProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awssam#CfnFunction_CognitoEventProperty
Javasoftware.amazon.awscdk.services.sam.CfnFunction.CognitoEventProperty
Pythonaws_cdk.aws_sam.CfnFunction.CognitoEventProperty
TypeScript aws-cdk-lib » aws_sam » CfnFunction » CognitoEventProperty

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_sam as sam } from 'aws-cdk-lib';
const cognitoEventProperty: sam.CfnFunction.CognitoEventProperty = {
  trigger: 'trigger',
  userPool: 'userPool',
};

Properties

NameTypeDescription
triggerstring | string[] | IResolvableCfnFunction.CognitoEventProperty.Trigger.
userPoolstringCfnFunction.CognitoEventProperty.UserPool.

trigger

Type: string | string[] | IResolvable

CfnFunction.CognitoEventProperty.Trigger.


userPool

Type: string

CfnFunction.CognitoEventProperty.UserPool.