ContainerReference

class aws_cdk.aws_lightsail.ContainerReference(*, container_arn, service_name)

Bases: object

A reference to a Container resource.

Parameters:
  • container_arn (str) – The ARN of the Container resource.

  • service_name (str) – The ServiceName of the Container resource.

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_lightsail as lightsail

container_reference = lightsail.ContainerReference(
    container_arn="containerArn",
    service_name="serviceName"
)

Attributes

container_arn

The ARN of the Container resource.

service_name

The ServiceName of the Container resource.