Class CfnPrefixListProps
Properties for defining a CfnPrefixList
.
Inheritance
System.Object
CfnPrefixListProps
Implements
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.AWS.EC2.dll
Syntax (csharp)
public class CfnPrefixListProps : Object, ICfnPrefixListProps
Syntax (vb)
Public Class CfnPrefixListProps
Inherits Object
Implements ICfnPrefixListProps
Remarks
Link: 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",
MaxEntries = 123,
PrefixListName = "prefixListName",
// the properties below are optional
Entries = new [] { new EntryProperty {
Cidr = "cidr",
// the properties below are optional
Description = "description"
} },
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Synopsis
Constructors
CfnPrefixListProps() |
Properties
AddressFamily | The IP address type. |
Entries | One or more 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. |
Constructors
CfnPrefixListProps()
public CfnPrefixListProps()
Properties
AddressFamily
The IP address type.
public string AddressFamily { get; set; }
Property Value
System.String
Remarks
Valid Values: IPv4
| IPv6
Entries
One or more entries for the prefix list.
public object Entries { get; set; }
Property Value
System.Object
Remarks
MaxEntries
The maximum number of entries for the prefix list.
public double MaxEntries { get; set; }
Property Value
System.Double
Remarks
PrefixListName
A name for the prefix list.
public string PrefixListName { get; set; }
Property Value
System.String
Remarks
Constraints: Up to 255 characters in length. The name cannot start with com.amazonaws
.