Class: Aws::OAM::Types::PutSinkPolicyInput

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#policyString

The JSON policy to use. If you are updating an existing policy, the entire existing policy is replaced by what you specify here.

The policy must be in JSON string format with quotation marks escaped and no newlines.

For examples of different types of policies, see the Examples section on this page.

Returns:

  • (String)


674
675
676
677
678
679
# File 'lib/aws-sdk-oam/types.rb', line 674

class PutSinkPolicyInput < Struct.new(
  :sink_identifier,
  :policy)
  SENSITIVE = []
  include Aws::Structure
end

#sink_identifierString

The ARN of the sink to attach this policy to.

Returns:

  • (String)


674
675
676
677
678
679
# File 'lib/aws-sdk-oam/types.rb', line 674

class PutSinkPolicyInput < Struct.new(
  :sink_identifier,
  :policy)
  SENSITIVE = []
  include Aws::Structure
end