Show / Hide Table of Contents

Class CfnNetworkAclEntryPropsMixin

Specifies an entry, known as a rule, in a network ACL with a rule number you specify.

Inheritance
object
Mixin
CfnNetworkAclEntryPropsMixin
Implements
IMixin
Inherited Members
Mixin.IsMixin(object)
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.EC2
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnNetworkAclEntryPropsMixin : Mixin, IMixin
Syntax (vb)
Public Class CfnNetworkAclEntryPropsMixin Inherits Mixin Implements IMixin
Remarks

Each network ACL has a set of numbered ingress rules and a separate set of numbered egress rules.

To create the network ACL, see AWS::EC2::NetworkAcl .

For information about the protocol value, see Protocol Numbers on the Internet Assigned Numbers Authority (IANA) website.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-networkaclentry.html

CloudformationResource: AWS::EC2::NetworkAclEntry

Mixin: true

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.CfnPropertyMixins.AWS.EC2;
             using Amazon.CDK;

             IMergeStrategy mergeStrategy;

             var cfnNetworkAclEntryPropsMixin = new CfnNetworkAclEntryPropsMixin(new CfnNetworkAclEntryMixinProps {
                 CidrBlock = "cidrBlock",
                 Egress = false,
                 Icmp = new IcmpProperty {
                     Code = 123,
                     Type = 123
                 },
                 Ipv6CidrBlock = "ipv6CidrBlock",
                 NetworkAclId = "networkAclId",
                 PortRange = new PortRangeProperty {
                     From = 123,
                     To = 123
                 },
                 Protocol = 123,
                 RuleAction = "ruleAction",
                 RuleNumber = 123
             }, new CfnPropertyMixinOptions {
                 Strategy = mergeStrategy
             });

Synopsis

Constructors

CfnNetworkAclEntryPropsMixin(ICfnNetworkAclEntryMixinProps, ICfnPropertyMixinOptions?)

Create a mixin to apply properties to AWS::EC2::NetworkAclEntry.

Properties

CFN_PROPERTY_KEYS

Specifies an entry, known as a rule, in a network ACL with a rule number you specify.

Props

Specifies an entry, known as a rule, in a network ACL with a rule number you specify.

Strategy

Specifies an entry, known as a rule, in a network ACL with a rule number you specify.

Methods

ApplyTo(IConstruct)

Apply the mixin properties to the construct.

Supports(IConstruct)

Check if this mixin supports the given construct.

Constructors

CfnNetworkAclEntryPropsMixin(ICfnNetworkAclEntryMixinProps, ICfnPropertyMixinOptions?)

Create a mixin to apply properties to AWS::EC2::NetworkAclEntry.

public CfnNetworkAclEntryPropsMixin(ICfnNetworkAclEntryMixinProps props, ICfnPropertyMixinOptions? options = null)
Parameters
props ICfnNetworkAclEntryMixinProps

L1 properties to apply.

options ICfnPropertyMixinOptions

Mixin options.

Remarks

Each network ACL has a set of numbered ingress rules and a separate set of numbered egress rules.

To create the network ACL, see AWS::EC2::NetworkAcl .

For information about the protocol value, see Protocol Numbers on the Internet Assigned Numbers Authority (IANA) website.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-networkaclentry.html

CloudformationResource: AWS::EC2::NetworkAclEntry

Mixin: true

ExampleMetadata: fixture=_generated

Properties

CFN_PROPERTY_KEYS

Specifies an entry, known as a rule, in a network ACL with a rule number you specify.

protected static string[] CFN_PROPERTY_KEYS { get; }
Property Value

string[]

Remarks

Each network ACL has a set of numbered ingress rules and a separate set of numbered egress rules.

To create the network ACL, see AWS::EC2::NetworkAcl .

For information about the protocol value, see Protocol Numbers on the Internet Assigned Numbers Authority (IANA) website.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-networkaclentry.html

CloudformationResource: AWS::EC2::NetworkAclEntry

Mixin: true

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.CfnPropertyMixins.AWS.EC2;
             using Amazon.CDK;

             IMergeStrategy mergeStrategy;

             var cfnNetworkAclEntryPropsMixin = new CfnNetworkAclEntryPropsMixin(new CfnNetworkAclEntryMixinProps {
                 CidrBlock = "cidrBlock",
                 Egress = false,
                 Icmp = new IcmpProperty {
                     Code = 123,
                     Type = 123
                 },
                 Ipv6CidrBlock = "ipv6CidrBlock",
                 NetworkAclId = "networkAclId",
                 PortRange = new PortRangeProperty {
                     From = 123,
                     To = 123
                 },
                 Protocol = 123,
                 RuleAction = "ruleAction",
                 RuleNumber = 123
             }, new CfnPropertyMixinOptions {
                 Strategy = mergeStrategy
             });

Props

Specifies an entry, known as a rule, in a network ACL with a rule number you specify.

protected virtual ICfnNetworkAclEntryMixinProps Props { get; }
Property Value

ICfnNetworkAclEntryMixinProps

Remarks

Each network ACL has a set of numbered ingress rules and a separate set of numbered egress rules.

To create the network ACL, see AWS::EC2::NetworkAcl .

For information about the protocol value, see Protocol Numbers on the Internet Assigned Numbers Authority (IANA) website.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-networkaclentry.html

CloudformationResource: AWS::EC2::NetworkAclEntry

Mixin: true

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.CfnPropertyMixins.AWS.EC2;
             using Amazon.CDK;

             IMergeStrategy mergeStrategy;

             var cfnNetworkAclEntryPropsMixin = new CfnNetworkAclEntryPropsMixin(new CfnNetworkAclEntryMixinProps {
                 CidrBlock = "cidrBlock",
                 Egress = false,
                 Icmp = new IcmpProperty {
                     Code = 123,
                     Type = 123
                 },
                 Ipv6CidrBlock = "ipv6CidrBlock",
                 NetworkAclId = "networkAclId",
                 PortRange = new PortRangeProperty {
                     From = 123,
                     To = 123
                 },
                 Protocol = 123,
                 RuleAction = "ruleAction",
                 RuleNumber = 123
             }, new CfnPropertyMixinOptions {
                 Strategy = mergeStrategy
             });

Strategy

Specifies an entry, known as a rule, in a network ACL with a rule number you specify.

protected virtual IMergeStrategy Strategy { get; }
Property Value

IMergeStrategy

Remarks

Each network ACL has a set of numbered ingress rules and a separate set of numbered egress rules.

To create the network ACL, see AWS::EC2::NetworkAcl .

For information about the protocol value, see Protocol Numbers on the Internet Assigned Numbers Authority (IANA) website.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-networkaclentry.html

CloudformationResource: AWS::EC2::NetworkAclEntry

Mixin: true

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.CfnPropertyMixins.AWS.EC2;
             using Amazon.CDK;

             IMergeStrategy mergeStrategy;

             var cfnNetworkAclEntryPropsMixin = new CfnNetworkAclEntryPropsMixin(new CfnNetworkAclEntryMixinProps {
                 CidrBlock = "cidrBlock",
                 Egress = false,
                 Icmp = new IcmpProperty {
                     Code = 123,
                     Type = 123
                 },
                 Ipv6CidrBlock = "ipv6CidrBlock",
                 NetworkAclId = "networkAclId",
                 PortRange = new PortRangeProperty {
                     From = 123,
                     To = 123
                 },
                 Protocol = 123,
                 RuleAction = "ruleAction",
                 RuleNumber = 123
             }, new CfnPropertyMixinOptions {
                 Strategy = mergeStrategy
             });

Methods

ApplyTo(IConstruct)

Apply the mixin properties to the construct.

public override void ApplyTo(IConstruct construct)
Parameters
construct IConstruct
Overrides
Mixin.ApplyTo(IConstruct)
Remarks

Each network ACL has a set of numbered ingress rules and a separate set of numbered egress rules.

To create the network ACL, see AWS::EC2::NetworkAcl .

For information about the protocol value, see Protocol Numbers on the Internet Assigned Numbers Authority (IANA) website.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-networkaclentry.html

CloudformationResource: AWS::EC2::NetworkAclEntry

Mixin: true

ExampleMetadata: fixture=_generated

Supports(IConstruct)

Check if this mixin supports the given construct.

public override bool Supports(IConstruct construct)
Parameters
construct IConstruct
Returns

bool

Overrides
Mixin.Supports(IConstruct)
Remarks

Each network ACL has a set of numbered ingress rules and a separate set of numbered egress rules.

To create the network ACL, see AWS::EC2::NetworkAcl .

For information about the protocol value, see Protocol Numbers on the Internet Assigned Numbers Authority (IANA) website.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-networkaclentry.html

CloudformationResource: AWS::EC2::NetworkAclEntry

Mixin: true

ExampleMetadata: fixture=_generated

Implements

Constructs.IMixin
Back to top Generated by DocFX