Show / Hide Table of Contents

Interface INetworkAclEntryProps

Properties to create NetworkAclEntry.

Inherited Members
ICommonNetworkAclEntryOptions.Cidr
ICommonNetworkAclEntryOptions.RuleNumber
ICommonNetworkAclEntryOptions.Traffic
ICommonNetworkAclEntryOptions.Direction
ICommonNetworkAclEntryOptions.NetworkAclEntryName
ICommonNetworkAclEntryOptions.RuleAction
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface INetworkAclEntryProps : ICommonNetworkAclEntryOptions
Syntax (vb)
Public Interface INetworkAclEntryProps Inherits ICommonNetworkAclEntryOptions
Remarks

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;

            AclCidr aclCidr;
            AclTraffic aclTraffic;
            NetworkAcl networkAcl;

            var networkAclEntryProps = new NetworkAclEntryProps {
                Cidr = aclCidr,
                NetworkAcl = networkAcl,
                RuleNumber = 123,
                Traffic = aclTraffic,

                // the properties below are optional
                Direction = TrafficDirection.EGRESS,
                NetworkAclEntryName = "networkAclEntryName",
                RuleAction = Action.ALLOW
            };

Synopsis

Properties

NetworkAcl

The network ACL this entry applies to.

Properties

NetworkAcl

The network ACL this entry applies to.

INetworkAcl NetworkAcl { get; }
Property Value

INetworkAcl

Remarks

ExampleMetadata: fixture=_generated

Back to top Generated by DocFX