Interface CfnChannelProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnChannelProps.Jsii$Proxy
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.chime.*;
CfnChannelProps cfnChannelProps = CfnChannelProps.builder()
.appInstanceArn("appInstanceArn")
.chimeBearer("chimeBearer")
.name("name")
// the properties below are optional
.channelId("channelId")
.elasticChannelConfiguration(ElasticChannelConfigurationProperty.builder()
.maximumSubChannels(123)
.minimumMembershipPercentage(123)
.targetMembershipsPerSubChannel(123)
.build())
.expirationSettings(ExpirationSettingsProperty.builder()
.expirationCriterion("expirationCriterion")
.expirationDays(123)
.build())
.memberArns(List.of("memberArns"))
.metadata("metadata")
.mode("mode")
.moderatorArns(List.of("moderatorArns"))
.privacy("privacy")
.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
Modifier and TypeMethodDescriptionstatic CfnChannelProps.Builderbuilder()The ARN of the AppInstance that contains the channel.default StringThe ID of the channel.The ARN of the AppInstanceUser or AppInstanceBot that performs every operation on this channel.default ObjectThe attributes required to configure and create an elastic channel.default ObjectSettings that control the interval after which the channel is automatically deleted.The ARNs of the AppInstanceUsers to add to the channel as members when it is created.default StringThe metadata of the channel.default StringgetMode()The channel mode.The ARNs of the AppInstanceUsers to add to the channel as moderators when it is created.getName()The name of the channel.default StringThe channel's privacy level.getTags()The tags for the channel.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAppInstanceArn
The ARN of the AppInstance that contains the channel.- See Also:
-
getChimeBearer
The ARN of the AppInstanceUser or AppInstanceBot that performs every operation on this channel.Whichever of the two creates a channel automatically becomes one of its moderators, so the same ARN can subsequently read, update and delete the channel.
- See Also:
-
getName
The name of the channel.- See Also:
-
getChannelId
The ID of the channel.When omitted, the service generates a UUID.
- See Also:
-
getElasticChannelConfiguration
The attributes required to configure and create an elastic channel.An elastic channel must use RESTRICTED mode, cannot be created with MemberArns, and is available only in some regions.
Returns union: either
IResolvableorCfnChannel.ElasticChannelConfigurationProperty- See Also:
-
getExpirationSettings
Settings that control the interval after which the channel is automatically deleted.Returns union: either
IResolvableorCfnChannel.ExpirationSettingsProperty- See Also:
-
getMemberArns
The ARNs of the AppInstanceUsers to add to the channel as members when it is created.Cannot be combined with ElasticChannelConfiguration.
- See Also:
-
getMetadata
The metadata of the channel.- See Also:
-
getMode
The channel mode.In an UNRESTRICTED channel, members can add themselves and other members; in a RESTRICTED channel, only administrators and moderators can add members. An elastic channel must be RESTRICTED.
- See Also:
-
getModeratorArns
The ARNs of the AppInstanceUsers to add to the channel as moderators when it is created.- See Also:
-
getPrivacy
The channel's privacy level.A PUBLIC channel is discoverable by anyone in the AppInstance; a PRIVATE channel is not. Privacy cannot be changed after creation.
- See Also:
-
getTags
The tags for the channel.- See Also:
-
builder
- Returns:
- a
CfnChannelProps.BuilderofCfnChannelProps
-