Class GroupInstanceRefreshArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.autoscaling.inputs.GroupInstanceRefreshArgs.Builder
-
- Enclosing class:
- GroupInstanceRefreshArgs
public static final class GroupInstanceRefreshArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(GroupInstanceRefreshArgs defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GroupInstanceRefreshArgs
build()
GroupInstanceRefreshArgs.Builder
preferences(GroupInstanceRefreshPreferencesArgs preferences)
GroupInstanceRefreshArgs.Builder
preferences(com.pulumi.core.Output<GroupInstanceRefreshPreferencesArgs> preferences)
GroupInstanceRefreshArgs.Builder
strategy(com.pulumi.core.Output<java.lang.String> strategy)
GroupInstanceRefreshArgs.Builder
strategy(java.lang.String strategy)
GroupInstanceRefreshArgs.Builder
triggers(com.pulumi.core.Output<java.util.List<java.lang.String>> triggers)
GroupInstanceRefreshArgs.Builder
triggers(java.lang.String... triggers)
GroupInstanceRefreshArgs.Builder
triggers(java.util.List<java.lang.String> triggers)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(GroupInstanceRefreshArgs defaults)
-
-
Method Detail
-
preferences
public GroupInstanceRefreshArgs.Builder preferences(@Nullable com.pulumi.core.Output<GroupInstanceRefreshPreferencesArgs> preferences)
- Parameters:
preferences
- Override default parameters for Instance Refresh.- Returns:
- builder
-
preferences
public GroupInstanceRefreshArgs.Builder preferences(GroupInstanceRefreshPreferencesArgs preferences)
- Parameters:
preferences
- Override default parameters for Instance Refresh.- Returns:
- builder
-
strategy
public GroupInstanceRefreshArgs.Builder strategy(com.pulumi.core.Output<java.lang.String> strategy)
- Parameters:
strategy
- 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.- Returns:
- builder
-
strategy
public GroupInstanceRefreshArgs.Builder strategy(java.lang.String strategy)
- Parameters:
strategy
- 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.- Returns:
- builder
-
triggers
public GroupInstanceRefreshArgs.Builder triggers(@Nullable com.pulumi.core.Output<java.util.List<java.lang.String>> triggers)
- Parameters:
triggers
- Set of additional property names that will trigger an Instance Refresh. A refresh will always be triggered by a change in any of `launch_configuration`, `launch_template`, or `mixed_instances_policy`. > **NOTE:** A refresh is started when any of the following Auto Scaling Group properties change: `launch_configuration`, `launch_template`, `mixed_instances_policy`. Additional properties can be specified in the `triggers` property of `instance_refresh`. > **NOTE:** A refresh will not start when `version = "$Latest"` is configured in the `launch_template` block. To trigger the instance refresh when a launch template is changed, configure `version` to use the `latest_version` 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.- Returns:
- builder
-
triggers
public GroupInstanceRefreshArgs.Builder triggers(java.util.List<java.lang.String> triggers)
- Parameters:
triggers
- Set of additional property names that will trigger an Instance Refresh. A refresh will always be triggered by a change in any of `launch_configuration`, `launch_template`, or `mixed_instances_policy`. > **NOTE:** A refresh is started when any of the following Auto Scaling Group properties change: `launch_configuration`, `launch_template`, `mixed_instances_policy`. Additional properties can be specified in the `triggers` property of `instance_refresh`. > **NOTE:** A refresh will not start when `version = "$Latest"` is configured in the `launch_template` block. To trigger the instance refresh when a launch template is changed, configure `version` to use the `latest_version` 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.- Returns:
- builder
-
triggers
public GroupInstanceRefreshArgs.Builder triggers(java.lang.String... triggers)
- Parameters:
triggers
- Set of additional property names that will trigger an Instance Refresh. A refresh will always be triggered by a change in any of `launch_configuration`, `launch_template`, or `mixed_instances_policy`. > **NOTE:** A refresh is started when any of the following Auto Scaling Group properties change: `launch_configuration`, `launch_template`, `mixed_instances_policy`. Additional properties can be specified in the `triggers` property of `instance_refresh`. > **NOTE:** A refresh will not start when `version = "$Latest"` is configured in the `launch_template` block. To trigger the instance refresh when a launch template is changed, configure `version` to use the `latest_version` 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.- Returns:
- builder
-
build
public GroupInstanceRefreshArgs build()
-
-