Skip to content
v2.275.0

ContainerReference Struct ​

A reference to a Container resource.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_lightsail as interfaces_lightsail } from 'aws-cdk-lib/interfaces';
const containerReference: interfaces_lightsail.ContainerReference = {
  containerArn: 'containerArn',
  serviceName: 'serviceName',
};

Properties ​

containerArnstringcontainer_arnstrcontainerArnStringContainerArnstringContainerArn*stringrequired#
The ARN of the Container resource.
serviceNamestringservice_namestrserviceNameStringServiceNamestringServiceName*stringrequired#
The ServiceName of the Container resource.