| Package | Description |
|---|---|
| software.amazon.awscdk.services.ec2 |
Amazon EC2 Construct Library
|
| Modifier and Type | Method and Description |
|---|---|
Protocol |
PortProps.getProtocol()
(experimental) The protocol for the range.
|
Protocol |
PortProps.Jsii$Proxy.getProtocol() |
static Protocol |
Protocol.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Protocol[] |
Protocol.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
PortProps.Builder |
PortProps.Builder.protocol(Protocol protocol)
Sets the value of
PortProps.getProtocol() |
Port.Builder |
Port.Builder.protocol(Protocol protocol)
(experimental) The protocol for the range.
|
| Constructor and Description |
|---|
Jsii$Proxy(Protocol protocol,
String stringRepresentation,
Number fromPort,
Number toPort)
Constructor that initializes the object based on literal property values passed by the
PortProps.Builder. |
Copyright © 2021. All rights reserved.