@pulumi/aws
Version:
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.
108 lines (107 loc) • 3.5 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
* Provides details about a specific EC2 Customer-Owned IP Pool.
*
* This data source can prove useful when a module accepts a coip pool id as
* an input variable and needs to, for example, determine the CIDR block of that
* COIP Pool.
*
* ## Example Usage
*
* The following example returns a specific coip pool ID
*/
export declare function getCoipPool(args?: GetCoipPoolArgs, opts?: pulumi.InvokeOptions): Promise<GetCoipPoolResult>;
/**
* A collection of arguments for invoking getCoipPool.
*/
export interface GetCoipPoolArgs {
filters?: inputs.ec2.GetCoipPoolFilter[];
/**
* Local Gateway Route Table Id assigned to desired COIP Pool
*/
localGatewayRouteTableId?: string;
/**
* ID of the specific COIP Pool to retrieve.
*/
poolId?: string;
/**
* Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
*/
region?: string;
/**
* Mapping of tags, each pair of which must exactly match
* a pair on the desired COIP Pool.
*
* More complex filters can be expressed using one or more `filter` sub-blocks,
* which take the following arguments:
*/
tags?: {
[key: string]: string;
};
}
/**
* A collection of values returned by getCoipPool.
*/
export interface GetCoipPoolResult {
/**
* ARN of the COIP pool
*/
readonly arn: string;
readonly filters?: outputs.ec2.GetCoipPoolFilter[];
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
readonly localGatewayRouteTableId: string;
/**
* Set of CIDR blocks in pool
*/
readonly poolCidrs: string[];
readonly poolId: string;
readonly region: string;
readonly tags: {
[key: string]: string;
};
}
/**
* Provides details about a specific EC2 Customer-Owned IP Pool.
*
* This data source can prove useful when a module accepts a coip pool id as
* an input variable and needs to, for example, determine the CIDR block of that
* COIP Pool.
*
* ## Example Usage
*
* The following example returns a specific coip pool ID
*/
export declare function getCoipPoolOutput(args?: GetCoipPoolOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetCoipPoolResult>;
/**
* A collection of arguments for invoking getCoipPool.
*/
export interface GetCoipPoolOutputArgs {
filters?: pulumi.Input<pulumi.Input<inputs.ec2.GetCoipPoolFilterArgs>[]>;
/**
* Local Gateway Route Table Id assigned to desired COIP Pool
*/
localGatewayRouteTableId?: pulumi.Input<string>;
/**
* ID of the specific COIP Pool to retrieve.
*/
poolId?: pulumi.Input<string>;
/**
* Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
*/
region?: pulumi.Input<string>;
/**
* Mapping of tags, each pair of which must exactly match
* a pair on the desired COIP Pool.
*
* More complex filters can be expressed using one or more `filter` sub-blocks,
* which take the following arguments:
*/
tags?: pulumi.Input<{
[key: string]: pulumi.Input<string>;
}>;
}