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)


822
823
824
825
826
827
# File 'lib/aws-sdk-oam/types.rb', line 822

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

#sink_identifierString

The ARN of the sink to attach this policy to.

Returns:

  • (String)


822
823
824
825
826
827
# File 'lib/aws-sdk-oam/types.rb', line 822

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