CfnDictionaryProps Struct
Properties for defining a CfnDictionary.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_elementalinference as elementalinference } from 'aws-cdk-lib';
const cfnDictionaryProps: elementalinference.CfnDictionaryProps = {
language: 'language',
name: 'name',
// the properties below are optional
entries: 'entries',
tags: {
tagsKey: 'tags',
},
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_elementalinference as elementalinference
cfn_dictionary_props = elementalinference.CfnDictionaryProps(
language="language",
name="name",
# the properties below are optional
entries="entries",
tags={
"tags_key": "tags"
}
)
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.elementalinference.*;
CfnDictionaryProps cfnDictionaryProps = CfnDictionaryProps.builder()
.language("language")
.name("name")
// the properties below are optional
.entries("entries")
.tags(Map.of(
"tagsKey", "tags"))
.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.ElementalInference;
var cfnDictionaryProps = new CfnDictionaryProps {
Language = "language",
Name = "name",
// the properties below are optional
Entries = "entries",
Tags = new Dictionary<string, string> {
{ "tagsKey", "tags" }
}
};
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"
cfnDictionaryProps := &CfnDictionaryProps{
Language: jsii.String("language"),
Name: jsii.String("name"),
// the properties below are optional
Entries: jsii.String("entries"),
Tags: map[string]*string{
"tagsKey": jsii.String("tags"),
},
}