We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.0.1 published on Tuesday, Oct 1, 2024 by Pulumi
aws-native.ec2.getVpcCidrBlock
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.0.1 published on Tuesday, Oct 1, 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.
- Ip
Source string - The IP Source of an IPv6 VPC CIDR Block.
- Ipv6Address
Attribute string - The value denoting whether an IPv6 VPC CIDR Block is public or private.
- Id string
- The Id of the VPC associated CIDR Block.
- Ip
Source string - The IP Source of an IPv6 VPC CIDR Block.
- Ipv6Address
Attribute string - The value denoting whether an IPv6 VPC CIDR Block is public or private.
- id String
- The Id of the VPC associated CIDR Block.
- ip
Source String - The IP Source of an IPv6 VPC CIDR Block.
- ipv6Address
Attribute String - The value denoting whether an IPv6 VPC CIDR Block is public or private.
- id string
- The Id of the VPC associated CIDR Block.
- ip
Source string - The IP Source of an IPv6 VPC CIDR Block.
- ipv6Address
Attribute string - The value denoting whether an IPv6 VPC CIDR Block is public or private.
- id str
- The Id of the VPC associated CIDR Block.
- ip_
source str - The IP Source of an IPv6 VPC CIDR Block.
- ipv6_
address_ strattribute - The value denoting whether an IPv6 VPC CIDR Block is public or private.
- id String
- The Id of the VPC associated CIDR Block.
- ip
Source String - The IP Source of an IPv6 VPC CIDR Block.
- ipv6Address
Attribute String - The value denoting whether an IPv6 VPC 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.0.1 published on Tuesday, Oct 1, 2024 by Pulumi