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

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

Overview

Note:

When making an API call, you may pass ContainerServiceECRImagePullerRoleRequest data as a hash:

{
  is_active: false,
}

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.

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)


2561
2562
2563
2564
2565
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 2561

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