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 |
Documentation
data EcrRepositoryConfiguration Source #
The proposed access control configuration for an Amazon ECR repository. You can propose a configuration for a new Amazon ECR repository or an existing Amazon ECR repository that you own by specifying the Amazon ECR policy. For more information, see Repository.
- If the configuration is for an existing Amazon ECR repository and you do not specify the Amazon ECR policy, then the access preview uses the existing Amazon ECR policy for the repository.
- If the access preview is for a new resource and you do not specify the policy, then the access preview assumes an Amazon ECR repository without a policy.
- To propose deletion of an existing Amazon ECR repository policy, you can specify an empty string for the Amazon ECR policy.
See: newEcrRepositoryConfiguration
smart constructor.
EcrRepositoryConfiguration' | |
|
Instances
newEcrRepositoryConfiguration :: EcrRepositoryConfiguration Source #
Create a value of EcrRepositoryConfiguration
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:repositoryPolicy:EcrRepositoryConfiguration'
, ecrRepositoryConfiguration_repositoryPolicy
- The JSON repository policy text to apply to the Amazon ECR repository.
For more information, see
Private repository policy examples
in the Amazon ECR User Guide.
ecrRepositoryConfiguration_repositoryPolicy :: Lens' EcrRepositoryConfiguration (Maybe Text) Source #
The JSON repository policy text to apply to the Amazon ECR repository. For more information, see Private repository policy examples in the Amazon ECR User Guide.