We recommend new projects start with resources from the AWS provider.
aws-native.ec2.getPrefixList
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
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)
public static Output<GetPrefixListResult> getPrefixList(GetPrefixListArgs args, InvokeOptions options)
fn::invoke:
  function: aws-native:ec2:getPrefixList
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Prefix
List stringId  - Id of Prefix List.
 
- Prefix
List stringId  - Id of Prefix List.
 
- prefix
List StringId  - Id of Prefix List.
 
- prefix
List stringId  - Id of Prefix List.
 
- prefix_
list_ strid  - Id of Prefix List.
 
- prefix
List StringId  - Id of Prefix List.
 
getPrefixList Result
The following output properties are available:
- Address
Family Pulumi.Aws Native. Ec2. Prefix List Address Family  - Ip Version of Prefix List.
 - Arn string
 - The Amazon Resource Name (ARN) of the Prefix List.
 - Entries
List<Pulumi.
Aws Native. Ec2. Outputs. Prefix List Entry>  - Entries of Prefix List.
 - Max
Entries int - Max Entries of Prefix List.
 - Owner
Id string - Owner Id of Prefix List.
 - Prefix
List stringId  - Id of Prefix List.
 - Prefix
List stringName  - Name of Prefix List.
 - 
List<Pulumi.
Aws Native. Outputs. Tag>  - Tags for Prefix List
 - Version int
 - Version of Prefix List.
 
- Address
Family PrefixList Address Family  - Ip Version of Prefix List.
 - Arn string
 - The Amazon Resource Name (ARN) of the Prefix List.
 - Entries
[]Prefix
List Entry  - Entries of Prefix List.
 - Max
Entries int - Max Entries of Prefix List.
 - Owner
Id string - Owner Id of Prefix List.
 - Prefix
List stringId  - Id of Prefix List.
 - Prefix
List stringName  - Name of Prefix List.
 - Tag
 - Tags for Prefix List
 - Version int
 - Version of Prefix List.
 
- address
Family PrefixList Address Family  - Ip Version of Prefix List.
 - arn String
 - The Amazon Resource Name (ARN) of the Prefix List.
 - entries
List<Prefix
List Entry>  - Entries of Prefix List.
 - max
Entries Integer - Max Entries of Prefix List.
 - owner
Id String - Owner Id of Prefix List.
 - prefix
List StringId  - Id of Prefix List.
 - prefix
List StringName  - Name of Prefix List.
 - List<Tag>
 - Tags for Prefix List
 - version Integer
 - Version of Prefix List.
 
- address
Family PrefixList Address Family  - Ip Version of Prefix List.
 - arn string
 - The Amazon Resource Name (ARN) of the Prefix List.
 - entries
Prefix
List Entry[]  - Entries of Prefix List.
 - max
Entries number - Max Entries of Prefix List.
 - owner
Id string - Owner Id of Prefix List.
 - prefix
List stringId  - Id of Prefix List.
 - prefix
List stringName  - Name of Prefix List.
 - Tag[]
 - Tags for Prefix List
 - version number
 - Version of Prefix List.
 
- address_
family PrefixList Address Family  - Ip Version of Prefix List.
 - arn str
 - The Amazon Resource Name (ARN) of the Prefix List.
 - entries
Sequence[Prefix
List Entry]  - Entries of Prefix List.
 - max_
entries int - Max Entries of Prefix List.
 - owner_
id str - Owner Id of Prefix List.
 - prefix_
list_ strid  - Id of Prefix List.
 - prefix_
list_ strname  - Name of Prefix List.
 - Sequence[root_Tag]
 - Tags for Prefix List
 - version int
 - Version of Prefix List.
 
- address
Family "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.
 - max
Entries Number - Max Entries of Prefix List.
 - owner
Id String - Owner Id of Prefix List.
 - prefix
List StringId  - Id of Prefix List.
 - prefix
List StringName  - Name of Prefix List.
 - List<Property Map>
 - Tags for Prefix List
 - version Number
 - Version of Prefix List.
 
Supporting Types
PrefixListAddressFamily   
PrefixListEntry  
- Cidr string
 - The CIDR block.
 - Description string
 A description for the entry.
Constraints: Up to 255 characters in length.
- Cidr string
 - The CIDR block.
 - Description string
 A description for the entry.
Constraints: Up to 255 characters in length.
- cidr String
 - The CIDR block.
 - description String
 A description for the entry.
Constraints: Up to 255 characters in length.
- cidr string
 - The CIDR block.
 - description string
 A description for the entry.
Constraints: Up to 255 characters in length.
- cidr str
 - The CIDR block.
 - description str
 A description for the entry.
Constraints: Up to 255 characters in length.
- cidr String
 - The CIDR block.
 - description String
 A description for the entry.
Constraints: Up to 255 characters in length.
Tag
Package Details
- Repository
 - AWS Native pulumi/pulumi-aws-native
 - License
 - Apache-2.0
 
We recommend new projects start with resources from the AWS provider.