# EventSourceProperty

- Source: Generated code
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

```ts
// 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: {
    skillId: 'skillId',
  },
  type: 'type',
};
```

## Properties

- `properties`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnFunction.AlexaSkillEventProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_sam.CfnFunction.AlexaSkillEventProperty.html) | [CfnFunction.ApiEventProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_sam.CfnFunction.ApiEventProperty.html) | [CfnFunction.CloudWatchEventEventProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_sam.CfnFunction.CloudWatchEventEventProperty.html) | [CfnFunction.CloudWatchLogsEventProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_sam.CfnFunction.CloudWatchLogsEventProperty.html) | [CfnFunction.CognitoEventProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_sam.CfnFunction.CognitoEventProperty.html) | [CfnFunction.DynamoDBEventProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_sam.CfnFunction.DynamoDBEventProperty.html) | [CfnFunction.EventBridgeRuleEventProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_sam.CfnFunction.EventBridgeRuleEventProperty.html) | [CfnFunction.HttpApiEventProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_sam.CfnFunction.HttpApiEventProperty.html) | [CfnFunction.IoTRuleEventProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_sam.CfnFunction.IoTRuleEventProperty.html) | [CfnFunction.KinesisEventProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_sam.CfnFunction.KinesisEventProperty.html) | [CfnFunction.S3EventProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_sam.CfnFunction.S3EventProperty.html) | [CfnFunction.ScheduleEventProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_sam.CfnFunction.ScheduleEventProperty.html) | [CfnFunction.SNSEventProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_sam.CfnFunction.SNSEventProperty.html) | [CfnFunction.SQSEventProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_sam.CfnFunction.SQSEventProperty.html) (required)

- `type`: string (required)
