@Stability(value=Stable)
public static interface CfnTrafficMirrorFilterRule.TrafficMirrorPortRangeProperty
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.*;
TrafficMirrorPortRangeProperty trafficMirrorPortRangeProperty = TrafficMirrorPortRangeProperty.builder()
.fromPort(123)
.toPort(123)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnTrafficMirrorFilterRule.TrafficMirrorPortRangeProperty.Builder
|
static class |
CfnTrafficMirrorFilterRule.TrafficMirrorPortRangeProperty.Jsii$Proxy
An implementation for
CfnTrafficMirrorFilterRule.TrafficMirrorPortRangeProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnTrafficMirrorFilterRule.TrafficMirrorPortRangeProperty.Builder |
builder() |
Number |
getFromPort()
The start of the Traffic Mirror port range.
|
Number |
getToPort()
The end of the Traffic Mirror port range.
|
@Stability(value=Stable) @NotNull Number getFromPort()
This applies to the TCP and UDP protocols.
@Stability(value=Stable) @NotNull Number getToPort()
This applies to the TCP and UDP protocols.
@Stability(value=Stable) static CfnTrafficMirrorFilterRule.TrafficMirrorPortRangeProperty.Builder builder()
Copyright © 2022. All rights reserved.