AWS Native is in preview. AWS Classic is fully supported.
AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi
aws-native.ec2.getSubnetCidrBlock
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
AWS Native v0.109.0 published on Wednesday, Jun 26, 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.
- 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.
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
AWS Native is in preview. AWS Classic is fully supported.
AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi