Class: Aws::ECR::Types::PutRegistryPolicyRequest

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 PutRegistryPolicyRequest data as a hash:

{
  policy_text: "RegistryPolicyText", # required
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#policy_textString

The JSON policy text to apply to your registry. The policy text follows the same format as IAM policy text. For more information, see Registry permissions in the Amazon Elastic Container Registry User Guide.

Returns:

  • (String)


3183
3184
3185
3186
3187
# File 'gems/aws-sdk-ecr/lib/aws-sdk-ecr/types.rb', line 3183

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