@Stability(value=Stable)
public static interface CfnChannel.ChannelStorageProperty
extends software.amazon.jsii.JsiiSerializable
You may choose one of serviceManagedS3 , customerManagedS3 storage. If not specified, the default is serviceManagedS3 . This can't be changed after creation of the channel.
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.*;
Object serviceManagedS3;
ChannelStorageProperty channelStorageProperty = ChannelStorageProperty.builder()
.customerManagedS3(CustomerManagedS3Property.builder()
.bucket("bucket")
.roleArn("roleArn")
// the properties below are optional
.keyPrefix("keyPrefix")
.build())
.serviceManagedS3(serviceManagedS3)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnChannel.ChannelStorageProperty.Builder
A builder for
CfnChannel.ChannelStorageProperty |
static class |
CfnChannel.ChannelStorageProperty.Jsii$Proxy
An implementation for
CfnChannel.ChannelStorageProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnChannel.ChannelStorageProperty.Builder |
builder() |
default Object |
getCustomerManagedS3()
Used to store channel data in an S3 bucket that you manage.
|
default Object |
getServiceManagedS3()
Used to store channel data in an S3 bucket managed by AWS IoT Analytics .
|
@Stability(value=Stable) @Nullable default Object getCustomerManagedS3()
If customer managed storage is selected, the retentionPeriod parameter is ignored. You can't change the choice of S3 storage after the data store is created.
@Stability(value=Stable) @Nullable default Object getServiceManagedS3()
You can't change the choice of S3 storage after the data store is created.
@Stability(value=Stable) static CfnChannel.ChannelStorageProperty.Builder builder()
Copyright © 2022. All rights reserved.