interface CfnChannelProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Chime.CfnChannelProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awschime#CfnChannelProps |
Java | software.amazon.awscdk.services.chime.CfnChannelProps |
Python | aws_cdk.aws_chime.CfnChannelProps |
TypeScript | aws-cdk-lib » aws_chime » CfnChannelProps |
Properties for defining a CfnChannel.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-chime-channel.html
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_chime as chime } from 'aws-cdk-lib';
const cfnChannelProps: chime.CfnChannelProps = {
appInstanceArn: 'appInstanceArn',
chimeBearer: 'chimeBearer',
name: 'name',
// the properties below are optional
channelId: 'channelId',
elasticChannelConfiguration: {
maximumSubChannels: 123,
minimumMembershipPercentage: 123,
targetMembershipsPerSubChannel: 123,
},
expirationSettings: {
expirationCriterion: 'expirationCriterion',
expirationDays: 123,
},
memberArns: ['memberArns'],
metadata: 'metadata',
mode: 'mode',
moderatorArns: ['moderatorArns'],
privacy: 'privacy',
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| app | string | The ARN of the AppInstance that contains the channel. |
| chime | string | The ARN of the AppInstanceUser or AppInstanceBot that performs every operation on this channel. |
| name | string | The name of the channel. |
| channel | string | The ID of the channel. |
| elastic | IResolvable | Elastic | The attributes required to configure and create an elastic channel. |
| expiration | IResolvable | Expiration | Settings that control the interval after which the channel is automatically deleted. |
| member | string[] | The ARNs of the AppInstanceUsers to add to the channel as members when it is created. |
| metadata? | string | The metadata of the channel. |
| mode? | string | The channel mode. |
| moderator | string[] | The ARNs of the AppInstanceUsers to add to the channel as moderators when it is created. |
| privacy? | string | The channel's privacy level. |
| tags? | Cfn[] | The tags for the channel. |
appInstanceArn
Type:
string
The ARN of the AppInstance that contains the channel.
chimeBearer
Type:
string
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.
name
Type:
string
The name of the channel.
channelId?
Type:
string
(optional)
The ID of the channel.
When omitted, the service generates a UUID.
elasticChannelConfiguration?
Type:
IResolvable | Elastic
(optional)
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.
expirationSettings?
Type:
IResolvable | Expiration
(optional)
Settings that control the interval after which the channel is automatically deleted.
memberArns?
Type:
string[]
(optional)
The ARNs of the AppInstanceUsers to add to the channel as members when it is created.
Cannot be combined with ElasticChannelConfiguration.
metadata?
Type:
string
(optional)
The metadata of the channel.
mode?
Type:
string
(optional)
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.
moderatorArns?
Type:
string[]
(optional)
The ARNs of the AppInstanceUsers to add to the channel as moderators when it is created.
privacy?
Type:
string
(optional)
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.
tags?
Type:
Cfn[]
(optional)
The tags for the channel.

.NET
Go
Java
Python
TypeScript