Class CfnTopicRule.S3ActionProperty
Describes an action to write data to an Amazon S3 bucket.
Inheritance
System.Object
CfnTopicRule.S3ActionProperty
Implements
Namespace: Amazon.CDK.AWS.IoT
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class S3ActionProperty : Object, CfnTopicRule.IS3ActionProperty
Syntax (vb)
Public Class S3ActionProperty
Inherits Object
Implements CfnTopicRule.IS3ActionProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.IoT;
var s3ActionProperty = new S3ActionProperty {
BucketName = "bucketName",
Key = "key",
RoleArn = "roleArn",
// the properties below are optional
CannedAcl = "cannedAcl"
};
Synopsis
Constructors
S3ActionProperty() |
Properties
BucketName | The Amazon S3 bucket. |
CannedAcl | The Amazon S3 canned ACL that controls access to the object identified by the object key. |
Key | The object key. |
RoleArn | The ARN of the IAM role that grants access. |
Constructors
S3ActionProperty()
public S3ActionProperty()
Properties
BucketName
The Amazon S3 bucket.
public string BucketName { get; set; }
Property Value
System.String
Remarks
CannedAcl
The Amazon S3 canned ACL that controls access to the object identified by the object key.
public string CannedAcl { get; set; }
Property Value
System.String
Remarks
Key
The object key.
public string Key { get; set; }
Property Value
System.String
Remarks
RoleArn
The ARN of the IAM role that grants access.
public string RoleArn { get; set; }
Property Value
System.String