CfnAppInstanceUserProps Struct
Properties for defining a CfnAppInstanceUser.
| Source | |
|---|---|
| Type last changed |
Example
ts
// 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 cfnAppInstanceUserProps: chime.CfnAppInstanceUserProps = {
appInstanceArn: 'appInstanceArn',
appInstanceUserId: 'appInstanceUserId',
// the properties below are optional
expirationSettings: {
expirationCriterion: 'expirationCriterion',
expirationDays: 123,
},
metadata: 'metadata',
name: 'name',
tags: [{
key: 'key',
value: 'value',
}],
};
python
from aws_cdk import CfnTag
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_chime as chime
cfn_app_instance_user_props = chime.CfnAppInstanceUserProps(
app_instance_arn="appInstanceArn",
app_instance_user_id="appInstanceUserId",
# the properties below are optional
expiration_settings=chime.CfnAppInstanceUser.ExpirationSettingsProperty(
expiration_criterion="expirationCriterion",
expiration_days=123
),
metadata="metadata",
name="name",
tags=[CfnTag(
key="key",
value="value"
)]
)
java
// 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.*;
CfnAppInstanceUserProps cfnAppInstanceUserProps = CfnAppInstanceUserProps.builder()
.appInstanceArn("appInstanceArn")
.appInstanceUserId("appInstanceUserId")
// the properties below are optional
.expirationSettings(ExpirationSettingsProperty.builder()
.expirationCriterion("expirationCriterion")
.expirationDays(123)
.build())
.metadata("metadata")
.name("name")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Chime;
var cfnAppInstanceUserProps = new CfnAppInstanceUserProps {
AppInstanceArn = "appInstanceArn",
AppInstanceUserId = "appInstanceUserId",
// the properties below are optional
ExpirationSettings = new ExpirationSettingsProperty {
ExpirationCriterion = "expirationCriterion",
ExpirationDays = 123
},
Metadata = "metadata",
Name = "name",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
cfnAppInstanceUserProps := &CfnAppInstanceUserProps{
AppInstanceArn: jsii.String("appInstanceArn"),
AppInstanceUserId: jsii.String("appInstanceUserId"),
// the properties below are optional
ExpirationSettings: &ExpirationSettingsProperty{
ExpirationCriterion: jsii.String("expirationCriterion"),
ExpirationDays: jsii.Number(123),
},
Metadata: jsii.String("metadata"),
Name: jsii.String("name"),
Tags: []CfnTag{
&CfnTag{
Key: jsii.String("key"),
Value: jsii.String("value"),
},
},
}
Properties
appInstanceArnstringapp_instance_arnstrappInstanceArnStringAppInstanceArnstringAppInstanceArn*string required #appInstanceUserIdstringapp_instance_user_idstrappInstanceUserIdStringAppInstanceUserIdstringAppInstanceUserId*string required #expirationSettingsoptionalIResolvable | CfnAppInstanceUser.expiration_settingsoptionaltyping.Union[IResolvable, ExpirationSettingsProperty]expirationSettingsoptionalIResolvableExpirationSettingsoptionalIResolvableExpirationSettingsoptionalinterface{} #metadataoptionalstringmetadataoptionalstrmetadataoptionalStringMetadataoptionalstringMetadataoptional*string #