Skip to content

/AWS1/CL_LSACONTAINERSVCECRI00

Describes a request to activate or deactivate the role that you can use to grant an Amazon Lightsail container service access to Amazon Elastic Container Registry (Amazon ECR) private repositories.

When activated, Lightsail creates an Identity and Access Management (IAM) role for the specified Lightsail container service. You can use the ARN of the role to create a trust relationship between your Lightsail container service and an Amazon ECR private repository in your Amazon Web Services account. This allows your container service to pull images from Amazon ECR private repositories. For more information, see Configuring access to an Amazon ECR private repository for an Amazon Lightsail container service in the Amazon Lightsail Developer Guide.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_isactive TYPE /AWS1/LSABOOLEAN /AWS1/LSABOOLEAN

A Boolean value that indicates whether to activate the role.


Queryable Attributes

isActive

A Boolean value that indicates whether to activate the role.

Accessible with the following methods

Method Description
GET_ISACTIVE() Getter for ISACTIVE, with configurable default
ASK_ISACTIVE() Getter for ISACTIVE w/ exceptions if field has no value
HAS_ISACTIVE() Determine if ISACTIVE has a value