Skip to content
v2.278.0

CustomerManagedS3Property ​

Struct External

Used to store channel data in an S3 bucket that you manage.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_iotanalytics as iotanalytics } from 'aws-cdk-lib';
const customerManagedS3Property: iotanalytics.CfnChannel.CustomerManagedS3Property = {
  bucket: 'bucket',
  roleArn: 'roleArn',

  // the properties below are optional
  keyPrefix: 'keyPrefix',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_iotanalytics as iotanalytics

customer_managed_s3_property = iotanalytics.CfnChannel.CustomerManagedS3Property(
    bucket="bucket",
    role_arn="roleArn",

    # the properties below are optional
    key_prefix="keyPrefix"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.iotanalytics.*;

CustomerManagedS3Property customerManagedS3Property = CustomerManagedS3Property.builder()
        .bucket("bucket")
        .roleArn("roleArn")

        // the properties below are optional
        .keyPrefix("keyPrefix")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.IoTAnalytics;

var customerManagedS3Property = new CustomerManagedS3Property {
    Bucket = "bucket",
    RoleArn = "roleArn",

    // the properties below are optional
    KeyPrefix = "keyPrefix"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// 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"

customerManagedS3Property := &CustomerManagedS3Property{
	Bucket: jsii.String("bucket"),
	RoleArn: jsii.String("roleArn"),

	// the properties below are optional
	KeyPrefix: jsii.String("keyPrefix"),
}

Properties ​

bucketstringbucketstrbucketStringBucketstringBucket*string required #
The name of the S3 bucket in which channel data is stored.
keyPrefixoptionalstringkey_prefixoptionalstrkeyPrefixoptionalStringKeyPrefixoptionalstringKeyPrefixoptional*string #
(Optional) The prefix used to create the keys of the channel data objects.

Each object in an S3 bucket has a key that is its unique identifier within the bucket (each object in a bucket has exactly one key). The prefix must end with a forward slash (/).

roleArnstringrole_arnstrroleArnStringRoleArnstringRoleArn*string required #
The ARN of the role that grants ITA permission to interact with your Amazon S3 resources.