amazonka-lightsail-2.0: Amazon Lightsail SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Lightsail.Types.ContainerServiceECRImagePullerRole

Description

 
Synopsis

Documentation

data ContainerServiceECRImagePullerRole Source #

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.

See: newContainerServiceECRImagePullerRole smart constructor.

Constructors

ContainerServiceECRImagePullerRole' 

Fields

Instances

Instances details
FromJSON ContainerServiceECRImagePullerRole Source # 
Instance details

Defined in Amazonka.Lightsail.Types.ContainerServiceECRImagePullerRole

Generic ContainerServiceECRImagePullerRole Source # 
Instance details

Defined in Amazonka.Lightsail.Types.ContainerServiceECRImagePullerRole

Associated Types

type Rep ContainerServiceECRImagePullerRole :: Type -> Type #

Read ContainerServiceECRImagePullerRole Source # 
Instance details

Defined in Amazonka.Lightsail.Types.ContainerServiceECRImagePullerRole

Show ContainerServiceECRImagePullerRole Source # 
Instance details

Defined in Amazonka.Lightsail.Types.ContainerServiceECRImagePullerRole

NFData ContainerServiceECRImagePullerRole Source # 
Instance details

Defined in Amazonka.Lightsail.Types.ContainerServiceECRImagePullerRole

Eq ContainerServiceECRImagePullerRole Source # 
Instance details

Defined in Amazonka.Lightsail.Types.ContainerServiceECRImagePullerRole

Hashable ContainerServiceECRImagePullerRole Source # 
Instance details

Defined in Amazonka.Lightsail.Types.ContainerServiceECRImagePullerRole

type Rep ContainerServiceECRImagePullerRole Source # 
Instance details

Defined in Amazonka.Lightsail.Types.ContainerServiceECRImagePullerRole

type Rep ContainerServiceECRImagePullerRole = D1 ('MetaData "ContainerServiceECRImagePullerRole" "Amazonka.Lightsail.Types.ContainerServiceECRImagePullerRole" "amazonka-lightsail-2.0-77hvsZhtZFxFduYae8QaN0" 'False) (C1 ('MetaCons "ContainerServiceECRImagePullerRole'" 'PrefixI 'True) (S1 ('MetaSel ('Just "isActive") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "principalArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newContainerServiceECRImagePullerRole :: ContainerServiceECRImagePullerRole Source #

Create a value of ContainerServiceECRImagePullerRole with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:isActive:ContainerServiceECRImagePullerRole', containerServiceECRImagePullerRole_isActive - A Boolean value that indicates whether the role is activated.

$sel:principalArn:ContainerServiceECRImagePullerRole', containerServiceECRImagePullerRole_principalArn - The Amazon Resource Name (ARN) of the role, if it is activated.

containerServiceECRImagePullerRole_isActive :: Lens' ContainerServiceECRImagePullerRole (Maybe Bool) Source #

A Boolean value that indicates whether the role is activated.

containerServiceECRImagePullerRole_principalArn :: Lens' ContainerServiceECRImagePullerRole (Maybe Text) Source #

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