interface ContainerServiceDeploymentProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Lightsail.CfnContainer.ContainerServiceDeploymentProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awslightsail#CfnContainer_ContainerServiceDeploymentProperty |
![]() | software.amazon.awscdk.services.lightsail.CfnContainer.ContainerServiceDeploymentProperty |
![]() | aws_cdk.aws_lightsail.CfnContainer.ContainerServiceDeploymentProperty |
![]() | aws-cdk-lib » aws_lightsail » CfnContainer » ContainerServiceDeploymentProperty |
ContainerServiceDeployment
is a property of the AWS::Lightsail::Container resource. It describes a container deployment configuration of a container service.
A deployment specifies the settings, such as the ports and launch command, of containers that are deployed to your container service.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_lightsail as lightsail } from 'aws-cdk-lib';
const containerServiceDeploymentProperty: lightsail.CfnContainer.ContainerServiceDeploymentProperty = {
containers: [{
command: ['command'],
containerName: 'containerName',
environment: [{
value: 'value',
variable: 'variable',
}],
image: 'image',
ports: [{
port: 'port',
protocol: 'protocol',
}],
}],
publicEndpoint: {
containerName: 'containerName',
containerPort: 123,
healthCheckConfig: {
healthyThreshold: 123,
intervalSeconds: 123,
path: 'path',
successCodes: 'successCodes',
timeoutSeconds: 123,
unhealthyThreshold: 123,
},
},
};
Properties
Name | Type | Description |
---|---|---|
containers? | IResolvable | IResolvable | Container [] | An object that describes the configuration for the containers of the deployment. |
public | IResolvable | Public | An object that describes the endpoint of the deployment. |
containers?
Type:
IResolvable
|
IResolvable
|
Container
[]
(optional)
An object that describes the configuration for the containers of the deployment.
publicEndpoint?
Type:
IResolvable
|
Public
(optional)
An object that describes the endpoint of the deployment.