Class CfnDeployment
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.launchwizard.CfnDeployment
- All Implemented Interfaces:
IInspectable
,ITaggableV2
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)",
date="2024-10-05T03:43:45.690Z")
@Stability(Stable)
public class CfnDeployment
extends CfnResource
implements IInspectable, ITaggableV2
Creates a deployment for the given workload.
Deployments created by this operation are not available in the Launch Wizard console to use the Clone deployment
action on.
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.launchwizard.*; CfnDeployment cfnDeployment = CfnDeployment.Builder.create(this, "MyCfnDeployment") .deploymentPatternName("deploymentPatternName") .name("name") .specifications(Map.of( "specificationsKey", "specifications")) .workloadName("workloadName") // the properties below are optional .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.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$Proxy
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The CloudFormation resource type name for this resource class. -
Constructor Summary
ModifierConstructorDescriptionprotected
CfnDeployment
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CfnDeployment
(software.amazon.jsii.JsiiObjectRef objRef) CfnDeployment
(software.constructs.Construct scope, String id, CfnDeploymentProps props) -
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the deployment.The time the deployment was created.The time the deployment was deleted.The ID of the deployment.The resource group of the deployment.The status of the deployment.Tag Manager which manages the tags for this resource.The name of the deployment pattern.getName()
The name of the deployment.The settings specified for the deployment.getTags()
Information about the tags attached to a deployment.The name of the workload.void
inspect
(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties
(Map<String, Object> props) void
setDeploymentPatternName
(String value) The name of the deployment pattern.void
The name of the deployment.void
setSpecifications
(Map<String, String> value) The settings specified for the deployment.void
setSpecifications
(IResolvable value) The settings specified for the deployment.void
Information about the tags attached to a deployment.void
setWorkloadName
(String value) The name of the workload.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
-
CfnDeployment
protected CfnDeployment(software.amazon.jsii.JsiiObjectRef objRef) -
CfnDeployment
protected CfnDeployment(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnDeployment
@Stability(Stable) public CfnDeployment(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnDeploymentProps 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. 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
The Amazon Resource Name (ARN) of the deployment. -
getAttrCreatedAt
The time the deployment was created. -
getAttrDeletedAt
The time the deployment was deleted. -
getAttrDeploymentId
The ID of the deployment. -
getAttrResourceGroup
The resource group of the deployment. -
getAttrStatus
The status of the deployment. -
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManager
in interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnProperties
in classCfnResource
-
getDeploymentPatternName
The name of the deployment pattern. -
setDeploymentPatternName
The name of the deployment pattern. -
getName
The name of the deployment. -
setName
The name of the deployment. -
getSpecifications
The settings specified for the deployment. -
setSpecifications
The settings specified for the deployment. -
setSpecifications
The settings specified for the deployment. -
getWorkloadName
The name of the workload. -
setWorkloadName
The name of the workload. -
getTags
Information about the tags attached to a deployment. -
setTags
Information about the tags attached to a deployment.
-