1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. cidr

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.cidr

Explore with Pulumi AI

aws-native logo

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

    Using cidr

    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 cidr(args: CidrArgs, opts?: InvokeOptions): Promise<CidrResult>
    function cidrOutput(args: CidrOutputArgs, opts?: InvokeOptions): Output<CidrResult>
    def cidr(cidr_bits: Optional[int] = None,
             count: Optional[int] = None,
             ip_block: Optional[str] = None,
             opts: Optional[InvokeOptions] = None) -> CidrResult
    def cidr_output(cidr_bits: Optional[pulumi.Input[int]] = None,
             count: Optional[pulumi.Input[int]] = None,
             ip_block: Optional[pulumi.Input[str]] = None,
             opts: Optional[InvokeOptions] = None) -> Output[CidrResult]
    func Cidr(ctx *Context, args *CidrArgs, opts ...InvokeOption) (*CidrResult, error)
    func CidrOutput(ctx *Context, args *CidrOutputArgs, opts ...InvokeOption) CidrResultOutput

    > Note: This function is named Cidr in the Go SDK.

    public static class Cidr 
    {
        public static Task<CidrResult> InvokeAsync(CidrArgs args, InvokeOptions? opts = null)
        public static Output<CidrResult> Invoke(CidrInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<CidrResult> cidr(CidrArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: aws-native:cidr
      arguments:
        # arguments dictionary

    The following arguments are supported:

    CidrBits int
    Count int
    IpBlock string
    CidrBits int
    Count int
    IpBlock string
    cidrBits Integer
    count Integer
    ipBlock String
    cidrBits number
    count number
    ipBlock string
    cidrBits Number
    count Number
    ipBlock String

    cidr Result

    The following output properties are available:

    Subnets List<string>
    Subnets []string
    subnets List<String>
    subnets string[]
    subnets Sequence[str]
    subnets List<String>

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    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