container
Gets an individual container
resource
Overview
Name | container |
Type | Resource |
Description | container |
Id | awscc.lightsail.container |
Fields
Name | Datatype | Description |
---|---|---|
service_name | string | The name for the container service. |
power | string | The power specification for the container service. |
container_arn | string | |
scale | integer | The scale specification for the container service. |
public_domain_names | array | The public domain names to use with the container service, such as example.com and www.example.com. |
container_service_deployment | object | Describes a container deployment configuration of an Amazon Lightsail container service. |
is_disabled | boolean | A Boolean value to indicate whether the container service is disabled. |
private_registry_access | object | 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. |
url | string | The publicly accessible URL of the container service. |
principal_arn | string | The principal ARN of the container service. |
tags | array | An array of key-value pairs to apply to this resource. |
region | string | AWS region. |
Methods
Currently only SELECT
is supported for this resource resource.
Example
SELECT
region,
service_name,
power,
container_arn,
scale,
public_domain_names,
container_service_deployment,
is_disabled,
private_registry_access,
url,
principal_arn,
tags
FROM awscc.lightsail.container
WHERE data__Identifier = '<ServiceName>';
Permissions
To operate on the container
resource, the following permissions are required:
Read
lightsail:GetContainerServices
Delete
lightsail:DeleteContainerService,
lightsail:GetContainerServices
Update
lightsail:CreateContainerServiceDeployment,
lightsail:GetContainerServices,
lightsail:TagResource,
lightsail:UntagResource,
lightsail:UpdateContainerService