Show / Hide Table of Contents

Class CfnPrefixListProps

Properties for defining a CfnPrefixList.

Inheritance
System.Object
CfnPrefixListProps
Implements
ICfnPrefixListProps
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;

CfnPrefixListProps 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

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-prefixlist.html#cfn-ec2-prefixlist-addressfamily

Entries

One or more entries for the prefix list.

public object Entries { get; set; }
Property Value

System.Object

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-prefixlist.html#cfn-ec2-prefixlist-entries

MaxEntries

The maximum number of entries for the prefix list.

public double MaxEntries { get; set; }
Property Value

System.Double

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-prefixlist.html#cfn-ec2-prefixlist-maxentries

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 .

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-prefixlist.html#cfn-ec2-prefixlist-prefixlistname

Tags

The tags for the prefix list.

public ICfnTag[] Tags { get; set; }
Property Value

ICfnTag[]

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-prefixlist.html#cfn-ec2-prefixlist-tags

Implements

ICfnPrefixListProps
Back to top Generated by DocFX