Class ForceNewDeployment.Jsii$Proxy
- All Implemented Interfaces:
ForceNewDeployment,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
ForceNewDeployment
ForceNewDeployment-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.ecs.ForceNewDeployment
ForceNewDeployment.Builder, ForceNewDeployment.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(ForceNewDeployment.Builder builder) Constructor that initializes the object based on literal property values passed by theForceNewDeployment.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theForceNewDeployment.Builder.
-
-
Method Details
-
getEnabled
Description copied from interface:ForceNewDeploymentWhether to enable the force-new-deployment mechanism for the service.Setting this to
trueenables the mechanism, but on its own it does not force a new deployment on everycdk deploy: CloudFormation only starts a new deployment when it detects a change in the template, and the signal for that is thenoncevalue changing between deployments. Ifnonceis not provided or its value stays the same across deployments, no new deployment is forced. When set tofalse, theForceNewDeploymentproperty is rendered withEnableForceNewDeployment: false.To force a new deployment on every
cdk deploy, provide anoncewith a unique, time-varying value such as a timestamp, random string, or sequence number (e.g.Date.now().toString()).- Specified by:
getEnabledin interfaceForceNewDeployment- See Also:
-
getNonce
Description copied from interface:ForceNewDeploymentA unique nonce value that signals Amazon ECS to start a new deployment.When you change this value, it triggers a new deployment even though no other service parameters have changed. Use a stable, time-varying value like a commit hash, image digest, or version string.
If not provided and
enabledistrue, onlyEnableForceNewDeploymentis set without a nonce.Must be between 1 and 255 characters.
Default: - no nonce
- Specified by:
getNoncein interfaceForceNewDeployment
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-