Table of Contents

Class UpdatePolicy

Namespace
Amazon.CDK.AWS.AutoScaling
Assembly
Amazon.CDK.AWS.AutoScaling.dll

How existing instances should be updated.

public abstract class UpdatePolicy : DeputyBase
Inheritance
UpdatePolicy

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();

Remarks

ExampleMetadata: fixture=_generated

Constructors

UpdatePolicy()

protected UpdatePolicy()

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