Class: Aws::Lightsail::Types::ContainerServiceECRImagePullerRole
- Inherits:
-
Struct
- Object
- Struct
- Aws::Lightsail::Types::ContainerServiceECRImagePullerRole
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-lightsail/types.rb
Overview
Describes the activation status of 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*.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#is_active ⇒ Boolean
A Boolean value that indicates whether the role is activated.
-
#principal_arn ⇒ String
The Amazon Resource Name (ARN) of the role, if it is activated.
Instance Attribute Details
#is_active ⇒ Boolean
A Boolean value that indicates whether the role is activated.
2398 2399 2400 2401 2402 2403 |
# File 'lib/aws-sdk-lightsail/types.rb', line 2398 class ContainerServiceECRImagePullerRole < Struct.new( :is_active, :principal_arn) SENSITIVE = [] include Aws::Structure end |
#principal_arn ⇒ String
The Amazon Resource Name (ARN) of the role, if it is activated.
2398 2399 2400 2401 2402 2403 |
# File 'lib/aws-sdk-lightsail/types.rb', line 2398 class ContainerServiceECRImagePullerRole < Struct.new( :is_active, :principal_arn) SENSITIVE = [] include Aws::Structure end |