We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi
aws-native.ec2.getSubnetCidrBlock
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi
The AWS::EC2::SubnetCidrBlock resource creates association between subnet and IPv6 CIDR
Using getSubnetCidrBlock
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getSubnetCidrBlock(args: GetSubnetCidrBlockArgs, opts?: InvokeOptions): Promise<GetSubnetCidrBlockResult>
function getSubnetCidrBlockOutput(args: GetSubnetCidrBlockOutputArgs, opts?: InvokeOptions): Output<GetSubnetCidrBlockResult>
def get_subnet_cidr_block(id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetSubnetCidrBlockResult
def get_subnet_cidr_block_output(id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetSubnetCidrBlockResult]
func LookupSubnetCidrBlock(ctx *Context, args *LookupSubnetCidrBlockArgs, opts ...InvokeOption) (*LookupSubnetCidrBlockResult, error)
func LookupSubnetCidrBlockOutput(ctx *Context, args *LookupSubnetCidrBlockOutputArgs, opts ...InvokeOption) LookupSubnetCidrBlockResultOutput
> Note: This function is named LookupSubnetCidrBlock
in the Go SDK.
public static class GetSubnetCidrBlock
{
public static Task<GetSubnetCidrBlockResult> InvokeAsync(GetSubnetCidrBlockArgs args, InvokeOptions? opts = null)
public static Output<GetSubnetCidrBlockResult> Invoke(GetSubnetCidrBlockInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetSubnetCidrBlockResult> getSubnetCidrBlock(GetSubnetCidrBlockArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws-native:ec2:getSubnetCidrBlock
arguments:
# arguments dictionary
The following arguments are supported:
- Id string
- Information about the IPv6 association.
- Id string
- Information about the IPv6 association.
- id String
- Information about the IPv6 association.
- id string
- Information about the IPv6 association.
- id str
- Information about the IPv6 association.
- id String
- Information about the IPv6 association.
getSubnetCidrBlock Result
The following output properties are available:
- Id string
- Information about the IPv6 association.
- Ip
Source string - The IP Source of an IPv6 Subnet CIDR Block.
- Ipv6Address
Attribute string - The value denoting whether an IPv6 Subnet CIDR Block is public or private.
- Id string
- Information about the IPv6 association.
- Ip
Source string - The IP Source of an IPv6 Subnet CIDR Block.
- Ipv6Address
Attribute string - The value denoting whether an IPv6 Subnet CIDR Block is public or private.
- id String
- Information about the IPv6 association.
- ip
Source String - The IP Source of an IPv6 Subnet CIDR Block.
- ipv6Address
Attribute String - The value denoting whether an IPv6 Subnet CIDR Block is public or private.
- id string
- Information about the IPv6 association.
- ip
Source string - The IP Source of an IPv6 Subnet CIDR Block.
- ipv6Address
Attribute string - The value denoting whether an IPv6 Subnet CIDR Block is public or private.
- id str
- Information about the IPv6 association.
- ip_
source str - The IP Source of an IPv6 Subnet CIDR Block.
- ipv6_
address_ strattribute - The value denoting whether an IPv6 Subnet CIDR Block is public or private.
- id String
- Information about the IPv6 association.
- ip
Source String - The IP Source of an IPv6 Subnet CIDR Block.
- ipv6Address
Attribute String - The value denoting whether an IPv6 Subnet CIDR Block is public or private.
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi