interface PortInfoProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Lightsail.Mixins.CfnContainerPropsMixin.PortInfoProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awslightsail/mixins#CfnContainerPropsMixin_PortInfoProperty |
Java | software.amazon.awscdk.mixins.preview.services.lightsail.mixins.CfnContainerPropsMixin.PortInfoProperty |
Python | aws_cdk.mixins_preview.aws_lightsail.mixins.CfnContainerPropsMixin.PortInfoProperty |
TypeScript | @aws-cdk/mixins-preview » aws_lightsail » mixins » CfnContainerPropsMixin » PortInfoProperty |
PortInfo is a property of the Container property. It describes the ports to open and the protocols to use for a container on a Amazon Lightsail container service.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as lightsail_mixins } from '@aws-cdk/mixins-preview/aws-lightsail';
const portInfoProperty: lightsail_mixins.CfnContainerPropsMixin.PortInfoProperty = {
port: 'port',
protocol: 'protocol',
};
Properties
| Name | Type | Description |
|---|---|---|
| port? | string | The open firewall ports of the container. |
| protocol? | string | The protocol name for the open ports. |
port?
Type:
string
(optional)
The open firewall ports of the container.
protocol?
Type:
string
(optional)
The protocol name for the open ports.
Allowed values : HTTP | HTTPS | TCP | UDP

.NET
Go
Java
Python
TypeScript