Class: Aws::Lightsail::Types::ContainerServiceECRImagePullerRoleRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-lightsail/types.rb

Overview

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*.

[1]: lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-container-service-ecr-private-repo-access

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#is_activeBoolean

A Boolean value that indicates whether to activate the role.

Returns:

  • (Boolean)


2429
2430
2431
2432
2433
# File 'lib/aws-sdk-lightsail/types.rb', line 2429

class ContainerServiceECRImagePullerRoleRequest < Struct.new(
  :is_active)
  SENSITIVE = []
  include Aws::Structure
end