Interface INetworkAclEntryProps
Properties to create NetworkAclEntry.
Inherited Members
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. |