AWS Native

Pulumi Official
Package maintained by Pulumi
v0.19.0 published on Wednesday, Jun 8, 2022 by Pulumi

getPrefixList

Resource schema of AWS::EC2::PrefixList Type

Using getPrefixList

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 getPrefixList(args: GetPrefixListArgs, opts?: InvokeOptions): Promise<GetPrefixListResult>
function getPrefixListOutput(args: GetPrefixListOutputArgs, opts?: InvokeOptions): Output<GetPrefixListResult>
def get_prefix_list(prefix_list_id: Optional[str] = None,
                    opts: Optional[InvokeOptions] = None) -> GetPrefixListResult
def get_prefix_list_output(prefix_list_id: Optional[pulumi.Input[str]] = None,
                    opts: Optional[InvokeOptions] = None) -> Output[GetPrefixListResult]
func LookupPrefixList(ctx *Context, args *LookupPrefixListArgs, opts ...InvokeOption) (*LookupPrefixListResult, error)
func LookupPrefixListOutput(ctx *Context, args *LookupPrefixListOutputArgs, opts ...InvokeOption) LookupPrefixListResultOutput

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

public static class GetPrefixList 
{
    public static Task<GetPrefixListResult> InvokeAsync(GetPrefixListArgs args, InvokeOptions? opts = null)
    public static Output<GetPrefixListResult> Invoke(GetPrefixListInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetPrefixListResult> getPrefixList(GetPrefixListArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: aws-native:ec2:getPrefixList
  Arguments:
    # Arguments dictionary

The following arguments are supported:

PrefixListId string

Id of Prefix List.

PrefixListId string

Id of Prefix List.

prefixListId String

Id of Prefix List.

prefixListId string

Id of Prefix List.

prefix_list_id str

Id of Prefix List.

prefixListId String

Id of Prefix List.

getPrefixList Result

The following output properties are available:

AddressFamily Pulumi.AwsNative.EC2.PrefixListAddressFamily

Ip Version of Prefix List.

Arn string

The Amazon Resource Name (ARN) of the Prefix List.

Entries List<Pulumi.AwsNative.EC2.Outputs.PrefixListEntry>

Entries of Prefix List.

MaxEntries int

Max Entries of Prefix List.

OwnerId string

Owner Id of Prefix List.

PrefixListId string

Id of Prefix List.

PrefixListName string

Name of Prefix List.

Tags List<Pulumi.AwsNative.EC2.Outputs.PrefixListTag>

Tags for Prefix List

Version int

Version of Prefix List.

AddressFamily PrefixListAddressFamily

Ip Version of Prefix List.

Arn string

The Amazon Resource Name (ARN) of the Prefix List.

Entries []PrefixListEntry

Entries of Prefix List.

MaxEntries int

Max Entries of Prefix List.

OwnerId string

Owner Id of Prefix List.

PrefixListId string

Id of Prefix List.

PrefixListName string

Name of Prefix List.

Tags []PrefixListTag

Tags for Prefix List

Version int

Version of Prefix List.

addressFamily PrefixListAddressFamily

Ip Version of Prefix List.

arn String

The Amazon Resource Name (ARN) of the Prefix List.

entries List<PrefixListEntry>

Entries of Prefix List.

maxEntries Integer

Max Entries of Prefix List.

ownerId String

Owner Id of Prefix List.

prefixListId String

Id of Prefix List.

prefixListName String

Name of Prefix List.

tags List<PrefixListTag>

Tags for Prefix List

version Integer

Version of Prefix List.

addressFamily PrefixListAddressFamily

Ip Version of Prefix List.

arn string

The Amazon Resource Name (ARN) of the Prefix List.

entries PrefixListEntry[]

Entries of Prefix List.

maxEntries number

Max Entries of Prefix List.

ownerId string

Owner Id of Prefix List.

prefixListId string

Id of Prefix List.

prefixListName string

Name of Prefix List.

tags PrefixListTag[]

Tags for Prefix List

version number

Version of Prefix List.

address_family PrefixListAddressFamily

Ip Version of Prefix List.

arn str

The Amazon Resource Name (ARN) of the Prefix List.

entries Sequence[PrefixListEntry]

Entries of Prefix List.

max_entries int

Max Entries of Prefix List.

owner_id str

Owner Id of Prefix List.

prefix_list_id str

Id of Prefix List.

prefix_list_name str

Name of Prefix List.

tags Sequence[PrefixListTag]

Tags for Prefix List

version int

Version of Prefix List.

addressFamily "IPv4" | "IPv6"

Ip Version of Prefix List.

arn String

The Amazon Resource Name (ARN) of the Prefix List.

entries List<Property Map>

Entries of Prefix List.

maxEntries Number

Max Entries of Prefix List.

ownerId String

Owner Id of Prefix List.

prefixListId String

Id of Prefix List.

prefixListName String

Name of Prefix List.

tags List<Property Map>

Tags for Prefix List

version Number

Version of Prefix List.

Supporting Types

PrefixListAddressFamily

PrefixListEntry

Cidr string
Description string
Cidr string
Description string
cidr String
description String
cidr string
description string
cidr String
description String

PrefixListTag

Key string
Value string
Key string
Value string
key String
value String
key string
value string
key str
value str
key String
value String

Package Details

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