CfnAppInstanceProps Struct
Properties for defining a CfnAppInstance.
| 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 cfnAppInstanceProps: chime.CfnAppInstanceProps = {
name: 'name',
// the properties below are optional
metadata: 'metadata',
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_props = chime.CfnAppInstanceProps(
name="name",
# the properties below are optional
metadata="metadata",
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.*;
CfnAppInstanceProps cfnAppInstanceProps = CfnAppInstanceProps.builder()
.name("name")
// the properties below are optional
.metadata("metadata")
.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 cfnAppInstanceProps = new CfnAppInstanceProps {
Name = "name",
// the properties below are optional
Metadata = "metadata",
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"
cfnAppInstanceProps := &CfnAppInstanceProps{
Name: jsii.String("name"),
// the properties below are optional
Metadata: jsii.String("metadata"),
Tags: []CfnTag{
&CfnTag{
Key: jsii.String("key"),
Value: jsii.String("value"),
},
},
}
Properties
metadataoptionalstringmetadataoptionalstrmetadataoptionalStringMetadataoptionalstringMetadataoptional*string #The metadata of the AppInstance.
Limited to a 1KB string in UTF-8.
The name of the AppInstance.