amazonka-accessanalyzer-2.0: Amazon Access Analyzer 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.AccessAnalyzer.Types.EcrRepositoryConfiguration

Description

 
Synopsis

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.

Constructors

EcrRepositoryConfiguration' 

Fields

Instances

Instances details
FromJSON EcrRepositoryConfiguration Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.EcrRepositoryConfiguration

ToJSON EcrRepositoryConfiguration Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.EcrRepositoryConfiguration

Generic EcrRepositoryConfiguration Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.EcrRepositoryConfiguration

Associated Types

type Rep EcrRepositoryConfiguration :: Type -> Type #

Read EcrRepositoryConfiguration Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.EcrRepositoryConfiguration

Show EcrRepositoryConfiguration Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.EcrRepositoryConfiguration

NFData EcrRepositoryConfiguration Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.EcrRepositoryConfiguration

Eq EcrRepositoryConfiguration Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.EcrRepositoryConfiguration

Hashable EcrRepositoryConfiguration Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.EcrRepositoryConfiguration

type Rep EcrRepositoryConfiguration Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.EcrRepositoryConfiguration

type Rep EcrRepositoryConfiguration = D1 ('MetaData "EcrRepositoryConfiguration" "Amazonka.AccessAnalyzer.Types.EcrRepositoryConfiguration" "amazonka-accessanalyzer-2.0-A0JZirwj4a95MolJaaBere" 'False) (C1 ('MetaCons "EcrRepositoryConfiguration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "repositoryPolicy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

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.