Show / Hide Table of Contents

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

string

Remarks

Valid Values: IPv4 | IPv6

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

Entries

The entries for the prefix list.

object? Entries { get; }
Property Value

object

Remarks

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

Type union: either IResolvable or (either IResolvable or CfnPrefixList.IEntryProperty)[]

MaxEntries

The maximum number of entries for the prefix list.

double? MaxEntries { get; }
Property Value

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.

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

PrefixListName

A name for the prefix list.

string PrefixListName { get; }
Property Value

string

Remarks

Constraints: Up to 255 characters in length. The name cannot start with com.amazonaws .

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

Tags

The tags for the prefix list.

ICfnTag[]? Tags { get; }
Property Value

ICfnTag[]

Remarks

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

Back to top Generated by DocFX