aws-cdk-lib.aws_sam.CfnFunction.EventSourceProperty

interface EventSourceProperty

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

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 eventSourceProperty: sam.CfnFunction.EventSourceProperty = {
  properties: {
    variables: {
      variablesKey: 'variables',
    },
  },
  type: 'type',
};

Properties

NameTypeDescription
propertiesIResolvable | AlexaSkillEventProperty | ApiEventProperty | CloudWatchEventEventProperty | CloudWatchLogsEventProperty | CognitoEventProperty | DynamoDBEventProperty | EventBridgeRuleEventProperty | S3EventProperty | SNSEventProperty | SQSEventProperty | KinesisEventProperty | ScheduleEventProperty | IoTRuleEventProperty | HttpApiEventPropertyCfnFunction.EventSourceProperty.Properties.
typestringCfnFunction.EventSourceProperty.Type.

properties

Type: IResolvable | AlexaSkillEventProperty | ApiEventProperty | CloudWatchEventEventProperty | CloudWatchLogsEventProperty | CognitoEventProperty | DynamoDBEventProperty | EventBridgeRuleEventProperty | S3EventProperty | SNSEventProperty | SQSEventProperty | KinesisEventProperty | ScheduleEventProperty | IoTRuleEventProperty | HttpApiEventProperty

CfnFunction.EventSourceProperty.Properties.


type

Type: string

CfnFunction.EventSourceProperty.Type.