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.m2.CfnDeployment
- All Implemented Interfaces:
IInspectable,IEnvironmentAware,IDeploymentRef,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.120.0 (build 192dc88)",
date="2025-12-12T17:54:16.960Z")
@Stability(Stable)
public class CfnDeployment
extends CfnResource
implements IInspectable, IDeploymentRef
AWS Mainframe Modernization Service (Managed Runtime Environment experience) will no longer be open to new customers starting on November 7, 2025.
If you would like to use the service, please sign up prior to November 7, 2025. For capabilities similar to AWS Mainframe Modernization Service (Managed Runtime Environment experience) explore AWS Mainframe Modernization Service (Self-Managed Experience). Existing customers can continue to use the service as normal. For more information, see AWS Mainframe Modernization availability change .
Creates and starts a deployment to deploy an application into a runtime environment.
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.m2.*;
CfnDeployment cfnDeployment = CfnDeployment.Builder.create(this, "MyCfnDeployment")
.applicationId("applicationId")
.applicationVersion(123)
.environmentId("environmentId")
.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.interfaces.m2.IDeploymentRef
IDeploymentRef.Jsii$Default, IDeploymentRef.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.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) Create a newAWS::M2::Deployment. -
Method Summary
Modifier and TypeMethodDescriptionThe unique identifier of the application.The version of the application.The unique identifier of the deployment.The current status of the deployment.A reference to a Deployment resource.The unique identifier of the runtime environment.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.static BooleanChecks whether the given object is a CfnDeployment.renderProperties(Map<String, Object> props) voidsetApplicationId(String value) The unique identifier of the application.voidsetApplicationVersion(Number value) The version of the application.voidsetEnvironmentId(String value) The unique identifier of the runtime environment.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getEnv, 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.awscdk.interfaces.IEnvironmentAware
getEnvMethods 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) Create a newAWS::M2::Deployment.- 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
-
isCfnDeployment
Checks whether the given object is a CfnDeployment.- Parameters:
x- This parameter is required.
-
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.
-
getAttrDeploymentId
The unique identifier of the deployment. -
getAttrStatus
The current status of the deployment. -
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getDeploymentRef
A reference to a Deployment resource.- Specified by:
getDeploymentRefin interfaceIDeploymentRef
-
getApplicationId
The unique identifier of the application. -
setApplicationId
The unique identifier of the application. -
getApplicationVersion
The version of the application. -
setApplicationVersion
The version of the application. -
getEnvironmentId
The unique identifier of the runtime environment. -
setEnvironmentId
The unique identifier of the runtime environment.
-