Interface CfnChannelProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnChannelProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-29T11:15:41.591Z")
@Stability(Stable)
public interface CfnChannelProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnChannel.
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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnChannelPropsstatic final classAn implementation forCfnChannelProps -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getChannelName
The name of the channel.- See Also:
-
getChannelStorage
Where channel data is stored.Returns union: either
IResolvableorCfnChannel.ChannelStorageProperty- See Also:
-
getRetentionPeriod
How long, in days, message data is kept for the channel.Returns union: either
IResolvableorCfnChannel.RetentionPeriodProperty- See Also:
-
getTags
Metadata which can be used to manage the channel.For more information, see Tag .
- See Also:
-
builder
- Returns:
- a
CfnChannelProps.BuilderofCfnChannelProps
-