Class Vpc

  • 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:55.428Z")
    @Stability(Stable)
    public class Vpc
    extends com.hashicorp.cdktf.TerraformResource
    Represents a {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/vpc aws_vpc}.
    • Field Detail

      • TF_RESOURCE_TYPE

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

      • Vpc

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

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

        @Stability(Stable)
        public Vpc​(@NotNull
                   software.constructs.Construct scope,
                   @NotNull
                   String id,
                   @Nullable
                   VpcConfig config)
        Create a new {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/vpc aws_vpc} 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 -
      • Vpc

        @Stability(Stable)
        public Vpc​(@NotNull
                   software.constructs.Construct scope,
                   @NotNull
                   String id)
        Create a new {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/vpc aws_vpc} 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

      • resetAssignGeneratedIpv6CidrBlock

        @Stability(Stable)
        public void resetAssignGeneratedIpv6CidrBlock()
      • resetCidrBlock

        @Stability(Stable)
        public void resetCidrBlock()
      • resetEnableDnsHostnames

        @Stability(Stable)
        public void resetEnableDnsHostnames()
      • resetEnableDnsSupport

        @Stability(Stable)
        public void resetEnableDnsSupport()
      • resetEnableNetworkAddressUsageMetrics

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

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

        @Stability(Stable)
        public void resetInstanceTenancy()
      • resetIpv4IpamPoolId

        @Stability(Stable)
        public void resetIpv4IpamPoolId()
      • resetIpv4NetmaskLength

        @Stability(Stable)
        public void resetIpv4NetmaskLength()
      • resetIpv6CidrBlock

        @Stability(Stable)
        public void resetIpv6CidrBlock()
      • resetIpv6CidrBlockNetworkBorderGroup

        @Stability(Stable)
        public void resetIpv6CidrBlockNetworkBorderGroup()
      • resetIpv6IpamPoolId

        @Stability(Stable)
        public void resetIpv6IpamPoolId()
      • resetIpv6NetmaskLength

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

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

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

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

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

        @Stability(Stable)
        @NotNull
        public String getDefaultNetworkAclId()
      • getDefaultRouteTableId

        @Stability(Stable)
        @NotNull
        public String getDefaultRouteTableId()
      • getDefaultSecurityGroupId

        @Stability(Stable)
        @NotNull
        public String getDefaultSecurityGroupId()
      • getDhcpOptionsId

        @Stability(Stable)
        @NotNull
        public String getDhcpOptionsId()
      • getIpv6AssociationId

        @Stability(Stable)
        @NotNull
        public String getIpv6AssociationId()
      • getMainRouteTableId

        @Stability(Stable)
        @NotNull
        public String getMainRouteTableId()
      • getOwnerId

        @Stability(Stable)
        @NotNull
        public String getOwnerId()
      • getAssignGeneratedIpv6CidrBlockInput

        @Stability(Stable)
        @Nullable
        public Object getAssignGeneratedIpv6CidrBlockInput()
      • getCidrBlockInput

        @Stability(Stable)
        @Nullable
        public String getCidrBlockInput()
      • getEnableDnsHostnamesInput

        @Stability(Stable)
        @Nullable
        public Object getEnableDnsHostnamesInput()
      • getEnableDnsSupportInput

        @Stability(Stable)
        @Nullable
        public Object getEnableDnsSupportInput()
      • getEnableNetworkAddressUsageMetricsInput

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

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

        @Stability(Stable)
        @Nullable
        public String getInstanceTenancyInput()
      • getIpv4IpamPoolIdInput

        @Stability(Stable)
        @Nullable
        public String getIpv4IpamPoolIdInput()
      • getIpv4NetmaskLengthInput

        @Stability(Stable)
        @Nullable
        public Number getIpv4NetmaskLengthInput()
      • getIpv6CidrBlockInput

        @Stability(Stable)
        @Nullable
        public String getIpv6CidrBlockInput()
      • getIpv6CidrBlockNetworkBorderGroupInput

        @Stability(Stable)
        @Nullable
        public String getIpv6CidrBlockNetworkBorderGroupInput()
      • getIpv6IpamPoolIdInput

        @Stability(Stable)
        @Nullable
        public String getIpv6IpamPoolIdInput()
      • getIpv6NetmaskLengthInput

        @Stability(Stable)
        @Nullable
        public Number getIpv6NetmaskLengthInput()
      • getTagsAllInput

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

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

        @Stability(Stable)
        @NotNull
        public Object getAssignGeneratedIpv6CidrBlock()
      • setAssignGeneratedIpv6CidrBlock

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

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

        @Stability(Stable)
        @NotNull
        public String getCidrBlock()
      • setCidrBlock

        @Stability(Stable)
        public void setCidrBlock​(@NotNull
                                 String value)
      • getEnableDnsHostnames

        @Stability(Stable)
        @NotNull
        public Object getEnableDnsHostnames()
      • setEnableDnsHostnames

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

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

        @Stability(Stable)
        @NotNull
        public Object getEnableDnsSupport()
      • setEnableDnsSupport

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

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

        @Stability(Stable)
        @NotNull
        public Object getEnableNetworkAddressUsageMetrics()
      • setEnableNetworkAddressUsageMetrics

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

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

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

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

        @Stability(Stable)
        @NotNull
        public String getInstanceTenancy()
      • setInstanceTenancy

        @Stability(Stable)
        public void setInstanceTenancy​(@NotNull
                                       String value)
      • getIpv4IpamPoolId

        @Stability(Stable)
        @NotNull
        public String getIpv4IpamPoolId()
      • setIpv4IpamPoolId

        @Stability(Stable)
        public void setIpv4IpamPoolId​(@NotNull
                                      String value)
      • getIpv4NetmaskLength

        @Stability(Stable)
        @NotNull
        public Number getIpv4NetmaskLength()
      • setIpv4NetmaskLength

        @Stability(Stable)
        public void setIpv4NetmaskLength​(@NotNull
                                         Number value)
      • getIpv6CidrBlock

        @Stability(Stable)
        @NotNull
        public String getIpv6CidrBlock()
      • setIpv6CidrBlock

        @Stability(Stable)
        public void setIpv6CidrBlock​(@NotNull
                                     String value)
      • getIpv6CidrBlockNetworkBorderGroup

        @Stability(Stable)
        @NotNull
        public String getIpv6CidrBlockNetworkBorderGroup()
      • setIpv6CidrBlockNetworkBorderGroup

        @Stability(Stable)
        public void setIpv6CidrBlockNetworkBorderGroup​(@NotNull
                                                       String value)
      • getIpv6IpamPoolId

        @Stability(Stable)
        @NotNull
        public String getIpv6IpamPoolId()
      • setIpv6IpamPoolId

        @Stability(Stable)
        public void setIpv6IpamPoolId​(@NotNull
                                      String value)
      • getIpv6NetmaskLength

        @Stability(Stable)
        @NotNull
        public Number getIpv6NetmaskLength()
      • setIpv6NetmaskLength

        @Stability(Stable)
        public void setIpv6NetmaskLength​(@NotNull
                                         Number 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)