Class OpsworksStaticWebLayerConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.opsworks_static_web_layer.OpsworksStaticWebLayerConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<OpsworksStaticWebLayerConfig>
- Enclosing interface:
- OpsworksStaticWebLayerConfig
@Stability(Stable) public static final class OpsworksStaticWebLayerConfig.Builder extends Object implements software.amazon.jsii.Builder<OpsworksStaticWebLayerConfig>
A builder forOpsworksStaticWebLayerConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
stackId
@Stability(Stable) public OpsworksStaticWebLayerConfig.Builder stackId(String stackId)
Sets the value ofOpsworksStaticWebLayerConfig.getStackId()- Parameters:
stackId- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/opsworks_static_web_layer#stack_id OpsworksStaticWebLayer#stack_id}. This parameter is required.- Returns:
this
-
autoAssignElasticIps
@Stability(Stable) public OpsworksStaticWebLayerConfig.Builder autoAssignElasticIps(Boolean autoAssignElasticIps)
Sets the value ofOpsworksStaticWebLayerConfig.getAutoAssignElasticIps()- Parameters:
autoAssignElasticIps- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/opsworks_static_web_layer#auto_assign_elastic_ips OpsworksStaticWebLayer#auto_assign_elastic_ips}.- Returns:
this
-
autoAssignElasticIps
@Stability(Stable) public OpsworksStaticWebLayerConfig.Builder autoAssignElasticIps(com.hashicorp.cdktf.IResolvable autoAssignElasticIps)
Sets the value ofOpsworksStaticWebLayerConfig.getAutoAssignElasticIps()- Parameters:
autoAssignElasticIps- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/opsworks_static_web_layer#auto_assign_elastic_ips OpsworksStaticWebLayer#auto_assign_elastic_ips}.- Returns:
this
-
autoAssignPublicIps
@Stability(Stable) public OpsworksStaticWebLayerConfig.Builder autoAssignPublicIps(Boolean autoAssignPublicIps)
Sets the value ofOpsworksStaticWebLayerConfig.getAutoAssignPublicIps()- Parameters:
autoAssignPublicIps- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/opsworks_static_web_layer#auto_assign_public_ips OpsworksStaticWebLayer#auto_assign_public_ips}.- Returns:
this
-
autoAssignPublicIps
@Stability(Stable) public OpsworksStaticWebLayerConfig.Builder autoAssignPublicIps(com.hashicorp.cdktf.IResolvable autoAssignPublicIps)
Sets the value ofOpsworksStaticWebLayerConfig.getAutoAssignPublicIps()- Parameters:
autoAssignPublicIps- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/opsworks_static_web_layer#auto_assign_public_ips OpsworksStaticWebLayer#auto_assign_public_ips}.- Returns:
this
-
autoHealing
@Stability(Stable) public OpsworksStaticWebLayerConfig.Builder autoHealing(Boolean autoHealing)
Sets the value ofOpsworksStaticWebLayerConfig.getAutoHealing()- Parameters:
autoHealing- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/opsworks_static_web_layer#auto_healing OpsworksStaticWebLayer#auto_healing}.- Returns:
this
-
autoHealing
@Stability(Stable) public OpsworksStaticWebLayerConfig.Builder autoHealing(com.hashicorp.cdktf.IResolvable autoHealing)
Sets the value ofOpsworksStaticWebLayerConfig.getAutoHealing()- Parameters:
autoHealing- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/opsworks_static_web_layer#auto_healing OpsworksStaticWebLayer#auto_healing}.- Returns:
this
-
cloudwatchConfiguration
@Stability(Stable) public OpsworksStaticWebLayerConfig.Builder cloudwatchConfiguration(OpsworksStaticWebLayerCloudwatchConfiguration cloudwatchConfiguration)
Sets the value ofOpsworksStaticWebLayerConfig.getCloudwatchConfiguration()- Parameters:
cloudwatchConfiguration- cloudwatch_configuration block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/opsworks_static_web_layer#cloudwatch_configuration OpsworksStaticWebLayer#cloudwatch_configuration}- Returns:
this
-
customConfigureRecipes
@Stability(Stable) public OpsworksStaticWebLayerConfig.Builder customConfigureRecipes(List<String> customConfigureRecipes)
Sets the value ofOpsworksStaticWebLayerConfig.getCustomConfigureRecipes()- Parameters:
customConfigureRecipes- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/opsworks_static_web_layer#custom_configure_recipes OpsworksStaticWebLayer#custom_configure_recipes}.- Returns:
this
-
customDeployRecipes
@Stability(Stable) public OpsworksStaticWebLayerConfig.Builder customDeployRecipes(List<String> customDeployRecipes)
Sets the value ofOpsworksStaticWebLayerConfig.getCustomDeployRecipes()- Parameters:
customDeployRecipes- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/opsworks_static_web_layer#custom_deploy_recipes OpsworksStaticWebLayer#custom_deploy_recipes}.- Returns:
this
-
customInstanceProfileArn
@Stability(Stable) public OpsworksStaticWebLayerConfig.Builder customInstanceProfileArn(String customInstanceProfileArn)
Sets the value ofOpsworksStaticWebLayerConfig.getCustomInstanceProfileArn()- Parameters:
customInstanceProfileArn- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/opsworks_static_web_layer#custom_instance_profile_arn OpsworksStaticWebLayer#custom_instance_profile_arn}.- Returns:
this
-
customJson
@Stability(Stable) public OpsworksStaticWebLayerConfig.Builder customJson(String customJson)
Sets the value ofOpsworksStaticWebLayerConfig.getCustomJson()- Parameters:
customJson- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/opsworks_static_web_layer#custom_json OpsworksStaticWebLayer#custom_json}.- Returns:
this
-
customSecurityGroupIds
@Stability(Stable) public OpsworksStaticWebLayerConfig.Builder customSecurityGroupIds(List<String> customSecurityGroupIds)
Sets the value ofOpsworksStaticWebLayerConfig.getCustomSecurityGroupIds()- Parameters:
customSecurityGroupIds- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/opsworks_static_web_layer#custom_security_group_ids OpsworksStaticWebLayer#custom_security_group_ids}.- Returns:
this
-
customSetupRecipes
@Stability(Stable) public OpsworksStaticWebLayerConfig.Builder customSetupRecipes(List<String> customSetupRecipes)
Sets the value ofOpsworksStaticWebLayerConfig.getCustomSetupRecipes()- Parameters:
customSetupRecipes- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/opsworks_static_web_layer#custom_setup_recipes OpsworksStaticWebLayer#custom_setup_recipes}.- Returns:
this
-
customShutdownRecipes
@Stability(Stable) public OpsworksStaticWebLayerConfig.Builder customShutdownRecipes(List<String> customShutdownRecipes)
Sets the value ofOpsworksStaticWebLayerConfig.getCustomShutdownRecipes()- Parameters:
customShutdownRecipes- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/opsworks_static_web_layer#custom_shutdown_recipes OpsworksStaticWebLayer#custom_shutdown_recipes}.- Returns:
this
-
customUndeployRecipes
@Stability(Stable) public OpsworksStaticWebLayerConfig.Builder customUndeployRecipes(List<String> customUndeployRecipes)
Sets the value ofOpsworksStaticWebLayerConfig.getCustomUndeployRecipes()- Parameters:
customUndeployRecipes- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/opsworks_static_web_layer#custom_undeploy_recipes OpsworksStaticWebLayer#custom_undeploy_recipes}.- Returns:
this
-
drainElbOnShutdown
@Stability(Stable) public OpsworksStaticWebLayerConfig.Builder drainElbOnShutdown(Boolean drainElbOnShutdown)
Sets the value ofOpsworksStaticWebLayerConfig.getDrainElbOnShutdown()- Parameters:
drainElbOnShutdown- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/opsworks_static_web_layer#drain_elb_on_shutdown OpsworksStaticWebLayer#drain_elb_on_shutdown}.- Returns:
this
-
drainElbOnShutdown
@Stability(Stable) public OpsworksStaticWebLayerConfig.Builder drainElbOnShutdown(com.hashicorp.cdktf.IResolvable drainElbOnShutdown)
Sets the value ofOpsworksStaticWebLayerConfig.getDrainElbOnShutdown()- Parameters:
drainElbOnShutdown- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/opsworks_static_web_layer#drain_elb_on_shutdown OpsworksStaticWebLayer#drain_elb_on_shutdown}.- Returns:
this
-
ebsVolume
@Stability(Stable) public OpsworksStaticWebLayerConfig.Builder ebsVolume(com.hashicorp.cdktf.IResolvable ebsVolume)
Sets the value ofOpsworksStaticWebLayerConfig.getEbsVolume()- Parameters:
ebsVolume- ebs_volume block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/opsworks_static_web_layer#ebs_volume OpsworksStaticWebLayer#ebs_volume}- Returns:
this
-
ebsVolume
@Stability(Stable) public OpsworksStaticWebLayerConfig.Builder ebsVolume(List<? extends OpsworksStaticWebLayerEbsVolume> ebsVolume)
Sets the value ofOpsworksStaticWebLayerConfig.getEbsVolume()- Parameters:
ebsVolume- ebs_volume block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/opsworks_static_web_layer#ebs_volume OpsworksStaticWebLayer#ebs_volume}- Returns:
this
-
elasticLoadBalancer
@Stability(Stable) public OpsworksStaticWebLayerConfig.Builder elasticLoadBalancer(String elasticLoadBalancer)
Sets the value ofOpsworksStaticWebLayerConfig.getElasticLoadBalancer()- Parameters:
elasticLoadBalancer- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/opsworks_static_web_layer#elastic_load_balancer OpsworksStaticWebLayer#elastic_load_balancer}.- Returns:
this
-
id
@Stability(Stable) public OpsworksStaticWebLayerConfig.Builder id(String id)
Sets the value ofOpsworksStaticWebLayerConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/opsworks_static_web_layer#id OpsworksStaticWebLayer#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 OpsworksStaticWebLayerConfig.Builder installUpdatesOnBoot(Boolean installUpdatesOnBoot)
Sets the value ofOpsworksStaticWebLayerConfig.getInstallUpdatesOnBoot()- Parameters:
installUpdatesOnBoot- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/opsworks_static_web_layer#install_updates_on_boot OpsworksStaticWebLayer#install_updates_on_boot}.- Returns:
this
-
installUpdatesOnBoot
@Stability(Stable) public OpsworksStaticWebLayerConfig.Builder installUpdatesOnBoot(com.hashicorp.cdktf.IResolvable installUpdatesOnBoot)
Sets the value ofOpsworksStaticWebLayerConfig.getInstallUpdatesOnBoot()- Parameters:
installUpdatesOnBoot- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/opsworks_static_web_layer#install_updates_on_boot OpsworksStaticWebLayer#install_updates_on_boot}.- Returns:
this
-
instanceShutdownTimeout
@Stability(Stable) public OpsworksStaticWebLayerConfig.Builder instanceShutdownTimeout(Number instanceShutdownTimeout)
Sets the value ofOpsworksStaticWebLayerConfig.getInstanceShutdownTimeout()- Parameters:
instanceShutdownTimeout- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/opsworks_static_web_layer#instance_shutdown_timeout OpsworksStaticWebLayer#instance_shutdown_timeout}.- Returns:
this
-
loadBasedAutoScaling
@Stability(Stable) public OpsworksStaticWebLayerConfig.Builder loadBasedAutoScaling(OpsworksStaticWebLayerLoadBasedAutoScaling loadBasedAutoScaling)
Sets the value ofOpsworksStaticWebLayerConfig.getLoadBasedAutoScaling()- Parameters:
loadBasedAutoScaling- load_based_auto_scaling block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/opsworks_static_web_layer#load_based_auto_scaling OpsworksStaticWebLayer#load_based_auto_scaling}- Returns:
this
-
name
@Stability(Stable) public OpsworksStaticWebLayerConfig.Builder name(String name)
Sets the value ofOpsworksStaticWebLayerConfig.getName()- Parameters:
name- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/opsworks_static_web_layer#name OpsworksStaticWebLayer#name}.- Returns:
this
-
systemPackages
@Stability(Stable) public OpsworksStaticWebLayerConfig.Builder systemPackages(List<String> systemPackages)
Sets the value ofOpsworksStaticWebLayerConfig.getSystemPackages()- Parameters:
systemPackages- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/opsworks_static_web_layer#system_packages OpsworksStaticWebLayer#system_packages}.- Returns:
this
-
tags
@Stability(Stable) public OpsworksStaticWebLayerConfig.Builder tags(Map<String,String> tags)
Sets the value ofOpsworksStaticWebLayerConfig.getTags()- Parameters:
tags- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/opsworks_static_web_layer#tags OpsworksStaticWebLayer#tags}.- Returns:
this
-
tagsAll
@Stability(Stable) public OpsworksStaticWebLayerConfig.Builder tagsAll(Map<String,String> tagsAll)
Sets the value ofOpsworksStaticWebLayerConfig.getTagsAll()- Parameters:
tagsAll- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/opsworks_static_web_layer#tags_all OpsworksStaticWebLayer#tags_all}.- Returns:
this
-
useEbsOptimizedInstances
@Stability(Stable) public OpsworksStaticWebLayerConfig.Builder useEbsOptimizedInstances(Boolean useEbsOptimizedInstances)
Sets the value ofOpsworksStaticWebLayerConfig.getUseEbsOptimizedInstances()- Parameters:
useEbsOptimizedInstances- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/opsworks_static_web_layer#use_ebs_optimized_instances OpsworksStaticWebLayer#use_ebs_optimized_instances}.- Returns:
this
-
useEbsOptimizedInstances
@Stability(Stable) public OpsworksStaticWebLayerConfig.Builder useEbsOptimizedInstances(com.hashicorp.cdktf.IResolvable useEbsOptimizedInstances)
Sets the value ofOpsworksStaticWebLayerConfig.getUseEbsOptimizedInstances()- Parameters:
useEbsOptimizedInstances- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/opsworks_static_web_layer#use_ebs_optimized_instances OpsworksStaticWebLayer#use_ebs_optimized_instances}.- Returns:
this
-
connection
@Stability(Experimental) public OpsworksStaticWebLayerConfig.Builder connection(com.hashicorp.cdktf.SSHProvisionerConnection connection)
Sets the value ofTerraformMetaArguments.getConnection()- Parameters:
connection- the value to be set.- Returns:
this
-
connection
@Stability(Experimental) public OpsworksStaticWebLayerConfig.Builder connection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
Sets the value ofTerraformMetaArguments.getConnection()- Parameters:
connection- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public OpsworksStaticWebLayerConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public OpsworksStaticWebLayerConfig.Builder count(com.hashicorp.cdktf.TerraformCount count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
dependsOn
@Stability(Experimental) public OpsworksStaticWebLayerConfig.Builder dependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
Sets the value ofTerraformMetaArguments.getDependsOn()- Parameters:
dependsOn- the value to be set.- Returns:
this
-
forEach
@Stability(Experimental) public OpsworksStaticWebLayerConfig.Builder forEach(com.hashicorp.cdktf.ITerraformIterator forEach)
Sets the value ofTerraformMetaArguments.getForEach()- Parameters:
forEach- the value to be set.- Returns:
this
-
lifecycle
@Stability(Experimental) public OpsworksStaticWebLayerConfig.Builder lifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
Sets the value ofTerraformMetaArguments.getLifecycle()- Parameters:
lifecycle- the value to be set.- Returns:
this
-
provider
@Stability(Experimental) public OpsworksStaticWebLayerConfig.Builder provider(com.hashicorp.cdktf.TerraformProvider provider)
Sets the value ofTerraformMetaArguments.getProvider()- Parameters:
provider- the value to be set.- Returns:
this
-
provisioners
@Stability(Experimental) public OpsworksStaticWebLayerConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public OpsworksStaticWebLayerConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<OpsworksStaticWebLayerConfig>- Returns:
- a new instance of
OpsworksStaticWebLayerConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-