Class: Aws::AccessAnalyzer::Types::EcrRepositoryConfiguration

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-accessanalyzer/types.rb

Overview

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.

[1]: docs.aws.amazon.com/AmazonECR/latest/APIReference/API_Repository.html

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#repository_policyString

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*.

[1]: docs.aws.amazon.com/AmazonECR/latest/userguide/repository-policy-examples.html

Returns:

  • (String)


1407
1408
1409
1410
1411
# File 'lib/aws-sdk-accessanalyzer/types.rb', line 1407

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