Interface CfnInstance.PortProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnInstance.PortProperty.Jsii$Proxy
Enclosing class:
CfnInstance

@Stability(Stable) public static interface CfnInstance.PortProperty extends software.amazon.jsii.JsiiSerializable
Port is a property of the Networking property. It describes information about ports for an instance.

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.lightsail.*;
 PortProperty portProperty = PortProperty.builder()
         .accessDirection("accessDirection")
         .accessFrom("accessFrom")
         .accessType("accessType")
         .cidrListAliases(List.of("cidrListAliases"))
         .cidrs(List.of("cidrs"))
         .commonName("commonName")
         .fromPort(123)
         .ipv6Cidrs(List.of("ipv6Cidrs"))
         .protocol("protocol")
         .toPort(123)
         .build();
 

See Also: