Interface ICfnPrefixListProps
Properties for defining a CfnPrefixList
.
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ICfnPrefixListProps
Syntax (vb)
Public Interface ICfnPrefixListProps
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-prefixlist.html
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.EC2;
var cfnPrefixListProps = new CfnPrefixListProps {
AddressFamily = "addressFamily",
PrefixListName = "prefixListName",
// the properties below are optional
Entries = new [] { new EntryProperty {
Cidr = "cidr",
// the properties below are optional
Description = "description"
} },
MaxEntries = 123,
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Synopsis
Properties
AddressFamily | The IP address type. |
Entries | The entries for the prefix list. |
MaxEntries | The maximum number of entries for the prefix list. |
PrefixListName | A name for the prefix list. |
Tags | The tags for the prefix list. |
Properties
AddressFamily
The IP address type.
string AddressFamily { get; }
Property Value
System.String
Remarks
Entries
The entries for the prefix list.
virtual object Entries { get; }
Property Value
System.Object
Remarks
MaxEntries
The maximum number of entries for the prefix list.
virtual Nullable<double> MaxEntries { get; }
Property Value
System.Nullable<System.Double>
Remarks
You can't modify the entries and the size of a prefix list at the same time.
This property is required when you create a prefix list.
PrefixListName
A name for the prefix list.
string PrefixListName { get; }
Property Value
System.String
Remarks
Constraints: Up to 255 characters in length. The name cannot start with com.amazonaws
.