Class: Aws::ECR::Types::GetRepositoryPolicyRequest

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

Overview

Note:

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

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

Instance Attribute Summary collapse

Instance Attribute Details

#registry_idString

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

Returns:

  • (String)


1087
1088
1089
1090
1091
# File 'gems/aws-sdk-ecr/lib/aws-sdk-ecr/types.rb', line 1087

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

#repository_nameString

The name of the repository with the policy to retrieve.

Returns:

  • (String)


1087
1088
1089
1090
1091
# File 'gems/aws-sdk-ecr/lib/aws-sdk-ecr/types.rb', line 1087

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