Class: Aws::EntityResolution::Types::PutPolicyInput

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#arnString

The Amazon Resource Name (ARN) of the resource for which the policy needs to be updated.

Returns:

  • (String)


2818
2819
2820
2821
2822
2823
2824
# File 'gems/aws-sdk-entityresolution/lib/aws-sdk-entityresolution/types.rb', line 2818

class PutPolicyInput < Struct.new(
  :arn,
  :token,
  :policy)
  SENSITIVE = []
  include Aws::Structure
end

#policyString

The resource-based policy.

If you set the value of the effect parameter in the policy to Deny for the PutPolicy operation, you must also set the value of the effect parameter to Deny for the AddPolicyStatement operation.

Returns:

  • (String)


2818
2819
2820
2821
2822
2823
2824
# File 'gems/aws-sdk-entityresolution/lib/aws-sdk-entityresolution/types.rb', line 2818

class PutPolicyInput < Struct.new(
  :arn,
  :token,
  :policy)
  SENSITIVE = []
  include Aws::Structure
end

#tokenString

A unique identifier for the current revision of the policy.

Returns:

  • (String)


2818
2819
2820
2821
2822
2823
2824
# File 'gems/aws-sdk-entityresolution/lib/aws-sdk-entityresolution/types.rb', line 2818

class PutPolicyInput < Struct.new(
  :arn,
  :token,
  :policy)
  SENSITIVE = []
  include Aws::Structure
end