@Stability(value=Stable)
public static interface CfnDatastore.CustomerManagedS3StorageProperty
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.iotanalytics.*;
CustomerManagedS3StorageProperty customerManagedS3StorageProperty = CustomerManagedS3StorageProperty.builder()
.bucket("bucket")
// the properties below are optional
.keyPrefix("keyPrefix")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnDatastore.CustomerManagedS3StorageProperty.Builder
A builder for
CfnDatastore.CustomerManagedS3StorageProperty |
static class |
CfnDatastore.CustomerManagedS3StorageProperty.Jsii$Proxy
An implementation for
CfnDatastore.CustomerManagedS3StorageProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnDatastore.CustomerManagedS3StorageProperty.Builder |
builder() |
String |
getBucket()
The name of the Amazon S3 bucket where your data is stored.
|
default String |
getKeyPrefix()
(Optional) The prefix used to create the keys of the data store data objects.
|
@Stability(value=Stable) @NotNull String getBucket()
@Stability(value=Stable) @Nullable default String getKeyPrefix()
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 (/).
@Stability(value=Stable) static CfnDatastore.CustomerManagedS3StorageProperty.Builder builder()
Copyright © 2022. All rights reserved.