stale-zoo-97300
07/17/2023, 5:40 PMsalmon-account-74572
07/17/2023, 6:06 PM# Revised example with AWS Native provider
resources:
- name: my-bucket
type: aws-native:s3ucket:Bucket
args:
acl: "private"
bucket: "my-native-bucket"
- name: my-topic
type: aws-native:sns:topic:Topic
args:
name: "MyNativeTopic"
- name: my-bucket-notification
type: aws-native:s3/bucketNotification:BucketNotification
args:
bucket: "my-native-bucket"
topicConfigurations:
- id: my-topic-configuration
topicArn: $my-topic.arn
events:
- 's3:ObjectCreated:*'
stale-zoo-97300
07/17/2023, 7:35 PMsalmon-account-74572
07/17/2023, 8:26 PM