-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnTopicRule_S3ActionProperty.go
44 lines (41 loc) · 2 KB
/
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
34
35
36
37
38
39
40
41
42
43
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"),
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-s3action.html
//
type CfnTopicRule_S3ActionProperty struct {
// The Amazon S3 bucket.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-s3action.html#cfn-iot-topicrule-s3action-bucketname
//
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) .
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-s3action.html#cfn-iot-topicrule-s3action-key
//
Key *string `field:"required" json:"key" yaml:"key"`
// The ARN of the IAM role that grants access.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-s3action.html#cfn-iot-topicrule-s3action-rolearn
//
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) .
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-s3action.html#cfn-iot-topicrule-s3action-cannedacl
//
CannedAcl *string `field:"optional" json:"cannedAcl" yaml:"cannedAcl"`
}