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:
- PrefixList stringId 
- Id of Prefix List.
- PrefixList stringId 
- Id of Prefix List.
- prefixList StringId 
- Id of Prefix List.
- prefixList stringId 
- Id of Prefix List.
- prefix_list_ strid 
- Id of Prefix List.
- prefixList StringId 
- Id of Prefix List.
getPrefixList Result
The following output properties are available:
- AddressFamily 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.
- MaxEntries int
- Max Entries of Prefix List.
- OwnerId string
- Owner Id of Prefix List.
- PrefixList stringId 
- Id of Prefix List.
- PrefixList stringName 
- Name of Prefix List.
- 
List<Pulumi.Aws Native. Outputs. Tag> 
- Tags for Prefix List
- Version int
- Version of Prefix List.
- AddressFamily PrefixList Address Family 
- Ip Version of Prefix List.
- Arn string
- The Amazon Resource Name (ARN) of the Prefix List.
- Entries
[]PrefixList Entry 
- Entries of Prefix List.
- MaxEntries int
- Max Entries of Prefix List.
- OwnerId string
- Owner Id of Prefix List.
- PrefixList stringId 
- Id of Prefix List.
- PrefixList stringName 
- Name of Prefix List.
- Tag
- Tags for Prefix List
- Version int
- Version of Prefix List.
- addressFamily PrefixList Address Family 
- Ip Version of Prefix List.
- arn String
- The Amazon Resource Name (ARN) of the Prefix List.
- entries
List<PrefixList Entry> 
- Entries of Prefix List.
- maxEntries Integer
- Max Entries of Prefix List.
- ownerId String
- Owner Id of Prefix List.
- prefixList StringId 
- Id of Prefix List.
- prefixList StringName 
- Name of Prefix List.
- List<Tag>
- Tags for Prefix List
- version Integer
- Version of Prefix List.
- addressFamily PrefixList Address Family 
- Ip Version of Prefix List.
- arn string
- The Amazon Resource Name (ARN) of the Prefix List.
- entries
PrefixList Entry[] 
- Entries of Prefix List.
- maxEntries number
- Max Entries of Prefix List.
- ownerId string
- Owner Id of Prefix List.
- prefixList stringId 
- Id of Prefix List.
- prefixList 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[PrefixList 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.
- 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.
- prefixList StringId 
- Id of Prefix List.
- prefixList 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.