1. Packages
  2. AWS Native
  3. API Docs
  4. ec2
  5. SubnetCidrBlock

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.100.0 published on Wednesday, Mar 27, 2024 by Pulumi

aws-native.ec2.SubnetCidrBlock

Explore with Pulumi AI

aws-native logo

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.100.0 published on Wednesday, Mar 27, 2024 by Pulumi

    The AWS::EC2::SubnetCidrBlock resource creates association between subnet and IPv6 CIDR

    Create SubnetCidrBlock Resource

    new SubnetCidrBlock(name: string, args: SubnetCidrBlockArgs, opts?: CustomResourceOptions);
    @overload
    def SubnetCidrBlock(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        ipv6_cidr_block: Optional[str] = None,
                        ipv6_ipam_pool_id: Optional[str] = None,
                        ipv6_netmask_length: Optional[int] = None,
                        subnet_id: Optional[str] = None)
    @overload
    def SubnetCidrBlock(resource_name: str,
                        args: SubnetCidrBlockArgs,
                        opts: Optional[ResourceOptions] = None)
    func NewSubnetCidrBlock(ctx *Context, name string, args SubnetCidrBlockArgs, opts ...ResourceOption) (*SubnetCidrBlock, error)
    public SubnetCidrBlock(string name, SubnetCidrBlockArgs args, CustomResourceOptions? opts = null)
    public SubnetCidrBlock(String name, SubnetCidrBlockArgs args)
    public SubnetCidrBlock(String name, SubnetCidrBlockArgs args, CustomResourceOptions options)
    
    type: aws-native:ec2:SubnetCidrBlock
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args SubnetCidrBlockArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args SubnetCidrBlockArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args SubnetCidrBlockArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SubnetCidrBlockArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args SubnetCidrBlockArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    SubnetCidrBlock Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The SubnetCidrBlock resource accepts the following input properties:

    SubnetId string
    The ID of the subnet
    Ipv6CidrBlock string
    The IPv6 network range for the subnet, in CIDR notation. The subnet size must use a /64 prefix length
    Ipv6IpamPoolId string
    The ID of an IPv6 Amazon VPC IP Address Manager (IPAM) pool from which to allocate, to get the subnet's CIDR
    Ipv6NetmaskLength int
    The netmask length of the IPv6 CIDR to allocate to the subnet from an IPAM pool
    SubnetId string
    The ID of the subnet
    Ipv6CidrBlock string
    The IPv6 network range for the subnet, in CIDR notation. The subnet size must use a /64 prefix length
    Ipv6IpamPoolId string
    The ID of an IPv6 Amazon VPC IP Address Manager (IPAM) pool from which to allocate, to get the subnet's CIDR
    Ipv6NetmaskLength int
    The netmask length of the IPv6 CIDR to allocate to the subnet from an IPAM pool
    subnetId String
    The ID of the subnet
    ipv6CidrBlock String
    The IPv6 network range for the subnet, in CIDR notation. The subnet size must use a /64 prefix length
    ipv6IpamPoolId String
    The ID of an IPv6 Amazon VPC IP Address Manager (IPAM) pool from which to allocate, to get the subnet's CIDR
    ipv6NetmaskLength Integer
    The netmask length of the IPv6 CIDR to allocate to the subnet from an IPAM pool
    subnetId string
    The ID of the subnet
    ipv6CidrBlock string
    The IPv6 network range for the subnet, in CIDR notation. The subnet size must use a /64 prefix length
    ipv6IpamPoolId string
    The ID of an IPv6 Amazon VPC IP Address Manager (IPAM) pool from which to allocate, to get the subnet's CIDR
    ipv6NetmaskLength number
    The netmask length of the IPv6 CIDR to allocate to the subnet from an IPAM pool
    subnet_id str
    The ID of the subnet
    ipv6_cidr_block str
    The IPv6 network range for the subnet, in CIDR notation. The subnet size must use a /64 prefix length
    ipv6_ipam_pool_id str
    The ID of an IPv6 Amazon VPC IP Address Manager (IPAM) pool from which to allocate, to get the subnet's CIDR
    ipv6_netmask_length int
    The netmask length of the IPv6 CIDR to allocate to the subnet from an IPAM pool
    subnetId String
    The ID of the subnet
    ipv6CidrBlock String
    The IPv6 network range for the subnet, in CIDR notation. The subnet size must use a /64 prefix length
    ipv6IpamPoolId String
    The ID of an IPv6 Amazon VPC IP Address Manager (IPAM) pool from which to allocate, to get the subnet's CIDR
    ipv6NetmaskLength Number
    The netmask length of the IPv6 CIDR to allocate to the subnet from an IPAM pool

    Outputs

    All input properties are implicitly available as output properties. Additionally, the SubnetCidrBlock resource produces the following output properties:

    AwsId string
    Information about the IPv6 association.
    Id string
    The provider-assigned unique ID for this managed resource.
    AwsId string
    Information about the IPv6 association.
    Id string
    The provider-assigned unique ID for this managed resource.
    awsId String
    Information about the IPv6 association.
    id String
    The provider-assigned unique ID for this managed resource.
    awsId string
    Information about the IPv6 association.
    id string
    The provider-assigned unique ID for this managed resource.
    aws_id str
    Information about the IPv6 association.
    id str
    The provider-assigned unique ID for this managed resource.
    awsId String
    Information about the IPv6 association.
    id String
    The provider-assigned unique ID for this managed resource.

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    AWS Native is in preview. AWS Classic is fully supported.

    AWS Native v0.100.0 published on Wednesday, Mar 27, 2024 by Pulumi