@Generated(value="jsii-pacmak/1.46.0 (build cd08c55)", date="2021-11-25T20:11:05.928Z") @Stability(value=Stable) public interface CfnNetworkAclEntryProps extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.ec2.*;
CfnNetworkAclEntryProps cfnNetworkAclEntryProps = CfnNetworkAclEntryProps.builder()
.networkAclId("networkAclId")
.protocol(123)
.ruleAction("ruleAction")
.ruleNumber(123)
// the properties below are optional
.cidrBlock("cidrBlock")
.egress(false)
.icmp(IcmpProperty.builder()
.code(123)
.type(123)
.build())
.ipv6CidrBlock("ipv6CidrBlock")
.portRange(PortRangeProperty.builder()
.from(123)
.to(123)
.build())
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnNetworkAclEntryProps.Builder
A builder for
CfnNetworkAclEntryProps |
static class |
CfnNetworkAclEntryProps.Jsii$Proxy
An implementation for
CfnNetworkAclEntryProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnNetworkAclEntryProps.Builder |
builder() |
default String |
getCidrBlock()
`AWS::EC2::NetworkAclEntry.CidrBlock`.
|
default Object |
getEgress()
`AWS::EC2::NetworkAclEntry.Egress`.
|
default Object |
getIcmp()
`AWS::EC2::NetworkAclEntry.Icmp`.
|
default String |
getIpv6CidrBlock()
`AWS::EC2::NetworkAclEntry.Ipv6CidrBlock`.
|
String |
getNetworkAclId()
`AWS::EC2::NetworkAclEntry.NetworkAclId`.
|
default Object |
getPortRange()
`AWS::EC2::NetworkAclEntry.PortRange`.
|
Number |
getProtocol()
`AWS::EC2::NetworkAclEntry.Protocol`.
|
String |
getRuleAction()
`AWS::EC2::NetworkAclEntry.RuleAction`.
|
Number |
getRuleNumber()
`AWS::EC2::NetworkAclEntry.RuleNumber`.
|
@Stability(value=Stable) @Nullable default String getCidrBlock()
@Stability(value=Stable) @Nullable default Object getEgress()
@Stability(value=Stable) @Nullable default Object getIcmp()
@Stability(value=Stable) @Nullable default String getIpv6CidrBlock()
@Stability(value=Stable) @NotNull String getNetworkAclId()
@Stability(value=Stable) @Nullable default Object getPortRange()
@Stability(value=Stable) @NotNull Number getProtocol()
@Stability(value=Stable) @NotNull String getRuleAction()
@Stability(value=Stable) @NotNull Number getRuleNumber()
@Stability(value=Stable) static CfnNetworkAclEntryProps.Builder builder()
CfnNetworkAclEntryProps.Builder of CfnNetworkAclEntryPropsCopyright © 2021. All rights reserved.