interface S3ActionProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.IoT.CfnTopicRulePropsMixin.S3ActionProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsiot#CfnTopicRulePropsMixin_S3ActionProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.iot.CfnTopicRulePropsMixin.S3ActionProperty |
Python | aws_cdk.cfn_property_mixins.aws_iot.CfnTopicRulePropsMixin.S3ActionProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_iot » 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 { aws_iot as iot } from '@aws-cdk/cfn-property-mixins';
const s3ActionProperty: iot.CfnTopicRulePropsMixin.S3ActionProperty = {
bucketName: 'bucketName',
cannedAcl: 'cannedAcl',
key: 'key',
roleArn: 'roleArn',
};
Properties
| Name | Type | Description |
|---|---|---|
| bucket | string | IBucket | 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 | IRole | The ARN of the IAM role that grants access. |
bucketName?
Type:
string | IBucket
(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 | IRole
(optional)
The ARN of the IAM role that grants access.

.NET
Go
Java
Python
TypeScript