Class PrefixListProps
Properties for creating a prefix list.
Inherited Members
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class PrefixListProps : IPrefixListProps, IPrefixListOptions
Syntax (vb)
Public Class PrefixListProps Implements IPrefixListProps, IPrefixListOptions
Remarks
ExampleMetadata: infused
Examples
new PrefixList(this, "EmptyPrefixList", new PrefixListProps {
MaxEntries = 100
});
Synopsis
Constructors
| PrefixListProps() | Properties for creating a prefix list. |
Properties
| AddressFamily | The address family of the prefix list. |
| Entries | The list of entries for the prefix list. |
| MaxEntries | The maximum number of entries for the prefix list. |
| PrefixListName | The name of the prefix list. |
Constructors
PrefixListProps()
Properties for creating a prefix list.
public PrefixListProps()
Remarks
ExampleMetadata: infused
Examples
new PrefixList(this, "EmptyPrefixList", new PrefixListProps {
MaxEntries = 100
});
Properties
AddressFamily
The address family of the prefix list.
public AddressFamily? AddressFamily { get; set; }
Property Value
Remarks
Default: AddressFamily.IP_V4
Entries
The list of entries for the prefix list.
public CfnPrefixList.IEntryProperty[]? Entries { get; set; }
Property Value
Remarks
Default: []
MaxEntries
The maximum number of entries for the prefix list.
public double? MaxEntries { get; set; }
Property Value
Remarks
Default: Automatically-calculated
PrefixListName
The name of the prefix list.
public string? PrefixListName { get; set; }
Property Value
Remarks
Default: None
Remarks: It is not recommended to use an explicit name.