---
type: resource-type
title: LightsailContainer
description: aws resource type AWS::Lightsail::Container
name: LightsailContainer
lexicon: aws
resource_type: AWS::Lightsail::Container
---
`AWS::Lightsail::Container`, a resource type of the aws lexicon.

## Properties

- `Power` (`string`, required): The power specification for the container service.
- `Scale` (`number`, required): The scale specification for the container service.
- `ServiceName` (`string`, required): The name for the container service.
- `ContainerArn` (`string`, optional)
- `ContainerServiceDeployment` (`LightsailContainer_ContainerServiceDeployment`, optional): Describes a container deployment configuration of an Amazon Lightsail container service.
- `IsDisabled` (`boolean`, optional): A Boolean value to indicate whether the container service is disabled.
- `PrincipalArn` (`string`, optional): The principal ARN of the container service.
- `PrivateRegistryAccess` (`LightsailContainer_PrivateRegistryAccess`, optional): A Boolean value to indicate whether the container service has access to private container image repositories, such as Amazon Elastic Container Registry (Amazon ECR) private repositories.
- `PublicDomainNames` (`LightsailContainer_PublicDomainName[]`, optional): The public domain names to use with the container service, such as example.com and www.example.com.
- `Tags` (`LightsailContainer_Tag[]`, optional): An array of key-value pairs to apply to this resource.
- `Url` (`string`, optional): The publicly accessible URL of the container service.

## Attributes

- `ContainerArn`
- `PrincipalArn`
- `PrivateRegistryAccess.EcrImagePullerRole.PrincipalArn`
- `Url`
