Class: Aws::EntityResolution::Types::AddPolicyStatementInput

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#actionArray<String>

The action that the principal can use on the resource.

For example, ‘entityresolution:GetIdMappingJob`, `entityresolution:GetMatchingJob`.

Returns:

  • (Array<String>)


64
65
66
67
68
69
70
71
72
73
# File 'lib/aws-sdk-entityresolution/types.rb', line 64

class AddPolicyStatementInput < Struct.new(
  :action,
  :arn,
  :condition,
  :effect,
  :principal,
  :statement_id)
  SENSITIVE = []
  include Aws::Structure
end

#arnString

The Amazon Resource Name (ARN) of the resource that will be accessed by the principal.

Returns:

  • (String)


64
65
66
67
68
69
70
71
72
73
# File 'lib/aws-sdk-entityresolution/types.rb', line 64

class AddPolicyStatementInput < Struct.new(
  :action,
  :arn,
  :condition,
  :effect,
  :principal,
  :statement_id)
  SENSITIVE = []
  include Aws::Structure
end

#conditionString

A set of condition keys that you can use in key policies.

Returns:

  • (String)


64
65
66
67
68
69
70
71
72
73
# File 'lib/aws-sdk-entityresolution/types.rb', line 64

class AddPolicyStatementInput < Struct.new(
  :action,
  :arn,
  :condition,
  :effect,
  :principal,
  :statement_id)
  SENSITIVE = []
  include Aws::Structure
end

#effectString

Determines whether the permissions specified in the policy are to be allowed (‘Allow`) or denied (`Deny`).

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

Returns:

  • (String)


64
65
66
67
68
69
70
71
72
73
# File 'lib/aws-sdk-entityresolution/types.rb', line 64

class AddPolicyStatementInput < Struct.new(
  :action,
  :arn,
  :condition,
  :effect,
  :principal,
  :statement_id)
  SENSITIVE = []
  include Aws::Structure
end

#principalArray<String>

The Amazon Web Services service or Amazon Web Services account that can access the resource defined as ARN.

Returns:

  • (Array<String>)


64
65
66
67
68
69
70
71
72
73
# File 'lib/aws-sdk-entityresolution/types.rb', line 64

class AddPolicyStatementInput < Struct.new(
  :action,
  :arn,
  :condition,
  :effect,
  :principal,
  :statement_id)
  SENSITIVE = []
  include Aws::Structure
end

#statement_idString

A statement identifier that differentiates the statement from others in the same policy.

Returns:

  • (String)


64
65
66
67
68
69
70
71
72
73
# File 'lib/aws-sdk-entityresolution/types.rb', line 64

class AddPolicyStatementInput < Struct.new(
  :action,
  :arn,
  :condition,
  :effect,
  :principal,
  :statement_id)
  SENSITIVE = []
  include Aws::Structure
end