Class: Aws::ECRPublic::Types::GetRepositoryPolicyRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ecrpublic/lib/aws-sdk-ecrpublic/types.rb

Overview

Note:

When making an API call, you may pass GetRepositoryPolicyRequest data as a hash:

{
  registry_id: "RegistryId",
  repository_name: "RepositoryName", # required
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#registry_idString

The AWS account ID associated with the public registry that contains the repository. If you do not specify a registry, the default public registry is assumed.

Returns:

  • (String)


797
798
799
800
801
802
# File 'gems/aws-sdk-ecrpublic/lib/aws-sdk-ecrpublic/types.rb', line 797

class GetRepositoryPolicyRequest < Struct.new(
  :registry_id,
  :repository_name)
  SENSITIVE = []
  include Aws::Structure
end

#repository_nameString

The name of the repository with the policy to retrieve.

Returns:

  • (String)


797
798
799
800
801
802
# File 'gems/aws-sdk-ecrpublic/lib/aws-sdk-ecrpublic/types.rb', line 797

class GetRepositoryPolicyRequest < Struct.new(
  :registry_id,
  :repository_name)
  SENSITIVE = []
  include Aws::Structure
end