interface S3ActionProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.IoT.Mixins.CfnTopicRulePropsMixin.S3ActionProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsiot/mixins#CfnTopicRulePropsMixin_S3ActionProperty |
Java | software.amazon.awscdk.mixins.preview.services.iot.mixins.CfnTopicRulePropsMixin.S3ActionProperty |
Python | aws_cdk.mixins_preview.aws_iot.mixins.CfnTopicRulePropsMixin.S3ActionProperty |
TypeScript | @aws-cdk/mixins-preview » aws_iot » mixins » CfnTopicRulePropsMixin » 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 { mixins as iot_mixins } from '@aws-cdk/mixins-preview/aws-iot';
const s3ActionProperty: iot_mixins.CfnTopicRulePropsMixin.S3ActionProperty = {
bucketName: 'bucketName',
cannedAcl: 'cannedAcl',
key: 'key',
roleArn: 'roleArn',
};
Properties
| Name | Type | Description |
|---|---|---|
| bucket | string | The Amazon S3 bucket. |
| canned | string | The Amazon S3 canned ACL that controls access to the object identified by the object key. |
| key? | string | The object key. |
| role | string | The ARN of the IAM role that grants access. |
bucketName?
Type:
string
(optional)
The Amazon S3 bucket.
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 .
key?
Type:
string
(optional)
The object key.
For more information, see Actions, resources, and condition keys for Amazon S3 .
roleArn?
Type:
string
(optional)
The ARN of the IAM role that grants access.

.NET
Go
Java
Python
TypeScript