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

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 logo

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:

    Id string
    The Id of the VPC associated CIDR Block.
    VpcId string
    The ID of the VPC.
    Id string
    The Id of the VPC associated CIDR Block.
    VpcId string
    The ID of the VPC.
    id String
    The Id of the VPC associated CIDR Block.
    vpcId String
    The ID of the VPC.
    id string
    The Id of the VPC associated CIDR Block.
    vpcId string
    The ID of the VPC.
    id str
    The Id of the VPC associated CIDR Block.
    vpc_id str
    The ID of the VPC.
    id String
    The Id of the VPC associated CIDR Block.
    vpcId String
    The ID of the VPC.

    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 logo

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

    AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi