Class VpcState


  • public final class VpcState
    extends com.pulumi.resources.ResourceArgs
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  VpcState.Builder  
      • Nested classes/interfaces inherited from class com.pulumi.resources.InputArgs

        com.pulumi.resources.InputArgs.InputArgsInternal
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static VpcState Empty  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> arn()  
      java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> assignGeneratedIpv6CidrBlock()  
      static VpcState.Builder builder()  
      static VpcState.Builder builder​(VpcState defaults)  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> cidrBlock()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> defaultNetworkAclId()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> defaultRouteTableId()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> defaultSecurityGroupId()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> dhcpOptionsId()  
      java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> enableClassiclink()
      Deprecated.
      With the retirement of EC2-Classic the enable_classiclink attribute has been deprecated and will be removed in a future version.
      java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> enableClassiclinkDnsSupport()
      Deprecated.
      With the retirement of EC2-Classic the enable_classiclink_dns_support attribute has been deprecated and will be removed in a future version.
      java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> enableDnsHostnames()  
      java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> enableDnsSupport()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> instanceTenancy()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> ipv4IpamPoolId()  
      java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> ipv4NetmaskLength()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> ipv6AssociationId()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> ipv6CidrBlock()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> ipv6CidrBlockNetworkBorderGroup()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> ipv6IpamPoolId()  
      java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> ipv6NetmaskLength()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> mainRouteTableId()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> ownerId()  
      java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>>> tags()  
      java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>>> tagsAll()  
      • Methods inherited from class com.pulumi.resources.ResourceArgs

        validateMember
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • Empty

        public static final VpcState Empty
    • Method Detail

      • arn

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> arn()
        Returns:
        Amazon Resource Name (ARN) of VPC
      • assignGeneratedIpv6CidrBlock

        public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> assignGeneratedIpv6CidrBlock()
        Returns:
        Requests an Amazon-provided IPv6 CIDR block with a /56 prefix length for the VPC. You cannot specify the range of IP addresses, or the size of the CIDR block. Default is `false`. Conflicts with `ipv6_ipam_pool_id`
      • cidrBlock

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> cidrBlock()
        Returns:
        The IPv4 CIDR block for the VPC. CIDR can be explicitly set or it can be derived from IPAM using `ipv4_netmask_length`.
      • defaultNetworkAclId

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> defaultNetworkAclId()
        Returns:
        The ID of the network ACL created by default on VPC creation
      • defaultRouteTableId

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> defaultRouteTableId()
        Returns:
        The ID of the route table created by default on VPC creation
      • defaultSecurityGroupId

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> defaultSecurityGroupId()
        Returns:
        The ID of the security group created by default on VPC creation
      • dhcpOptionsId

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> dhcpOptionsId()
      • enableClassiclink

        @Deprecated
        public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> enableClassiclink()
        Deprecated.
        With the retirement of EC2-Classic the enable_classiclink attribute has been deprecated and will be removed in a future version.
        Returns:
        A boolean flag to enable/disable ClassicLink for the VPC. Only valid in regions and accounts that support EC2 Classic. See the [ClassicLink documentation](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-classiclink.html) for more information. Defaults false.
      • enableClassiclinkDnsSupport

        @Deprecated
        public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> enableClassiclinkDnsSupport()
        Deprecated.
        With the retirement of EC2-Classic the enable_classiclink_dns_support attribute has been deprecated and will be removed in a future version.
        Returns:
        A boolean flag to enable/disable ClassicLink DNS Support for the VPC. Only valid in regions and accounts that support EC2 Classic.
      • enableDnsHostnames

        public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> enableDnsHostnames()
        Returns:
        A boolean flag to enable/disable DNS hostnames in the VPC. Defaults false.
      • enableDnsSupport

        public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> enableDnsSupport()
        Returns:
        A boolean flag to enable/disable DNS support in the VPC. Defaults true.
      • instanceTenancy

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> instanceTenancy()
        Returns:
        A tenancy option for instances launched into the VPC. Default is `default`, which ensures that EC2 instances launched in this VPC use the EC2 instance tenancy attribute specified when the EC2 instance is launched. The only other option is `dedicated`, which ensures that EC2 instances launched in this VPC are run on dedicated tenancy instances regardless of the tenancy attribute specified at launch. This has a dedicated per region fee of $2 per hour, plus an hourly per instance usage fee.
      • ipv4IpamPoolId

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> ipv4IpamPoolId()
        Returns:
        The ID of an IPv4 IPAM pool you want to use for allocating this VPC's CIDR. IPAM is a VPC feature that you can use to automate your IP address management workflows including assigning, tracking, troubleshooting, and auditing IP addresses across AWS Regions and accounts. Using IPAM you can monitor IP address usage throughout your AWS Organization.
      • ipv4NetmaskLength

        public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> ipv4NetmaskLength()
        Returns:
        The netmask length of the IPv4 CIDR you want to allocate to this VPC. Requires specifying a `ipv4_ipam_pool_id`.
      • ipv6AssociationId

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> ipv6AssociationId()
        Returns:
        The association ID for the IPv6 CIDR block.
      • ipv6CidrBlock

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> ipv6CidrBlock()
        Returns:
        IPv6 CIDR block to request from an IPAM Pool. Can be set explicitly or derived from IPAM using `ipv6_netmask_length`.
      • ipv6CidrBlockNetworkBorderGroup

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> ipv6CidrBlockNetworkBorderGroup()
        Returns:
        By default when an IPv6 CIDR is assigned to a VPC a default ipv6_cidr_block_network_border_group will be set to the region of the VPC. This can be changed to restrict advertisement of public addresses to specific Network Border Groups such as LocalZones.
      • ipv6IpamPoolId

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> ipv6IpamPoolId()
        Returns:
        IPAM Pool ID for a IPv6 pool. Conflicts with `assign_generated_ipv6_cidr_block`.
      • ipv6NetmaskLength

        public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> ipv6NetmaskLength()
        Returns:
        Netmask length to request from IPAM Pool. Conflicts with `ipv6_cidr_block`. This can be omitted if IPAM pool as a `allocation_default_netmask_length` set. Valid values: `56`.
      • mainRouteTableId

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> mainRouteTableId()
        Returns:
        The ID of the main route table associated with this VPC. Note that you can change a VPC's main route table by using an `aws.ec2.MainRouteTableAssociation`.
      • ownerId

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> ownerId()
        Returns:
        The ID of the AWS account that owns the VPC.
      • tags

        public java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>>> tags()
        Returns:
        A map of tags to assign to the resource. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
      • tagsAll

        public java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>>> tagsAll()
        Returns:
        A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.