interface CustomerManagedS3StorageProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.IoTAnalytics.CfnDatastore.CustomerManagedS3StorageProperty |
Java | software.amazon.awscdk.services.iotanalytics.CfnDatastore.CustomerManagedS3StorageProperty |
Python | aws_cdk.aws_iotanalytics.CfnDatastore.CustomerManagedS3StorageProperty |
TypeScript | @aws-cdk/aws-iotanalytics » CfnDatastore » CustomerManagedS3StorageProperty |
Amazon 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 * as iotanalytics from '@aws-cdk/aws-iotanalytics';
const customerManagedS3StorageProperty: iotanalytics.CfnDatastore.CustomerManagedS3StorageProperty = {
bucket: 'bucket',
// the properties below are optional
keyPrefix: 'keyPrefix',
};
Properties
Name | Type | Description |
---|---|---|
bucket | string | The name of the Amazon S3 bucket where your data is stored. |
key | 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.
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 (/).