Show / Hide Table of Contents

Class UpdatePolicy

How existing instances should be updated.

Inheritance
System.Object
UpdatePolicy
Namespace: Amazon.CDK.AWS.AutoScaling
Assembly: Amazon.CDK.AWS.AutoScaling.dll
Syntax (csharp)
public abstract class UpdatePolicy : DeputyBase
Syntax (vb)
Public MustInherit Class UpdatePolicy
    Inherits DeputyBase
Remarks

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.AutoScaling;

var updatePolicy = UpdatePolicy.ReplacingUpdate();

Synopsis

Constructors

UpdatePolicy()
UpdatePolicy(ByRefValue)

Used by jsii to construct an instance of this class from a Javascript-owned object reference

UpdatePolicy(DeputyBase.DeputyProps)

Used by jsii to construct an instance of this class from DeputyProps

Methods

ReplacingUpdate()

Create a new AutoScalingGroup and switch over to it.

RollingUpdate(IRollingUpdateOptions)

Replace the instances in the AutoScalingGroup one by one, or in batches.

Constructors

UpdatePolicy()

protected UpdatePolicy()

UpdatePolicy(ByRefValue)

Used by jsii to construct an instance of this class from a Javascript-owned object reference

protected UpdatePolicy(ByRefValue reference)
Parameters
reference Amazon.JSII.Runtime.Deputy.ByRefValue

The Javascript-owned object reference

UpdatePolicy(DeputyBase.DeputyProps)

Used by jsii to construct an instance of this class from DeputyProps

protected UpdatePolicy(DeputyBase.DeputyProps props)
Parameters
props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps

The deputy props

Methods

ReplacingUpdate()

Create a new AutoScalingGroup and switch over to it.

public static UpdatePolicy ReplacingUpdate()
Returns

UpdatePolicy

RollingUpdate(IRollingUpdateOptions)

Replace the instances in the AutoScalingGroup one by one, or in batches.

public static UpdatePolicy RollingUpdate(IRollingUpdateOptions options = null)
Parameters
options IRollingUpdateOptions
Returns

UpdatePolicy

Back to top Generated by DocFX