Class GroupInstanceRefreshArgs
- java.lang.Object
-
- com.pulumi.resources.InputArgs
-
- com.pulumi.resources.ResourceArgs
-
- com.pulumi.aws.autoscaling.inputs.GroupInstanceRefreshArgs
-
public final class GroupInstanceRefreshArgs extends com.pulumi.resources.ResourceArgs
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGroupInstanceRefreshArgs.Builder
-
Field Summary
Fields Modifier and Type Field Description static GroupInstanceRefreshArgsEmpty
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GroupInstanceRefreshArgs.Builderbuilder()static GroupInstanceRefreshArgs.Builderbuilder(GroupInstanceRefreshArgs defaults)java.util.Optional<com.pulumi.core.Output<GroupInstanceRefreshPreferencesArgs>>preferences()com.pulumi.core.Output<java.lang.String>strategy()java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>>triggers()
-
-
-
Field Detail
-
Empty
public static final GroupInstanceRefreshArgs Empty
-
-
Method Detail
-
preferences
public java.util.Optional<com.pulumi.core.Output<GroupInstanceRefreshPreferencesArgs>> preferences()
- Returns:
- Override default parameters for Instance Refresh.
-
strategy
public com.pulumi.core.Output<java.lang.String> strategy()
- Returns:
- Strategy to use for instance refresh. The only allowed value is `Rolling`. See [StartInstanceRefresh Action](https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_StartInstanceRefresh.html#API_StartInstanceRefresh_RequestParameters) for more information.
-
triggers
public java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>> triggers()
- Returns:
- Set of additional property names that will trigger an Instance Refresh. A refresh will always be triggered by a change in any of `launchConfiguration`, `launchTemplate`, or `mixedInstancesPolicy`. > **NOTE:** A refresh is started when any of the following Auto Scaling group properties change: `launchConfiguration`, `launchTemplate`, `mixedInstancesPolicy`. Additional properties can be specified in the `triggers` property of `instanceRefresh`. > **NOTE:** A refresh will not start when `version = "$Latest"` is configured in the `launchTemplate` block. To trigger the instance refresh when a launch template is changed, configure `version` to use the `latestVersion` attribute of the `aws.ec2.LaunchTemplate` resource. > **NOTE:** Auto Scaling groups support up to one active instance refresh at a time. When this resource is updated, any existing refresh is cancelled. > **NOTE:** Depending on health check settings and group size, an instance refresh may take a long time or fail. This resource does not wait for the instance refresh to complete.
-
builder
public static GroupInstanceRefreshArgs.Builder builder()
-
builder
public static GroupInstanceRefreshArgs.Builder builder(GroupInstanceRefreshArgs defaults)
-
-