Class NetworkAclEntry
Define an entry in a Network ACL table.
Inherited Members
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class NetworkAclEntry : Resource, INetworkAclEntry, IResource
Syntax (vb)
Public Class NetworkAclEntry
Inherits Resource
Implements INetworkAclEntry, IResource
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 networkAclEntry = new NetworkAclEntry(this, "MyNetworkAclEntry", new NetworkAclEntryProps {
Cidr = aclCidr,
NetworkAcl = networkAcl,
RuleNumber = 123,
Traffic = aclTraffic,
// the properties below are optional
Direction = TrafficDirection.EGRESS,
NetworkAclEntryName = "networkAclEntryName",
RuleAction = Action.ALLOW
});
Synopsis
Constructors
NetworkAclEntry(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
NetworkAclEntry(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
NetworkAclEntry(Construct, String, INetworkAclEntryProps) |
Properties
NetworkAcl | The network ACL. |
Constructors
NetworkAclEntry(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected NetworkAclEntry(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
NetworkAclEntry(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected NetworkAclEntry(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
NetworkAclEntry(Construct, String, INetworkAclEntryProps)
public NetworkAclEntry(Construct scope, string id, INetworkAclEntryProps props)
Parameters
- scope Constructs.Construct
- id System.String
- props INetworkAclEntryProps
Properties
NetworkAcl
Implements
Constructs.IConstruct
Constructs.IDependable