interface S3ActionProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.IoT.CfnTopicRule.S3ActionProperty |
![]() | software.amazon.awscdk.services.iot.CfnTopicRule.S3ActionProperty |
![]() | aws_cdk.aws_iot.CfnTopicRule.S3ActionProperty |
![]() | @aws-cdk/aws-iot » CfnTopicRule » S3ActionProperty |
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 * as iot from '@aws-cdk/aws-iot';
const s3ActionProperty: iot.CfnTopicRule.S3ActionProperty = {
bucketName: 'bucketName',
key: 'key',
roleArn: 'roleArn',
// the properties below are optional
cannedAcl: 'cannedAcl',
};
Properties
Name | Type | Description |
---|---|---|
bucket | string | The Amazon S3 bucket. |
key | string | The object key. |
role | string | The ARN of the IAM role that grants access. |
canned | string | The Amazon S3 canned ACL that controls access to the object identified by the object key. |
bucketName
Type:
string
The Amazon S3 bucket.
key
Type:
string
The object key.
For more information, see Actions, resources, and condition keys for Amazon S3 .
roleArn
Type:
string
The ARN of the IAM role that grants access.
cannedAcl?
Type:
string
(optional)
The Amazon S3 canned ACL that controls access to the object identified by the object key.
For more information, see S3 canned ACLs .