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