Class OpsworksHaproxyLayerConfig.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • stackId

        @Stability(Stable)
        public OpsworksHaproxyLayerConfig.Builder stackId​(String stackId)
        Parameters:
        stackId - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/opsworks_haproxy_layer#stack_id OpsworksHaproxyLayer#stack_id}. This parameter is required.
        Returns:
        this
      • statsPassword

        @Stability(Stable)
        public OpsworksHaproxyLayerConfig.Builder statsPassword​(String statsPassword)
        Parameters:
        statsPassword - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/opsworks_haproxy_layer#stats_password OpsworksHaproxyLayer#stats_password}. This parameter is required.
        Returns:
        this
      • autoAssignElasticIps

        @Stability(Stable)
        public OpsworksHaproxyLayerConfig.Builder autoAssignElasticIps​(com.hashicorp.cdktf.IResolvable autoAssignElasticIps)
        Parameters:
        autoAssignElasticIps - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/opsworks_haproxy_layer#auto_assign_elastic_ips OpsworksHaproxyLayer#auto_assign_elastic_ips}.
        Returns:
        this
      • autoAssignPublicIps

        @Stability(Stable)
        public OpsworksHaproxyLayerConfig.Builder autoAssignPublicIps​(com.hashicorp.cdktf.IResolvable autoAssignPublicIps)
        Parameters:
        autoAssignPublicIps - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/opsworks_haproxy_layer#auto_assign_public_ips OpsworksHaproxyLayer#auto_assign_public_ips}.
        Returns:
        this
      • autoHealing

        @Stability(Stable)
        public OpsworksHaproxyLayerConfig.Builder autoHealing​(com.hashicorp.cdktf.IResolvable autoHealing)
        Parameters:
        autoHealing - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/opsworks_haproxy_layer#auto_healing OpsworksHaproxyLayer#auto_healing}.
        Returns:
        this
      • customInstanceProfileArn

        @Stability(Stable)
        public OpsworksHaproxyLayerConfig.Builder customInstanceProfileArn​(String customInstanceProfileArn)
        Parameters:
        customInstanceProfileArn - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/opsworks_haproxy_layer#custom_instance_profile_arn OpsworksHaproxyLayer#custom_instance_profile_arn}.
        Returns:
        this
      • drainElbOnShutdown

        @Stability(Stable)
        public OpsworksHaproxyLayerConfig.Builder drainElbOnShutdown​(com.hashicorp.cdktf.IResolvable drainElbOnShutdown)
        Parameters:
        drainElbOnShutdown - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/opsworks_haproxy_layer#drain_elb_on_shutdown OpsworksHaproxyLayer#drain_elb_on_shutdown}.
        Returns:
        this
      • ebsVolume

        @Stability(Stable)
        public OpsworksHaproxyLayerConfig.Builder ebsVolume​(com.hashicorp.cdktf.IResolvable ebsVolume)
        Parameters:
        ebsVolume - ebs_volume block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/opsworks_haproxy_layer#ebs_volume OpsworksHaproxyLayer#ebs_volume}
        Returns:
        this
      • id

        @Stability(Stable)
        public OpsworksHaproxyLayerConfig.Builder id​(String id)
        Parameters:
        id - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/opsworks_haproxy_layer#id OpsworksHaproxyLayer#id}. Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
        Returns:
        this
      • installUpdatesOnBoot

        @Stability(Stable)
        public OpsworksHaproxyLayerConfig.Builder installUpdatesOnBoot​(com.hashicorp.cdktf.IResolvable installUpdatesOnBoot)
        Parameters:
        installUpdatesOnBoot - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/opsworks_haproxy_layer#install_updates_on_boot OpsworksHaproxyLayer#install_updates_on_boot}.
        Returns:
        this
      • instanceShutdownTimeout

        @Stability(Stable)
        public OpsworksHaproxyLayerConfig.Builder instanceShutdownTimeout​(Number instanceShutdownTimeout)
        Parameters:
        instanceShutdownTimeout - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/opsworks_haproxy_layer#instance_shutdown_timeout OpsworksHaproxyLayer#instance_shutdown_timeout}.
        Returns:
        this
      • statsEnabled

        @Stability(Stable)
        public OpsworksHaproxyLayerConfig.Builder statsEnabled​(com.hashicorp.cdktf.IResolvable statsEnabled)
        Parameters:
        statsEnabled - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/opsworks_haproxy_layer#stats_enabled OpsworksHaproxyLayer#stats_enabled}.
        Returns:
        this
      • useEbsOptimizedInstances

        @Stability(Stable)
        public OpsworksHaproxyLayerConfig.Builder useEbsOptimizedInstances​(Boolean useEbsOptimizedInstances)
        Parameters:
        useEbsOptimizedInstances - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/opsworks_haproxy_layer#use_ebs_optimized_instances OpsworksHaproxyLayer#use_ebs_optimized_instances}.
        Returns:
        this
      • useEbsOptimizedInstances

        @Stability(Stable)
        public OpsworksHaproxyLayerConfig.Builder useEbsOptimizedInstances​(com.hashicorp.cdktf.IResolvable useEbsOptimizedInstances)
        Parameters:
        useEbsOptimizedInstances - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/opsworks_haproxy_layer#use_ebs_optimized_instances OpsworksHaproxyLayer#use_ebs_optimized_instances}.
        Returns:
        this
      • connection

        @Stability(Experimental)
        public OpsworksHaproxyLayerConfig.Builder connection​(com.hashicorp.cdktf.SSHProvisionerConnection connection)
        Sets the value of TerraformMetaArguments.getConnection()
        Parameters:
        connection - the value to be set.
        Returns:
        this
      • connection

        @Stability(Experimental)
        public OpsworksHaproxyLayerConfig.Builder connection​(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
        Sets the value of TerraformMetaArguments.getConnection()
        Parameters:
        connection - the value to be set.
        Returns:
        this
      • count

        @Stability(Experimental)
        public OpsworksHaproxyLayerConfig.Builder count​(Number count)
        Sets the value of TerraformMetaArguments.getCount()
        Parameters:
        count - the value to be set.
        Returns:
        this
      • count

        @Stability(Experimental)
        public OpsworksHaproxyLayerConfig.Builder count​(com.hashicorp.cdktf.TerraformCount count)
        Sets the value of TerraformMetaArguments.getCount()
        Parameters:
        count - the value to be set.
        Returns:
        this
      • dependsOn

        @Stability(Experimental)
        public OpsworksHaproxyLayerConfig.Builder dependsOn​(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
        Sets the value of TerraformMetaArguments.getDependsOn()
        Parameters:
        dependsOn - the value to be set.
        Returns:
        this
      • forEach

        @Stability(Experimental)
        public OpsworksHaproxyLayerConfig.Builder forEach​(com.hashicorp.cdktf.ITerraformIterator forEach)
        Sets the value of TerraformMetaArguments.getForEach()
        Parameters:
        forEach - the value to be set.
        Returns:
        this
      • lifecycle

        @Stability(Experimental)
        public OpsworksHaproxyLayerConfig.Builder lifecycle​(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
        Sets the value of TerraformMetaArguments.getLifecycle()
        Parameters:
        lifecycle - the value to be set.
        Returns:
        this
      • provider

        @Stability(Experimental)
        public OpsworksHaproxyLayerConfig.Builder provider​(com.hashicorp.cdktf.TerraformProvider provider)
        Sets the value of TerraformMetaArguments.getProvider()
        Parameters:
        provider - the value to be set.
        Returns:
        this
      • provisioners

        @Stability(Experimental)
        public OpsworksHaproxyLayerConfig.Builder provisioners​(List<? extends Object> provisioners)
        Sets the value of TerraformMetaArguments.getProvisioners()
        Parameters:
        provisioners - the value to be set.
        Returns:
        this