CfnEnvironmentTemplateProps
Struct External
Properties for defining a CfnEnvironmentTemplate.
| 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_proton as proton } from 'aws-cdk-lib';
const cfnEnvironmentTemplateProps: proton.CfnEnvironmentTemplateProps = {
description: 'description',
displayName: 'displayName',
encryptionKey: 'encryptionKey',
name: 'name',
provisioning: 'provisioning',
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_proton as proton
cfn_environment_template_props = proton.CfnEnvironmentTemplateProps(
description="description",
display_name="displayName",
encryption_key="encryptionKey",
name="name",
provisioning="provisioning",
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.proton.*;
CfnEnvironmentTemplateProps cfnEnvironmentTemplateProps = CfnEnvironmentTemplateProps.builder()
.description("description")
.displayName("displayName")
.encryptionKey("encryptionKey")
.name("name")
.provisioning("provisioning")
.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.Proton;
var cfnEnvironmentTemplateProps = new CfnEnvironmentTemplateProps {
Description = "description",
DisplayName = "displayName",
EncryptionKey = "encryptionKey",
Name = "name",
Provisioning = "provisioning",
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"
cfnEnvironmentTemplateProps := &CfnEnvironmentTemplateProps{
Description: jsii.String("description"),
DisplayName: jsii.String("displayName"),
EncryptionKey: jsii.String("encryptionKey"),
Name: jsii.String("name"),
Provisioning: jsii.String("provisioning"),
Tags: []CfnTag{
&CfnTag{
Key: jsii.String("key"),
Value: jsii.String("value"),
},
},
}
Properties
descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string #A description of the environment template.
displayNameoptionalstringdisplay_nameoptionalstrdisplayNameoptionalStringDisplayNameoptionalstringDisplayNameoptional*string #The name of the environment template as displayed in the developer interface.
encryptionKeyoptionalstringencryption_keyoptionalstrencryptionKeyoptionalStringEncryptionKeyoptionalstringEncryptionKeyoptional*string #The customer provided encryption key for the environment template.
The name of the environment template.
provisioningoptionalstringprovisioningoptionalstrprovisioningoptionalStringProvisioningoptionalstringProvisioningoptional*string #When included, indicates that the environment template is for customer provisioned and managed infrastructure.
tagsoptionalCfnTag[]tagsoptionaltyping.List[CfnTag]tagsoptionalList<CfnTag>TagsoptionalCfnTag[]Tagsoptional*[]CfnTag #An optional list of metadata items that you can associate with the AWS Proton environment template.
A tag is a key-value pair.
For more information, see AWS Proton resources and tagging in the AWS Proton User Guide .