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.getVpcCidrBlock
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
Resource Type definition for AWS::EC2::VPCCidrBlock
Using getVpcCidrBlock
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 getVpcCidrBlock(args: GetVpcCidrBlockArgs, opts?: InvokeOptions): Promise<GetVpcCidrBlockResult>
function getVpcCidrBlockOutput(args: GetVpcCidrBlockOutputArgs, opts?: InvokeOptions): Output<GetVpcCidrBlockResult>
def get_vpc_cidr_block(id: Optional[str] = None,
vpc_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetVpcCidrBlockResult
def get_vpc_cidr_block_output(id: Optional[pulumi.Input[str]] = None,
vpc_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetVpcCidrBlockResult]
func LookupVpcCidrBlock(ctx *Context, args *LookupVpcCidrBlockArgs, opts ...InvokeOption) (*LookupVpcCidrBlockResult, error)
func LookupVpcCidrBlockOutput(ctx *Context, args *LookupVpcCidrBlockOutputArgs, opts ...InvokeOption) LookupVpcCidrBlockResultOutput
> Note: This function is named LookupVpcCidrBlock
in the Go SDK.
public static class GetVpcCidrBlock
{
public static Task<GetVpcCidrBlockResult> InvokeAsync(GetVpcCidrBlockArgs args, InvokeOptions? opts = null)
public static Output<GetVpcCidrBlockResult> Invoke(GetVpcCidrBlockInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetVpcCidrBlockResult> getVpcCidrBlock(GetVpcCidrBlockArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws-native:ec2:getVpcCidrBlock
arguments:
# arguments dictionary
The following arguments are supported:
getVpcCidrBlock Result
The following output properties are available:
- Id string
- The Id of the VPC associated CIDR Block.
- Id string
- The Id of the VPC associated CIDR Block.
- id String
- The Id of the VPC associated CIDR Block.
- id string
- The Id of the VPC associated CIDR Block.
- id str
- The Id of the VPC associated CIDR Block.
- id String
- The Id of the VPC associated CIDR Block.
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