interface ContainerReference
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Interfaces.Lightsail.ContainerReference |
Go | github.com/aws/aws-cdk-go/awscdk/v2/interfaces/awslightsail#ContainerReference |
Java | software.amazon.awscdk.interfaces.lightsail.ContainerReference |
Python | aws_cdk.interfaces.aws_lightsail.ContainerReference |
TypeScript | aws-cdk-lib » interfaces » aws_lightsail » ContainerReference |
A reference to a Container resource.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_lightsail as interfaces_aws_lightsail } from 'aws-cdk-lib/interfaces';
const containerReference: interfaces_aws_lightsail.ContainerReference = {
containerArn: 'containerArn',
serviceName: 'serviceName',
};
Properties
| Name | Type | Description |
|---|---|---|
| container | string | The ARN of the Container resource. |
| service | string | The ServiceName of the Container resource. |
containerArn
Type:
string
The ARN of the Container resource.
serviceName
Type:
string
The ServiceName of the Container resource.

.NET
Go
Java
Python
TypeScript