-
Notifications
You must be signed in to change notification settings - Fork 17
/
awsiot_CfnTopicRule_S3ActionProperty.go
34 lines (31 loc) · 1.29 KB
/
awsiot_CfnTopicRule_S3ActionProperty.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
package awsiot
// Describes an action to write data to an Amazon S3 bucket.
//
// Example:
// // The code below shows an example of how to instantiate this type.
// // The values are placeholders you should change.
// import "github.com/aws/aws-cdk-go/awscdk"
//
// s3ActionProperty := &s3ActionProperty{
// bucketName: jsii.String("bucketName"),
// key: jsii.String("key"),
// roleArn: jsii.String("roleArn"),
//
// // the properties below are optional
// cannedAcl: jsii.String("cannedAcl"),
// }
//
type CfnTopicRule_S3ActionProperty struct {
// The Amazon S3 bucket.
BucketName *string `field:"required" json:"bucketName" yaml:"bucketName"`
// The object key.
//
// For more information, see [Actions, resources, and condition keys for Amazon S3](https://docs.aws.amazon.com/AmazonS3/latest/dev/list_amazons3.html) .
Key *string `field:"required" json:"key" yaml:"key"`
// The ARN of the IAM role that grants access.
RoleArn *string `field:"required" json:"roleArn" yaml:"roleArn"`
// The Amazon S3 canned ACL that controls access to the object identified by the object key.
//
// For more information, see [S3 canned ACLs](https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#canned-acl) .
CannedAcl *string `field:"optional" json:"cannedAcl" yaml:"cannedAcl"`
}