Class CfnUpdatePolicy.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.core.CfnUpdatePolicy.Jsii$Proxy
All Implemented Interfaces:
CfnUpdatePolicy, software.amazon.jsii.JsiiSerializable
Enclosing interface:
CfnUpdatePolicy

@Stability(Stable) @Internal public static final class CfnUpdatePolicy.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnUpdatePolicy
An implementation for CfnUpdatePolicy
  • 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.amazon.awscdk.core.CfnUpdatePolicy

    CfnUpdatePolicy.Builder, CfnUpdatePolicy.Jsii$Proxy
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    Constructor that initializes the object based on literal property values passed by the CfnUpdatePolicy.Builder.
    protected
    Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
    Constructor that initializes the object based on values retrieved from the JsiiObject.
  • Method Summary

    Modifier and Type
    Method
    Description
    com.fasterxml.jackson.databind.JsonNode
     
    final boolean
     
    Specifies whether an Auto Scaling group and the instances it contains are replaced during an update.
    To specify how AWS CloudFormation handles rolling updates for an Auto Scaling group, use the AutoScalingRollingUpdate policy.
    To specify how AWS CloudFormation handles updates for the MinSize, MaxSize, and DesiredCapacity properties when the AWS::AutoScaling::AutoScalingGroup resource has an associated scheduled action, use the AutoScalingScheduledAction policy.
    To perform an AWS CodeDeploy deployment when the version changes on an AWS::Lambda::Alias resource, use the CodeDeployLambdaAliasUpdate update policy.
    final Boolean
    To upgrade an Amazon ES domain to a new version of Elasticsearch rather than replacing the entire AWS::Elasticsearch::Domain resource, use the EnableVersionUpgrade update policy.
    final Boolean
    To modify a replication group's shards by adding or removing shards, rather than replacing the entire AWS::ElastiCache::ReplicationGroup resource, use the UseOnlineResharding update policy.
    final int
     

    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, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • 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

      protected Jsii$Proxy(CfnUpdatePolicy.Builder builder)
      Constructor that initializes the object based on literal property values passed by the CfnUpdatePolicy.Builder.
  • Method Details

    • getAutoScalingReplacingUpdate

      public final CfnAutoScalingReplacingUpdate getAutoScalingReplacingUpdate()
      Description copied from interface: CfnUpdatePolicy
      Specifies whether an Auto Scaling group and the instances it contains are replaced during an update.

      During replacement, AWS CloudFormation retains the old group until it finishes creating the new one. If the update fails, AWS CloudFormation can roll back to the old Auto Scaling group and delete the new Auto Scaling group.

      Specified by:
      getAutoScalingReplacingUpdate in interface CfnUpdatePolicy
    • getAutoScalingRollingUpdate

      public final CfnAutoScalingRollingUpdate getAutoScalingRollingUpdate()
      Description copied from interface: CfnUpdatePolicy
      To specify how AWS CloudFormation handles rolling updates for an Auto Scaling group, use the AutoScalingRollingUpdate policy.

      Rolling updates enable you to specify whether AWS CloudFormation updates instances that are in an Auto Scaling group in batches or all at once.

      Specified by:
      getAutoScalingRollingUpdate in interface CfnUpdatePolicy
    • getAutoScalingScheduledAction

      public final CfnAutoScalingScheduledAction getAutoScalingScheduledAction()
      Description copied from interface: CfnUpdatePolicy
      To specify how AWS CloudFormation handles updates for the MinSize, MaxSize, and DesiredCapacity properties when the AWS::AutoScaling::AutoScalingGroup resource has an associated scheduled action, use the AutoScalingScheduledAction policy.
      Specified by:
      getAutoScalingScheduledAction in interface CfnUpdatePolicy
    • getCodeDeployLambdaAliasUpdate

      public final CfnCodeDeployLambdaAliasUpdate getCodeDeployLambdaAliasUpdate()
      Description copied from interface: CfnUpdatePolicy
      To perform an AWS CodeDeploy deployment when the version changes on an AWS::Lambda::Alias resource, use the CodeDeployLambdaAliasUpdate update policy.
      Specified by:
      getCodeDeployLambdaAliasUpdate in interface CfnUpdatePolicy
    • getEnableVersionUpgrade

      public final Boolean getEnableVersionUpgrade()
      Description copied from interface: CfnUpdatePolicy
      To upgrade an Amazon ES domain to a new version of Elasticsearch rather than replacing the entire AWS::Elasticsearch::Domain resource, use the EnableVersionUpgrade update policy.
      Specified by:
      getEnableVersionUpgrade in interface CfnUpdatePolicy
    • getUseOnlineResharding

      public final Boolean getUseOnlineResharding()
      Description copied from interface: CfnUpdatePolicy
      To modify a replication group's shards by adding or removing shards, rather than replacing the entire AWS::ElastiCache::ReplicationGroup resource, use the UseOnlineResharding update policy.
      Specified by:
      getUseOnlineResharding in interface CfnUpdatePolicy
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object