Interface CfnContainerGroupDefinitionPropsMixin.PortConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnContainerGroupDefinitionPropsMixin.PortConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnContainerGroupDefinitionPropsMixin
@Stability(Stable)
public static interface CfnContainerGroupDefinitionPropsMixin.PortConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
Defines the ports on a container.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.mixins.preview.services.gamelift.mixins.*;
PortConfigurationProperty portConfigurationProperty = PortConfigurationProperty.builder()
.containerPortRanges(List.of(ContainerPortRangeProperty.builder()
.fromPort(123)
.protocol("protocol")
.toPort(123)
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnContainerGroupDefinitionPropsMixin.PortConfigurationProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getContainerPortRanges
Specifies one or more ranges of ports on a container.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnContainerGroupDefinitionPropsMixin.ContainerPortRangeProperty>- See Also:
-
builder
@Stability(Stable) static CfnContainerGroupDefinitionPropsMixin.PortConfigurationProperty.Builder builder()
-