AWS Classic

v5.15.0 published on Thursday, Sep 22, 2022 by Pulumi

getCoipPools

Provides information for multiple EC2 Customer-Owned IP Pools, such as their identifiers.

Using getCoipPools

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 getCoipPools(args: GetCoipPoolsArgs, opts?: InvokeOptions): Promise<GetCoipPoolsResult>
function getCoipPoolsOutput(args: GetCoipPoolsOutputArgs, opts?: InvokeOptions): Output<GetCoipPoolsResult>
def get_coip_pools(filters: Optional[Sequence[GetCoipPoolsFilter]] = None,
                   tags: Optional[Mapping[str, str]] = None,
                   opts: Optional[InvokeOptions] = None) -> GetCoipPoolsResult
def get_coip_pools_output(filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetCoipPoolsFilterArgs]]]] = None,
                   tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
                   opts: Optional[InvokeOptions] = None) -> Output[GetCoipPoolsResult]
func GetCoipPools(ctx *Context, args *GetCoipPoolsArgs, opts ...InvokeOption) (*GetCoipPoolsResult, error)
func GetCoipPoolsOutput(ctx *Context, args *GetCoipPoolsOutputArgs, opts ...InvokeOption) GetCoipPoolsResultOutput

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

public static class GetCoipPools 
{
    public static Task<GetCoipPoolsResult> InvokeAsync(GetCoipPoolsArgs args, InvokeOptions? opts = null)
    public static Output<GetCoipPoolsResult> Invoke(GetCoipPoolsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetCoipPoolsResult> getCoipPools(GetCoipPoolsArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: aws:ec2/getCoipPools:getCoipPools
  Arguments:
    # Arguments dictionary

The following arguments are supported:

Filters List<Pulumi.Aws.Ec2.Inputs.GetCoipPoolsFilter>

Custom filter block as described below.

Tags Dictionary<string, string>

Mapping of tags, each pair of which must exactly match a pair on the desired aws_ec2_coip_pools.

Filters []GetCoipPoolsFilter

Custom filter block as described below.

Tags map[string]string

Mapping of tags, each pair of which must exactly match a pair on the desired aws_ec2_coip_pools.

filters List<GetCoipPoolsFilter>

Custom filter block as described below.

tags Map<String,String>

Mapping of tags, each pair of which must exactly match a pair on the desired aws_ec2_coip_pools.

filters GetCoipPoolsFilter[]

Custom filter block as described below.

tags {[key: string]: string}

Mapping of tags, each pair of which must exactly match a pair on the desired aws_ec2_coip_pools.

filters Sequence[GetCoipPoolsFilter]

Custom filter block as described below.

tags Mapping[str, str]

Mapping of tags, each pair of which must exactly match a pair on the desired aws_ec2_coip_pools.

filters List<Property Map>

Custom filter block as described below.

tags Map<String>

Mapping of tags, each pair of which must exactly match a pair on the desired aws_ec2_coip_pools.

getCoipPools Result

The following output properties are available:

Id string

The provider-assigned unique ID for this managed resource.

PoolIds List<string>

Set of COIP Pool Identifiers

Tags Dictionary<string, string>
Filters List<Pulumi.Aws.Ec2.Outputs.GetCoipPoolsFilter>
Id string

The provider-assigned unique ID for this managed resource.

PoolIds []string

Set of COIP Pool Identifiers

Tags map[string]string
Filters []GetCoipPoolsFilter
id String

The provider-assigned unique ID for this managed resource.

poolIds List<String>

Set of COIP Pool Identifiers

tags Map<String,String>
filters List<GetCoipPoolsFilter>
id string

The provider-assigned unique ID for this managed resource.

poolIds string[]

Set of COIP Pool Identifiers

tags {[key: string]: string}
filters GetCoipPoolsFilter[]
id str

The provider-assigned unique ID for this managed resource.

pool_ids Sequence[str]

Set of COIP Pool Identifiers

tags Mapping[str, str]
filters Sequence[GetCoipPoolsFilter]
id String

The provider-assigned unique ID for this managed resource.

poolIds List<String>

Set of COIP Pool Identifiers

tags Map<String>
filters List<Property Map>

Supporting Types

GetCoipPoolsFilter

Name string

Name of the field to filter by, as defined by the underlying AWS API.

Values List<string>

Set of values that are accepted for the given field. A COIP Pool will be selected if any one of the given values matches.

Name string

Name of the field to filter by, as defined by the underlying AWS API.

Values []string

Set of values that are accepted for the given field. A COIP Pool will be selected if any one of the given values matches.

name String

Name of the field to filter by, as defined by the underlying AWS API.

values List<String>

Set of values that are accepted for the given field. A COIP Pool will be selected if any one of the given values matches.

name string

Name of the field to filter by, as defined by the underlying AWS API.

values string[]

Set of values that are accepted for the given field. A COIP Pool will be selected if any one of the given values matches.

name str

Name of the field to filter by, as defined by the underlying AWS API.

values Sequence[str]

Set of values that are accepted for the given field. A COIP Pool will be selected if any one of the given values matches.

name String

Name of the field to filter by, as defined by the underlying AWS API.

values List<String>

Set of values that are accepted for the given field. A COIP Pool will be selected if any one of the given values matches.

Package Details

Repository
https://github.com/pulumi/pulumi-aws
License
Apache-2.0
Notes

This Pulumi package is based on the aws Terraform Provider.