Class CfnServiceTemplate
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.proton.CfnServiceTemplate
- All Implemented Interfaces:
IInspectable
,ITaggable
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)",
date="2024-10-11T15:56:02.635Z")
@Stability(Stable)
public class CfnServiceTemplate
extends CfnResource
implements IInspectable, ITaggable
Create a service template.
The administrator creates a service template to define standardized infrastructure and an optional CI/CD service pipeline. Developers, in turn, select the service template from AWS Proton . If the selected service template includes a service pipeline definition, they provide a link to their source code repository. AWS Proton then deploys and manages the infrastructure defined by the selected service template. For more information, see AWS Proton templates in the AWS Proton User Guide .
Example:
// 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.*; CfnServiceTemplate cfnServiceTemplate = CfnServiceTemplate.Builder.create(this, "MyCfnServiceTemplate") .description("description") .displayName("displayName") .encryptionKey("encryptionKey") .name("name") .pipelineProvisioning("pipelineProvisioning") .tags(List.of(CfnTag.builder() .key("key") .value("value") .build())) .build();
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
Nested classes/interfaces inherited from interface software.amazon.awscdk.ITaggable
ITaggable.Jsii$Default, ITaggable.Jsii$Proxy
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The CloudFormation resource type name for this resource class. -
Constructor Summary
ModifierConstructorDescriptionprotected
CfnServiceTemplate
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CfnServiceTemplate
(software.amazon.jsii.JsiiObjectRef objRef) CfnServiceTemplate
(software.constructs.Construct scope, String id) CfnServiceTemplate
(software.constructs.Construct scope, String id, CfnServiceTemplateProps props) -
Method Summary
Modifier and TypeMethodDescriptionReturns the service template ARN.A description of the service template.The service template name as displayed in the developer interface.The customer provided service template encryption key that's used to encrypt data.getName()
The name of the service template.IfpipelineProvisioning
istrue
, a service pipeline is included in the service template.getTags()
Tag Manager which manages the tags for this resource.An object that includes the template bundle S3 bucket path and name for the new version of a service template.void
inspect
(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties
(Map<String, Object> props) void
setDescription
(String value) A description of the service template.void
setDisplayName
(String value) The service template name as displayed in the developer interface.void
setEncryptionKey
(String value) The customer provided service template encryption key that's used to encrypt data.void
The name of the service template.void
setPipelineProvisioning
(String value) IfpipelineProvisioning
istrue
, a service pipeline is included in the service template.void
setTagsRaw
(List<CfnTag> value) An object that includes the template bundle S3 bucket path and name for the new version of a service template.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validateProperties
Methods inherited from class software.amazon.awscdk.CfnRefElement
getRef
Methods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
Methods inherited from class software.constructs.Construct
getNode, isConstruct
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnServiceTemplate
protected CfnServiceTemplate(software.amazon.jsii.JsiiObjectRef objRef) -
CfnServiceTemplate
protected CfnServiceTemplate(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnServiceTemplate
@Stability(Stable) public CfnServiceTemplate(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable CfnServiceTemplateProps props) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.props
- Resource properties.
-
CfnServiceTemplate
@Stability(Stable) public CfnServiceTemplate(@NotNull software.constructs.Construct scope, @NotNull String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspect
in interfaceIInspectable
- Parameters:
inspector
- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderProperties
in classCfnResource
- Parameters:
props
- This parameter is required.
-
getAttrArn
Returns the service template ARN. -
getCfnProperties
- Overrides:
getCfnProperties
in classCfnResource
-
getTags
Tag Manager which manages the tags for this resource. -
getDescription
A description of the service template. -
setDescription
A description of the service template. -
getDisplayName
The service template name as displayed in the developer interface. -
setDisplayName
The service template name as displayed in the developer interface. -
getEncryptionKey
The customer provided service template encryption key that's used to encrypt data. -
setEncryptionKey
The customer provided service template encryption key that's used to encrypt data. -
getName
The name of the service template. -
setName
The name of the service template. -
getPipelineProvisioning
IfpipelineProvisioning
istrue
, a service pipeline is included in the service template. -
setPipelineProvisioning
IfpipelineProvisioning
istrue
, a service pipeline is included in the service template. -
getTagsRaw
An object that includes the template bundle S3 bucket path and name for the new version of a service template. -
setTagsRaw
An object that includes the template bundle S3 bucket path and name for the new version of a service template.
-