aws-cdk-lib.aws_iotanalytics.CfnDatastore.CustomerManagedS3Property

interface CustomerManagedS3Property

LanguageType name
.NETAmazon.CDK.AWS.IoTAnalytics.CfnDatastore.CustomerManagedS3Property
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsiotanalytics#CfnDatastore_CustomerManagedS3Property
Javasoftware.amazon.awscdk.services.iotanalytics.CfnDatastore.CustomerManagedS3Property
Pythonaws_cdk.aws_iotanalytics.CfnDatastore.CustomerManagedS3Property
TypeScript aws-cdk-lib » aws_iotanalytics » CfnDatastore » CustomerManagedS3Property

S3-customer-managed;

When you choose customer-managed storage, the retentionPeriod parameter is ignored. You can't change the choice of Amazon S3 storage after your data store is created.

Example

// 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.CfnDatastore.CustomerManagedS3Property = {
  bucket: 'bucket',
  roleArn: 'roleArn',

  // the properties below are optional
  keyPrefix: 'keyPrefix',
};

Properties

NameTypeDescription
bucketstringThe name of the Amazon S3 bucket where your data is stored.
roleArnstringThe ARN of the role that grants AWS IoT Analytics permission to interact with your Amazon S3 resources.
keyPrefix?string(Optional) The prefix used to create the keys of the data store data objects.

bucket

Type: string

The name of the Amazon S3 bucket where your data is stored.


roleArn

Type: string

The ARN of the role that grants AWS IoT Analytics permission to interact with your Amazon S3 resources.


keyPrefix?

Type: string (optional)

(Optional) The prefix used to create the keys of the data store data objects.

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