Class CfnUpdatePolicy.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.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
  • 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

    • getAutoScalingInstanceRefresh

      public final CfnAutoScalingInstanceRefresh getAutoScalingInstanceRefresh()
      Description copied from interface: CfnUpdatePolicy
      To specify how AWS CloudFormation handles instance refresh for an Auto Scaling group, use the AutoScalingInstanceRefresh policy.

      This policy triggers an instance refresh when certain properties of the Auto Scaling group change (such as launch template or mixed instances policy), replacing instances gradually while maintaining availability.

      Specified by:
      getAutoScalingInstanceRefresh in interface CfnUpdatePolicy
    • 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