@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:39.933Z") @Stability(value=Stable) public interface CfnChannelProps extends software.amazon.jsii.JsiiSerializable
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;
CfnChannelProps cfnChannelProps = CfnChannelProps.builder()
.channelName("channelName")
.channelStorage(ChannelStorageProperty.builder()
.customerManagedS3(CustomerManagedS3Property.builder()
.bucket("bucket")
.roleArn("roleArn")
// the properties below are optional
.keyPrefix("keyPrefix")
.build())
.serviceManagedS3(serviceManagedS3)
.build())
.retentionPeriod(RetentionPeriodProperty.builder()
.numberOfDays(123)
.unlimited(false)
.build())
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnChannelProps.Builder
A builder for
CfnChannelProps |
static class |
CfnChannelProps.Jsii$Proxy
An implementation for
CfnChannelProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnChannelProps.Builder |
builder() |
default String |
getChannelName()
The name of the channel.
|
default Object |
getChannelStorage()
Where channel data is stored.
|
default Object |
getRetentionPeriod()
How long, in days, message data is kept for the channel.
|
default List<CfnTag> |
getTags()
Metadata which can be used to manage the channel.
|
@Stability(value=Stable) @Nullable default String getChannelName()
@Stability(value=Stable) @Nullable default Object getChannelStorage()
@Stability(value=Stable) @Nullable default Object getRetentionPeriod()
@Stability(value=Stable) @Nullable default List<CfnTag> getTags()
For more information, see Tag .
@Stability(value=Stable) static CfnChannelProps.Builder builder()
CfnChannelProps.Builder of CfnChannelPropsCopyright © 2022. All rights reserved.