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,IDeploymentRef,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-29T11:15:42.810Z")
@Stability(Stable)
public class CfnDeployment
extends CfnResource
implements IInspectable, IDeploymentRef, 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")
.workloadName("workloadName")
// the properties below are optional
.specifications(Map.of(
"specificationsKey", "specifications"))
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.services.launchwizard.IDeploymentRef
IDeploymentRef.Jsii$Default, IDeploymentRef.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnDeployment(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnDeployment(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.A reference to a Deployment resource.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.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidsetDeploymentPatternName(String value) The name of the deployment pattern.voidThe name of the deployment.voidsetSpecifications(Map<String, String> value) The settings specified for the deployment.voidsetSpecifications(IResolvable value) The settings specified for the deployment.voidInformation about the tags attached to a deployment.voidsetWorkloadName(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, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNodeMethods 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:
inspectin 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:
renderPropertiesin 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:
getCdkTagManagerin interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getDeploymentRef
A reference to a Deployment resource.- Specified by:
getDeploymentRefin interfaceIDeploymentRef
-
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. -
getWorkloadName
The name of the workload. -
setWorkloadName
The name of the workload. -
getSpecifications
The settings specified for the deployment.Returns union: either Mapinvalid input: '<'String,
String> orIResolvable -
setSpecifications
The settings specified for the deployment. -
setSpecifications
The settings specified for the deployment. -
getTags
Information about the tags attached to a deployment. -
setTags
Information about the tags attached to a deployment.
-