Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Amazonka.Lightsail.Types.ContainerServiceECRImagePullerRoleRequest
Description
Synopsis
Documentation
data ContainerServiceECRImagePullerRoleRequest Source #
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.
See: newContainerServiceECRImagePullerRoleRequest
smart constructor.
Constructors
ContainerServiceECRImagePullerRoleRequest' | |
Instances
newContainerServiceECRImagePullerRoleRequest :: ContainerServiceECRImagePullerRoleRequest Source #
Create a value of ContainerServiceECRImagePullerRoleRequest
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:ContainerServiceECRImagePullerRoleRequest'
, containerServiceECRImagePullerRoleRequest_isActive
- A Boolean value that indicates whether to activate the role.
containerServiceECRImagePullerRoleRequest_isActive :: Lens' ContainerServiceECRImagePullerRoleRequest (Maybe Bool) Source #
A Boolean value that indicates whether to activate the role.