CfnServiceTemplateProps
Struct External
Properties for defining a CfnServiceTemplate.
| 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 cfnServiceTemplateProps: proton.CfnServiceTemplateProps = {
description: 'description',
displayName: 'displayName',
encryptionKey: 'encryptionKey',
name: 'name',
pipelineProvisioning: 'pipelineProvisioning',
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_service_template_props = proton.CfnServiceTemplateProps(
description="description",
display_name="displayName",
encryption_key="encryptionKey",
name="name",
pipeline_provisioning="pipelineProvisioning",
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.*;
CfnServiceTemplateProps cfnServiceTemplateProps = CfnServiceTemplateProps.builder()
.description("description")
.displayName("displayName")
.encryptionKey("encryptionKey")
.name("name")
.pipelineProvisioning("pipelineProvisioning")
.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 cfnServiceTemplateProps = new CfnServiceTemplateProps {
Description = "description",
DisplayName = "displayName",
EncryptionKey = "encryptionKey",
Name = "name",
PipelineProvisioning = "pipelineProvisioning",
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"
cfnServiceTemplateProps := &CfnServiceTemplateProps{
Description: jsii.String("description"),
DisplayName: jsii.String("displayName"),
EncryptionKey: jsii.String("encryptionKey"),
Name: jsii.String("name"),
PipelineProvisioning: jsii.String("pipelineProvisioning"),
Tags: []CfnTag{
&CfnTag{
Key: jsii.String("key"),
Value: jsii.String("value"),
},
},
}
Properties
descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string #A description of the service template.
displayNameoptionalstringdisplay_nameoptionalstrdisplayNameoptionalStringDisplayNameoptionalstringDisplayNameoptional*string #The service template name as displayed in the developer interface.
encryptionKeyoptionalstringencryption_keyoptionalstrencryptionKeyoptionalStringEncryptionKeyoptionalstringEncryptionKeyoptional*string #The customer provided service template encryption key that's used to encrypt data.
The name of the service template.
pipelineProvisioningoptionalstringpipeline_provisioningoptionalstrpipelineProvisioningoptionalStringPipelineProvisioningoptionalstringPipelineProvisioningoptional*string #If `pipelineProvisioning` is `true` , a service pipeline is included in the service template.
Otherwise, a service pipeline isn't included in the service template.