Class: Aws::Lightsail::Types::ContainerServiceECRImagePullerRole

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-lightsail/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

Instance Attribute Details

#is_activeBoolean

A Boolean value that indicates whether the role is activated.

Returns:

  • (Boolean)


2398
2399
2400
2401
2402
2403
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 2398

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

#principal_arnString

The Amazon Resource Name (ARN) of the role, if it is activated.

Returns:

  • (String)


2398
2399
2400
2401
2402
2403
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 2398

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