Class Alb

  • All Implemented Interfaces:
    com.hashicorp.cdktf.IInterpolatingParent, com.hashicorp.cdktf.ITerraformAddressable, com.hashicorp.cdktf.ITerraformDependable, com.hashicorp.cdktf.ITerraformResource, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

    @Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
               date="2023-06-30T04:56:50.049Z")
    @Stability(Stable)
    public class Alb
    extends com.hashicorp.cdktf.TerraformResource
    Represents a {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/alb aws_alb}.
    • Field Detail

      • TF_RESOURCE_TYPE

        @Stability(Stable)
        public static final String TF_RESOURCE_TYPE
    • Constructor Detail

      • Alb

        protected Alb​(software.amazon.jsii.JsiiObjectRef objRef)
      • Alb

        protected Alb​(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
      • Alb

        @Stability(Stable)
        public Alb​(@NotNull
                   software.constructs.Construct scope,
                   @NotNull
                   String id,
                   @Nullable
                   AlbConfig config)
        Create a new {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/alb aws_alb} Resource.

        Parameters:
        scope - The scope in which to define this construct. This parameter is required.
        id - The scoped construct ID. This parameter is required.
        config -
      • Alb

        @Stability(Stable)
        public Alb​(@NotNull
                   software.constructs.Construct scope,
                   @NotNull
                   String id)
        Create a new {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/alb aws_alb} Resource.

        Parameters:
        scope - The scope in which to define this construct. This parameter is required.
        id - The scoped construct ID. This parameter is required.
    • Method Detail

      • putAccessLogs

        @Stability(Stable)
        public void putAccessLogs​(@NotNull
                                  AlbAccessLogs value)
        Parameters:
        value - This parameter is required.
      • putSubnetMapping

        @Stability(Stable)
        public void putSubnetMapping​(@NotNull
                                     Object value)
        Parameters:
        value - This parameter is required.
      • putTimeouts

        @Stability(Stable)
        public void putTimeouts​(@NotNull
                                AlbTimeouts value)
        Parameters:
        value - This parameter is required.
      • resetAccessLogs

        @Stability(Stable)
        public void resetAccessLogs()
      • resetCustomerOwnedIpv4Pool

        @Stability(Stable)
        public void resetCustomerOwnedIpv4Pool()
      • resetDesyncMitigationMode

        @Stability(Stable)
        public void resetDesyncMitigationMode()
      • resetDropInvalidHeaderFields

        @Stability(Stable)
        public void resetDropInvalidHeaderFields()
      • resetEnableCrossZoneLoadBalancing

        @Stability(Stable)
        public void resetEnableCrossZoneLoadBalancing()
      • resetEnableDeletionProtection

        @Stability(Stable)
        public void resetEnableDeletionProtection()
      • resetEnableHttp2

        @Stability(Stable)
        public void resetEnableHttp2()
      • resetEnableTlsVersionAndCipherSuiteHeaders

        @Stability(Stable)
        public void resetEnableTlsVersionAndCipherSuiteHeaders()
      • resetEnableWafFailOpen

        @Stability(Stable)
        public void resetEnableWafFailOpen()
      • resetEnableXffClientPort

        @Stability(Stable)
        public void resetEnableXffClientPort()
      • resetId

        @Stability(Stable)
        public void resetId()
      • resetIdleTimeout

        @Stability(Stable)
        public void resetIdleTimeout()
      • resetInternal

        @Stability(Stable)
        public void resetInternal()
      • resetIpAddressType

        @Stability(Stable)
        public void resetIpAddressType()
      • resetLoadBalancerType

        @Stability(Stable)
        public void resetLoadBalancerType()
      • resetName

        @Stability(Stable)
        public void resetName()
      • resetNamePrefix

        @Stability(Stable)
        public void resetNamePrefix()
      • resetPreserveHostHeader

        @Stability(Stable)
        public void resetPreserveHostHeader()
      • resetSecurityGroups

        @Stability(Stable)
        public void resetSecurityGroups()
      • resetSubnetMapping

        @Stability(Stable)
        public void resetSubnetMapping()
      • resetSubnets

        @Stability(Stable)
        public void resetSubnets()
      • resetTags

        @Stability(Stable)
        public void resetTags()
      • resetTagsAll

        @Stability(Stable)
        public void resetTagsAll()
      • resetTimeouts

        @Stability(Stable)
        public void resetTimeouts()
      • resetXffHeaderProcessingMode

        @Stability(Stable)
        public void resetXffHeaderProcessingMode()
      • synthesizeAttributes

        @Stability(Stable)
        @NotNull
        protected Map<String,​Object> synthesizeAttributes()
        Overrides:
        synthesizeAttributes in class com.hashicorp.cdktf.TerraformResource
      • getArn

        @Stability(Stable)
        @NotNull
        public String getArn()
      • getArnSuffix

        @Stability(Stable)
        @NotNull
        public String getArnSuffix()
      • getDnsName

        @Stability(Stable)
        @NotNull
        public String getDnsName()
      • getVpcId

        @Stability(Stable)
        @NotNull
        public String getVpcId()
      • getZoneId

        @Stability(Stable)
        @NotNull
        public String getZoneId()
      • getAccessLogsInput

        @Stability(Stable)
        @Nullable
        public AlbAccessLogs getAccessLogsInput()
      • getCustomerOwnedIpv4PoolInput

        @Stability(Stable)
        @Nullable
        public String getCustomerOwnedIpv4PoolInput()
      • getDesyncMitigationModeInput

        @Stability(Stable)
        @Nullable
        public String getDesyncMitigationModeInput()
      • getDropInvalidHeaderFieldsInput

        @Stability(Stable)
        @Nullable
        public Object getDropInvalidHeaderFieldsInput()
      • getEnableCrossZoneLoadBalancingInput

        @Stability(Stable)
        @Nullable
        public Object getEnableCrossZoneLoadBalancingInput()
      • getEnableDeletionProtectionInput

        @Stability(Stable)
        @Nullable
        public Object getEnableDeletionProtectionInput()
      • getEnableHttp2Input

        @Stability(Stable)
        @Nullable
        public Object getEnableHttp2Input()
      • getEnableTlsVersionAndCipherSuiteHeadersInput

        @Stability(Stable)
        @Nullable
        public Object getEnableTlsVersionAndCipherSuiteHeadersInput()
      • getEnableWafFailOpenInput

        @Stability(Stable)
        @Nullable
        public Object getEnableWafFailOpenInput()
      • getEnableXffClientPortInput

        @Stability(Stable)
        @Nullable
        public Object getEnableXffClientPortInput()
      • getIdInput

        @Stability(Stable)
        @Nullable
        public String getIdInput()
      • getIdleTimeoutInput

        @Stability(Stable)
        @Nullable
        public Number getIdleTimeoutInput()
      • getInternalInput

        @Stability(Stable)
        @Nullable
        public Object getInternalInput()
      • getIpAddressTypeInput

        @Stability(Stable)
        @Nullable
        public String getIpAddressTypeInput()
      • getLoadBalancerTypeInput

        @Stability(Stable)
        @Nullable
        public String getLoadBalancerTypeInput()
      • getNameInput

        @Stability(Stable)
        @Nullable
        public String getNameInput()
      • getNamePrefixInput

        @Stability(Stable)
        @Nullable
        public String getNamePrefixInput()
      • getPreserveHostHeaderInput

        @Stability(Stable)
        @Nullable
        public Object getPreserveHostHeaderInput()
      • getSecurityGroupsInput

        @Stability(Stable)
        @Nullable
        public List<String> getSecurityGroupsInput()
      • getSubnetMappingInput

        @Stability(Stable)
        @Nullable
        public Object getSubnetMappingInput()
      • getSubnetsInput

        @Stability(Stable)
        @Nullable
        public List<String> getSubnetsInput()
      • getTagsAllInput

        @Stability(Stable)
        @Nullable
        public Map<String,​String> getTagsAllInput()
      • getTagsInput

        @Stability(Stable)
        @Nullable
        public Map<String,​String> getTagsInput()
      • getTimeoutsInput

        @Stability(Stable)
        @Nullable
        public Object getTimeoutsInput()
      • getXffHeaderProcessingModeInput

        @Stability(Stable)
        @Nullable
        public String getXffHeaderProcessingModeInput()
      • getCustomerOwnedIpv4Pool

        @Stability(Stable)
        @NotNull
        public String getCustomerOwnedIpv4Pool()
      • setCustomerOwnedIpv4Pool

        @Stability(Stable)
        public void setCustomerOwnedIpv4Pool​(@NotNull
                                             String value)
      • getDesyncMitigationMode

        @Stability(Stable)
        @NotNull
        public String getDesyncMitigationMode()
      • setDesyncMitigationMode

        @Stability(Stable)
        public void setDesyncMitigationMode​(@NotNull
                                            String value)
      • getDropInvalidHeaderFields

        @Stability(Stable)
        @NotNull
        public Object getDropInvalidHeaderFields()
      • setDropInvalidHeaderFields

        @Stability(Stable)
        public void setDropInvalidHeaderFields​(@NotNull
                                               Boolean value)
      • setDropInvalidHeaderFields

        @Stability(Stable)
        public void setDropInvalidHeaderFields​(@NotNull
                                               com.hashicorp.cdktf.IResolvable value)
      • getEnableCrossZoneLoadBalancing

        @Stability(Stable)
        @NotNull
        public Object getEnableCrossZoneLoadBalancing()
      • setEnableCrossZoneLoadBalancing

        @Stability(Stable)
        public void setEnableCrossZoneLoadBalancing​(@NotNull
                                                    Boolean value)
      • setEnableCrossZoneLoadBalancing

        @Stability(Stable)
        public void setEnableCrossZoneLoadBalancing​(@NotNull
                                                    com.hashicorp.cdktf.IResolvable value)
      • getEnableDeletionProtection

        @Stability(Stable)
        @NotNull
        public Object getEnableDeletionProtection()
      • setEnableDeletionProtection

        @Stability(Stable)
        public void setEnableDeletionProtection​(@NotNull
                                                Boolean value)
      • setEnableDeletionProtection

        @Stability(Stable)
        public void setEnableDeletionProtection​(@NotNull
                                                com.hashicorp.cdktf.IResolvable value)
      • getEnableHttp2

        @Stability(Stable)
        @NotNull
        public Object getEnableHttp2()
      • setEnableHttp2

        @Stability(Stable)
        public void setEnableHttp2​(@NotNull
                                   Boolean value)
      • setEnableHttp2

        @Stability(Stable)
        public void setEnableHttp2​(@NotNull
                                   com.hashicorp.cdktf.IResolvable value)
      • getEnableTlsVersionAndCipherSuiteHeaders

        @Stability(Stable)
        @NotNull
        public Object getEnableTlsVersionAndCipherSuiteHeaders()
      • setEnableTlsVersionAndCipherSuiteHeaders

        @Stability(Stable)
        public void setEnableTlsVersionAndCipherSuiteHeaders​(@NotNull
                                                             Boolean value)
      • setEnableTlsVersionAndCipherSuiteHeaders

        @Stability(Stable)
        public void setEnableTlsVersionAndCipherSuiteHeaders​(@NotNull
                                                             com.hashicorp.cdktf.IResolvable value)
      • getEnableWafFailOpen

        @Stability(Stable)
        @NotNull
        public Object getEnableWafFailOpen()
      • setEnableWafFailOpen

        @Stability(Stable)
        public void setEnableWafFailOpen​(@NotNull
                                         Boolean value)
      • setEnableWafFailOpen

        @Stability(Stable)
        public void setEnableWafFailOpen​(@NotNull
                                         com.hashicorp.cdktf.IResolvable value)
      • getEnableXffClientPort

        @Stability(Stable)
        @NotNull
        public Object getEnableXffClientPort()
      • setEnableXffClientPort

        @Stability(Stable)
        public void setEnableXffClientPort​(@NotNull
                                           Boolean value)
      • setEnableXffClientPort

        @Stability(Stable)
        public void setEnableXffClientPort​(@NotNull
                                           com.hashicorp.cdktf.IResolvable value)
      • getId

        @Stability(Stable)
        @NotNull
        public String getId()
      • setId

        @Stability(Stable)
        public void setId​(@NotNull
                          String value)
      • getIdleTimeout

        @Stability(Stable)
        @NotNull
        public Number getIdleTimeout()
      • setIdleTimeout

        @Stability(Stable)
        public void setIdleTimeout​(@NotNull
                                   Number value)
      • getInternal

        @Stability(Stable)
        @NotNull
        public Object getInternal()
      • setInternal

        @Stability(Stable)
        public void setInternal​(@NotNull
                                Boolean value)
      • setInternal

        @Stability(Stable)
        public void setInternal​(@NotNull
                                com.hashicorp.cdktf.IResolvable value)
      • getIpAddressType

        @Stability(Stable)
        @NotNull
        public String getIpAddressType()
      • setIpAddressType

        @Stability(Stable)
        public void setIpAddressType​(@NotNull
                                     String value)
      • getLoadBalancerType

        @Stability(Stable)
        @NotNull
        public String getLoadBalancerType()
      • setLoadBalancerType

        @Stability(Stable)
        public void setLoadBalancerType​(@NotNull
                                        String value)
      • getName

        @Stability(Stable)
        @NotNull
        public String getName()
      • setName

        @Stability(Stable)
        public void setName​(@NotNull
                            String value)
      • getNamePrefix

        @Stability(Stable)
        @NotNull
        public String getNamePrefix()
      • setNamePrefix

        @Stability(Stable)
        public void setNamePrefix​(@NotNull
                                  String value)
      • getPreserveHostHeader

        @Stability(Stable)
        @NotNull
        public Object getPreserveHostHeader()
      • setPreserveHostHeader

        @Stability(Stable)
        public void setPreserveHostHeader​(@NotNull
                                          Boolean value)
      • setPreserveHostHeader

        @Stability(Stable)
        public void setPreserveHostHeader​(@NotNull
                                          com.hashicorp.cdktf.IResolvable value)
      • getSecurityGroups

        @Stability(Stable)
        @NotNull
        public List<String> getSecurityGroups()
      • setSecurityGroups

        @Stability(Stable)
        public void setSecurityGroups​(@NotNull
                                      List<String> value)
      • getSubnets

        @Stability(Stable)
        @NotNull
        public List<String> getSubnets()
      • setSubnets

        @Stability(Stable)
        public void setSubnets​(@NotNull
                               List<String> value)
      • getTags

        @Stability(Stable)
        @NotNull
        public Map<String,​String> getTags()
      • setTags

        @Stability(Stable)
        public void setTags​(@NotNull
                            Map<String,​String> value)
      • getTagsAll

        @Stability(Stable)
        @NotNull
        public Map<String,​String> getTagsAll()
      • setTagsAll

        @Stability(Stable)
        public void setTagsAll​(@NotNull
                               Map<String,​String> value)
      • getXffHeaderProcessingMode

        @Stability(Stable)
        @NotNull
        public String getXffHeaderProcessingMode()
      • setXffHeaderProcessingMode

        @Stability(Stable)
        public void setXffHeaderProcessingMode​(@NotNull
                                               String value)