Class: Aws::Schemas::Types::PutResourcePolicyRequest

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

Overview

Note:

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

{
  policy: "__string", # required
  registry_name: "__string",
  revision_id: "__string",
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#policyString

Returns:

  • (String)


1552
1553
1554
1555
1556
1557
1558
# File 'gems/aws-sdk-schemas/lib/aws-sdk-schemas/types.rb', line 1552

class PutResourcePolicyRequest < Struct.new(
  :policy,
  :registry_name,
  :revision_id)
  SENSITIVE = []
  include Aws::Structure
end

#registry_nameString

Returns:

  • (String)


1552
1553
1554
1555
1556
1557
1558
# File 'gems/aws-sdk-schemas/lib/aws-sdk-schemas/types.rb', line 1552

class PutResourcePolicyRequest < Struct.new(
  :policy,
  :registry_name,
  :revision_id)
  SENSITIVE = []
  include Aws::Structure
end

#revision_idString

Returns:

  • (String)


1552
1553
1554
1555
1556
1557
1558
# File 'gems/aws-sdk-schemas/lib/aws-sdk-schemas/types.rb', line 1552

class PutResourcePolicyRequest < Struct.new(
  :policy,
  :registry_name,
  :revision_id)
  SENSITIVE = []
  include Aws::Structure
end