@pulumi/aws
Version:
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.
110 lines (109 loc) • 3.32 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Provides details about a specific AWS EC2 Public IPv4 Pool.
*
* ## Example Usage
*
* ### Basic Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as aws from "@pulumi/aws";
*
* const example = aws.ec2.getPublicIpv4Pool({
* poolId: "ipv4pool-ec2-000df99cff0c1ec10",
* });
* ```
*/
export declare function getPublicIpv4Pool(args: GetPublicIpv4PoolArgs, opts?: pulumi.InvokeOptions): Promise<GetPublicIpv4PoolResult>;
/**
* A collection of arguments for invoking getPublicIpv4Pool.
*/
export interface GetPublicIpv4PoolArgs {
/**
* AWS resource IDs of a public IPv4 pool (as a string) for which this data source will fetch detailed information.
*/
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;
/**
* Any tags for the address pool.
*/
tags?: {
[key: string]: string;
};
}
/**
* A collection of values returned by getPublicIpv4Pool.
*/
export interface GetPublicIpv4PoolResult {
/**
* Description of the pool, if any.
*/
readonly description: string;
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
/**
* Name of the location from which the address pool is advertised.
* * poolAddressRanges` - List of Address Ranges in the Pool; each address range record contains:
*/
readonly networkBorderGroup: string;
readonly poolAddressRanges: outputs.ec2.GetPublicIpv4PoolPoolAddressRange[];
readonly poolId: string;
readonly region: string;
/**
* Any tags for the address pool.
*/
readonly tags: {
[key: string]: string;
};
/**
* Total number of addresses in the pool.
*/
readonly totalAddressCount: number;
/**
* Total number of available addresses in the pool.
*/
readonly totalAvailableAddressCount: number;
}
/**
* Provides details about a specific AWS EC2 Public IPv4 Pool.
*
* ## Example Usage
*
* ### Basic Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as aws from "@pulumi/aws";
*
* const example = aws.ec2.getPublicIpv4Pool({
* poolId: "ipv4pool-ec2-000df99cff0c1ec10",
* });
* ```
*/
export declare function getPublicIpv4PoolOutput(args: GetPublicIpv4PoolOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetPublicIpv4PoolResult>;
/**
* A collection of arguments for invoking getPublicIpv4Pool.
*/
export interface GetPublicIpv4PoolOutputArgs {
/**
* AWS resource IDs of a public IPv4 pool (as a string) for which this data source will fetch detailed information.
*/
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>;
/**
* Any tags for the address pool.
*/
tags?: pulumi.Input<{
[key: string]: pulumi.Input<string>;
}>;
}