Package com.pulumi.aws.opsworks
Class EcsClusterLayerArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.opsworks.EcsClusterLayerArgs.Builder
-
- Enclosing class:
- EcsClusterLayerArgs
public static final class EcsClusterLayerArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(EcsClusterLayerArgs defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EcsClusterLayerArgs.Builder
autoAssignElasticIps(com.pulumi.core.Output<java.lang.Boolean> autoAssignElasticIps)
EcsClusterLayerArgs.Builder
autoAssignElasticIps(java.lang.Boolean autoAssignElasticIps)
EcsClusterLayerArgs.Builder
autoAssignPublicIps(com.pulumi.core.Output<java.lang.Boolean> autoAssignPublicIps)
EcsClusterLayerArgs.Builder
autoAssignPublicIps(java.lang.Boolean autoAssignPublicIps)
EcsClusterLayerArgs.Builder
autoHealing(com.pulumi.core.Output<java.lang.Boolean> autoHealing)
EcsClusterLayerArgs.Builder
autoHealing(java.lang.Boolean autoHealing)
EcsClusterLayerArgs
build()
EcsClusterLayerArgs.Builder
cloudwatchConfiguration(EcsClusterLayerCloudwatchConfigurationArgs cloudwatchConfiguration)
EcsClusterLayerArgs.Builder
cloudwatchConfiguration(com.pulumi.core.Output<EcsClusterLayerCloudwatchConfigurationArgs> cloudwatchConfiguration)
EcsClusterLayerArgs.Builder
customConfigureRecipes(com.pulumi.core.Output<java.util.List<java.lang.String>> customConfigureRecipes)
EcsClusterLayerArgs.Builder
customConfigureRecipes(java.lang.String... customConfigureRecipes)
EcsClusterLayerArgs.Builder
customConfigureRecipes(java.util.List<java.lang.String> customConfigureRecipes)
EcsClusterLayerArgs.Builder
customDeployRecipes(com.pulumi.core.Output<java.util.List<java.lang.String>> customDeployRecipes)
EcsClusterLayerArgs.Builder
customDeployRecipes(java.lang.String... customDeployRecipes)
EcsClusterLayerArgs.Builder
customDeployRecipes(java.util.List<java.lang.String> customDeployRecipes)
EcsClusterLayerArgs.Builder
customInstanceProfileArn(com.pulumi.core.Output<java.lang.String> customInstanceProfileArn)
EcsClusterLayerArgs.Builder
customInstanceProfileArn(java.lang.String customInstanceProfileArn)
EcsClusterLayerArgs.Builder
customJson(com.pulumi.core.Output<java.lang.String> customJson)
EcsClusterLayerArgs.Builder
customJson(java.lang.String customJson)
EcsClusterLayerArgs.Builder
customSecurityGroupIds(com.pulumi.core.Output<java.util.List<java.lang.String>> customSecurityGroupIds)
EcsClusterLayerArgs.Builder
customSecurityGroupIds(java.lang.String... customSecurityGroupIds)
EcsClusterLayerArgs.Builder
customSecurityGroupIds(java.util.List<java.lang.String> customSecurityGroupIds)
EcsClusterLayerArgs.Builder
customSetupRecipes(com.pulumi.core.Output<java.util.List<java.lang.String>> customSetupRecipes)
EcsClusterLayerArgs.Builder
customSetupRecipes(java.lang.String... customSetupRecipes)
EcsClusterLayerArgs.Builder
customSetupRecipes(java.util.List<java.lang.String> customSetupRecipes)
EcsClusterLayerArgs.Builder
customShutdownRecipes(com.pulumi.core.Output<java.util.List<java.lang.String>> customShutdownRecipes)
EcsClusterLayerArgs.Builder
customShutdownRecipes(java.lang.String... customShutdownRecipes)
EcsClusterLayerArgs.Builder
customShutdownRecipes(java.util.List<java.lang.String> customShutdownRecipes)
EcsClusterLayerArgs.Builder
customUndeployRecipes(com.pulumi.core.Output<java.util.List<java.lang.String>> customUndeployRecipes)
EcsClusterLayerArgs.Builder
customUndeployRecipes(java.lang.String... customUndeployRecipes)
EcsClusterLayerArgs.Builder
customUndeployRecipes(java.util.List<java.lang.String> customUndeployRecipes)
EcsClusterLayerArgs.Builder
drainElbOnShutdown(com.pulumi.core.Output<java.lang.Boolean> drainElbOnShutdown)
EcsClusterLayerArgs.Builder
drainElbOnShutdown(java.lang.Boolean drainElbOnShutdown)
EcsClusterLayerArgs.Builder
ebsVolumes(EcsClusterLayerEbsVolumeArgs... ebsVolumes)
EcsClusterLayerArgs.Builder
ebsVolumes(com.pulumi.core.Output<java.util.List<EcsClusterLayerEbsVolumeArgs>> ebsVolumes)
EcsClusterLayerArgs.Builder
ebsVolumes(java.util.List<EcsClusterLayerEbsVolumeArgs> ebsVolumes)
EcsClusterLayerArgs.Builder
ecsClusterArn(com.pulumi.core.Output<java.lang.String> ecsClusterArn)
EcsClusterLayerArgs.Builder
ecsClusterArn(java.lang.String ecsClusterArn)
EcsClusterLayerArgs.Builder
elasticLoadBalancer(com.pulumi.core.Output<java.lang.String> elasticLoadBalancer)
EcsClusterLayerArgs.Builder
elasticLoadBalancer(java.lang.String elasticLoadBalancer)
EcsClusterLayerArgs.Builder
installUpdatesOnBoot(com.pulumi.core.Output<java.lang.Boolean> installUpdatesOnBoot)
EcsClusterLayerArgs.Builder
installUpdatesOnBoot(java.lang.Boolean installUpdatesOnBoot)
EcsClusterLayerArgs.Builder
instanceShutdownTimeout(com.pulumi.core.Output<java.lang.Integer> instanceShutdownTimeout)
EcsClusterLayerArgs.Builder
instanceShutdownTimeout(java.lang.Integer instanceShutdownTimeout)
EcsClusterLayerArgs.Builder
loadBasedAutoScaling(EcsClusterLayerLoadBasedAutoScalingArgs loadBasedAutoScaling)
EcsClusterLayerArgs.Builder
loadBasedAutoScaling(com.pulumi.core.Output<EcsClusterLayerLoadBasedAutoScalingArgs> loadBasedAutoScaling)
EcsClusterLayerArgs.Builder
name(com.pulumi.core.Output<java.lang.String> name)
EcsClusterLayerArgs.Builder
name(java.lang.String name)
EcsClusterLayerArgs.Builder
stackId(com.pulumi.core.Output<java.lang.String> stackId)
EcsClusterLayerArgs.Builder
stackId(java.lang.String stackId)
EcsClusterLayerArgs.Builder
systemPackages(com.pulumi.core.Output<java.util.List<java.lang.String>> systemPackages)
EcsClusterLayerArgs.Builder
systemPackages(java.lang.String... systemPackages)
EcsClusterLayerArgs.Builder
systemPackages(java.util.List<java.lang.String> systemPackages)
EcsClusterLayerArgs.Builder
tags(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)
EcsClusterLayerArgs.Builder
tags(java.util.Map<java.lang.String,java.lang.String> tags)
EcsClusterLayerArgs.Builder
useEbsOptimizedInstances(com.pulumi.core.Output<java.lang.Boolean> useEbsOptimizedInstances)
EcsClusterLayerArgs.Builder
useEbsOptimizedInstances(java.lang.Boolean useEbsOptimizedInstances)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(EcsClusterLayerArgs defaults)
-
-
Method Detail
-
autoAssignElasticIps
public EcsClusterLayerArgs.Builder autoAssignElasticIps(@Nullable com.pulumi.core.Output<java.lang.Boolean> autoAssignElasticIps)
- Parameters:
autoAssignElasticIps
- Whether to automatically assign an elastic IP address to the layer's instances.- Returns:
- builder
-
autoAssignElasticIps
public EcsClusterLayerArgs.Builder autoAssignElasticIps(java.lang.Boolean autoAssignElasticIps)
- Parameters:
autoAssignElasticIps
- Whether to automatically assign an elastic IP address to the layer's instances.- Returns:
- builder
-
autoAssignPublicIps
public EcsClusterLayerArgs.Builder autoAssignPublicIps(@Nullable com.pulumi.core.Output<java.lang.Boolean> autoAssignPublicIps)
- Parameters:
autoAssignPublicIps
- For stacks belonging to a VPC, whether to automatically assign a public IP address to each of the layer's instances.- Returns:
- builder
-
autoAssignPublicIps
public EcsClusterLayerArgs.Builder autoAssignPublicIps(java.lang.Boolean autoAssignPublicIps)
- Parameters:
autoAssignPublicIps
- For stacks belonging to a VPC, whether to automatically assign a public IP address to each of the layer's instances.- Returns:
- builder
-
autoHealing
public EcsClusterLayerArgs.Builder autoHealing(@Nullable com.pulumi.core.Output<java.lang.Boolean> autoHealing)
- Parameters:
autoHealing
- Whether to enable auto-healing for the layer.- Returns:
- builder
-
autoHealing
public EcsClusterLayerArgs.Builder autoHealing(java.lang.Boolean autoHealing)
- Parameters:
autoHealing
- Whether to enable auto-healing for the layer.- Returns:
- builder
-
cloudwatchConfiguration
public EcsClusterLayerArgs.Builder cloudwatchConfiguration(@Nullable com.pulumi.core.Output<EcsClusterLayerCloudwatchConfigurationArgs> cloudwatchConfiguration)
-
cloudwatchConfiguration
public EcsClusterLayerArgs.Builder cloudwatchConfiguration(EcsClusterLayerCloudwatchConfigurationArgs cloudwatchConfiguration)
-
customConfigureRecipes
public EcsClusterLayerArgs.Builder customConfigureRecipes(@Nullable com.pulumi.core.Output<java.util.List<java.lang.String>> customConfigureRecipes)
-
customConfigureRecipes
public EcsClusterLayerArgs.Builder customConfigureRecipes(java.util.List<java.lang.String> customConfigureRecipes)
-
customConfigureRecipes
public EcsClusterLayerArgs.Builder customConfigureRecipes(java.lang.String... customConfigureRecipes)
-
customDeployRecipes
public EcsClusterLayerArgs.Builder customDeployRecipes(@Nullable com.pulumi.core.Output<java.util.List<java.lang.String>> customDeployRecipes)
-
customDeployRecipes
public EcsClusterLayerArgs.Builder customDeployRecipes(java.util.List<java.lang.String> customDeployRecipes)
-
customDeployRecipes
public EcsClusterLayerArgs.Builder customDeployRecipes(java.lang.String... customDeployRecipes)
-
customInstanceProfileArn
public EcsClusterLayerArgs.Builder customInstanceProfileArn(@Nullable com.pulumi.core.Output<java.lang.String> customInstanceProfileArn)
- Parameters:
customInstanceProfileArn
- The ARN of an IAM profile that will be used for the layer's instances.- Returns:
- builder
-
customInstanceProfileArn
public EcsClusterLayerArgs.Builder customInstanceProfileArn(java.lang.String customInstanceProfileArn)
- Parameters:
customInstanceProfileArn
- The ARN of an IAM profile that will be used for the layer's instances.- Returns:
- builder
-
customJson
public EcsClusterLayerArgs.Builder customJson(@Nullable com.pulumi.core.Output<java.lang.String> customJson)
- Parameters:
customJson
- Custom JSON attributes to apply to the layer.- Returns:
- builder
-
customJson
public EcsClusterLayerArgs.Builder customJson(java.lang.String customJson)
- Parameters:
customJson
- Custom JSON attributes to apply to the layer.- Returns:
- builder
-
customSecurityGroupIds
public EcsClusterLayerArgs.Builder customSecurityGroupIds(@Nullable com.pulumi.core.Output<java.util.List<java.lang.String>> customSecurityGroupIds)
- Parameters:
customSecurityGroupIds
- Ids for a set of security groups to apply to the layer's instances.- Returns:
- builder
-
customSecurityGroupIds
public EcsClusterLayerArgs.Builder customSecurityGroupIds(java.util.List<java.lang.String> customSecurityGroupIds)
- Parameters:
customSecurityGroupIds
- Ids for a set of security groups to apply to the layer's instances.- Returns:
- builder
-
customSecurityGroupIds
public EcsClusterLayerArgs.Builder customSecurityGroupIds(java.lang.String... customSecurityGroupIds)
- Parameters:
customSecurityGroupIds
- Ids for a set of security groups to apply to the layer's instances.- Returns:
- builder
-
customSetupRecipes
public EcsClusterLayerArgs.Builder customSetupRecipes(@Nullable com.pulumi.core.Output<java.util.List<java.lang.String>> customSetupRecipes)
-
customSetupRecipes
public EcsClusterLayerArgs.Builder customSetupRecipes(java.util.List<java.lang.String> customSetupRecipes)
-
customSetupRecipes
public EcsClusterLayerArgs.Builder customSetupRecipes(java.lang.String... customSetupRecipes)
-
customShutdownRecipes
public EcsClusterLayerArgs.Builder customShutdownRecipes(@Nullable com.pulumi.core.Output<java.util.List<java.lang.String>> customShutdownRecipes)
-
customShutdownRecipes
public EcsClusterLayerArgs.Builder customShutdownRecipes(java.util.List<java.lang.String> customShutdownRecipes)
-
customShutdownRecipes
public EcsClusterLayerArgs.Builder customShutdownRecipes(java.lang.String... customShutdownRecipes)
-
customUndeployRecipes
public EcsClusterLayerArgs.Builder customUndeployRecipes(@Nullable com.pulumi.core.Output<java.util.List<java.lang.String>> customUndeployRecipes)
-
customUndeployRecipes
public EcsClusterLayerArgs.Builder customUndeployRecipes(java.util.List<java.lang.String> customUndeployRecipes)
-
customUndeployRecipes
public EcsClusterLayerArgs.Builder customUndeployRecipes(java.lang.String... customUndeployRecipes)
-
drainElbOnShutdown
public EcsClusterLayerArgs.Builder drainElbOnShutdown(@Nullable com.pulumi.core.Output<java.lang.Boolean> drainElbOnShutdown)
- Parameters:
drainElbOnShutdown
- Whether to enable Elastic Load Balancing connection draining.- Returns:
- builder
-
drainElbOnShutdown
public EcsClusterLayerArgs.Builder drainElbOnShutdown(java.lang.Boolean drainElbOnShutdown)
- Parameters:
drainElbOnShutdown
- Whether to enable Elastic Load Balancing connection draining.- Returns:
- builder
-
ebsVolumes
public EcsClusterLayerArgs.Builder ebsVolumes(@Nullable com.pulumi.core.Output<java.util.List<EcsClusterLayerEbsVolumeArgs>> ebsVolumes)
- Parameters:
ebsVolumes
- `ebs_volume` blocks, as described below, will each create an EBS volume and connect it to the layer's instances.- Returns:
- builder
-
ebsVolumes
public EcsClusterLayerArgs.Builder ebsVolumes(java.util.List<EcsClusterLayerEbsVolumeArgs> ebsVolumes)
- Parameters:
ebsVolumes
- `ebs_volume` blocks, as described below, will each create an EBS volume and connect it to the layer's instances.- Returns:
- builder
-
ebsVolumes
public EcsClusterLayerArgs.Builder ebsVolumes(EcsClusterLayerEbsVolumeArgs... ebsVolumes)
- Parameters:
ebsVolumes
- `ebs_volume` blocks, as described below, will each create an EBS volume and connect it to the layer's instances.- Returns:
- builder
-
ecsClusterArn
public EcsClusterLayerArgs.Builder ecsClusterArn(com.pulumi.core.Output<java.lang.String> ecsClusterArn)
- Parameters:
ecsClusterArn
- The ECS Cluster ARN of the layer.- Returns:
- builder
-
ecsClusterArn
public EcsClusterLayerArgs.Builder ecsClusterArn(java.lang.String ecsClusterArn)
- Parameters:
ecsClusterArn
- The ECS Cluster ARN of the layer.- Returns:
- builder
-
elasticLoadBalancer
public EcsClusterLayerArgs.Builder elasticLoadBalancer(@Nullable com.pulumi.core.Output<java.lang.String> elasticLoadBalancer)
- Parameters:
elasticLoadBalancer
- Name of an Elastic Load Balancer to attach to this layer- Returns:
- builder
-
elasticLoadBalancer
public EcsClusterLayerArgs.Builder elasticLoadBalancer(java.lang.String elasticLoadBalancer)
- Parameters:
elasticLoadBalancer
- Name of an Elastic Load Balancer to attach to this layer- Returns:
- builder
-
installUpdatesOnBoot
public EcsClusterLayerArgs.Builder installUpdatesOnBoot(@Nullable com.pulumi.core.Output<java.lang.Boolean> installUpdatesOnBoot)
- Parameters:
installUpdatesOnBoot
- Whether to install OS and package updates on each instance when it boots.- Returns:
- builder
-
installUpdatesOnBoot
public EcsClusterLayerArgs.Builder installUpdatesOnBoot(java.lang.Boolean installUpdatesOnBoot)
- Parameters:
installUpdatesOnBoot
- Whether to install OS and package updates on each instance when it boots.- Returns:
- builder
-
instanceShutdownTimeout
public EcsClusterLayerArgs.Builder instanceShutdownTimeout(@Nullable com.pulumi.core.Output<java.lang.Integer> instanceShutdownTimeout)
- Parameters:
instanceShutdownTimeout
- The time, in seconds, that OpsWorks will wait for Chef to complete after triggering the Shutdown event.- Returns:
- builder
-
instanceShutdownTimeout
public EcsClusterLayerArgs.Builder instanceShutdownTimeout(java.lang.Integer instanceShutdownTimeout)
- Parameters:
instanceShutdownTimeout
- The time, in seconds, that OpsWorks will wait for Chef to complete after triggering the Shutdown event.- Returns:
- builder
-
loadBasedAutoScaling
public EcsClusterLayerArgs.Builder loadBasedAutoScaling(@Nullable com.pulumi.core.Output<EcsClusterLayerLoadBasedAutoScalingArgs> loadBasedAutoScaling)
-
loadBasedAutoScaling
public EcsClusterLayerArgs.Builder loadBasedAutoScaling(EcsClusterLayerLoadBasedAutoScalingArgs loadBasedAutoScaling)
-
name
public EcsClusterLayerArgs.Builder name(@Nullable com.pulumi.core.Output<java.lang.String> name)
- Parameters:
name
- A human-readable name for the layer.- Returns:
- builder
-
name
public EcsClusterLayerArgs.Builder name(java.lang.String name)
- Parameters:
name
- A human-readable name for the layer.- Returns:
- builder
-
stackId
public EcsClusterLayerArgs.Builder stackId(com.pulumi.core.Output<java.lang.String> stackId)
- Parameters:
stackId
- ID of the stack the layer will belong to.- Returns:
- builder
-
stackId
public EcsClusterLayerArgs.Builder stackId(java.lang.String stackId)
- Parameters:
stackId
- ID of the stack the layer will belong to.- Returns:
- builder
-
systemPackages
public EcsClusterLayerArgs.Builder systemPackages(@Nullable com.pulumi.core.Output<java.util.List<java.lang.String>> systemPackages)
- Parameters:
systemPackages
- Names of a set of system packages to install on the layer's instances.- Returns:
- builder
-
systemPackages
public EcsClusterLayerArgs.Builder systemPackages(java.util.List<java.lang.String> systemPackages)
- Parameters:
systemPackages
- Names of a set of system packages to install on the layer's instances.- Returns:
- builder
-
systemPackages
public EcsClusterLayerArgs.Builder systemPackages(java.lang.String... systemPackages)
- Parameters:
systemPackages
- Names of a set of system packages to install on the layer's instances.- Returns:
- builder
-
tags
public EcsClusterLayerArgs.Builder tags(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)
- Parameters:
tags
- A mapping of tags to assign to the resource. The following extra optional arguments, all lists of Chef recipe names, allow custom Chef recipes to be applied to layer instances at the five different lifecycle events, if custom cookbooks are enabled on the layer's stack:- Returns:
- builder
-
tags
public EcsClusterLayerArgs.Builder tags(java.util.Map<java.lang.String,java.lang.String> tags)
- Parameters:
tags
- A mapping of tags to assign to the resource. The following extra optional arguments, all lists of Chef recipe names, allow custom Chef recipes to be applied to layer instances at the five different lifecycle events, if custom cookbooks are enabled on the layer's stack:- Returns:
- builder
-
useEbsOptimizedInstances
public EcsClusterLayerArgs.Builder useEbsOptimizedInstances(@Nullable com.pulumi.core.Output<java.lang.Boolean> useEbsOptimizedInstances)
- Parameters:
useEbsOptimizedInstances
- Whether to use EBS-optimized instances.- Returns:
- builder
-
useEbsOptimizedInstances
public EcsClusterLayerArgs.Builder useEbsOptimizedInstances(java.lang.Boolean useEbsOptimizedInstances)
- Parameters:
useEbsOptimizedInstances
- Whether to use EBS-optimized instances.- Returns:
- builder
-
build
public EcsClusterLayerArgs build()
-
-