Class: Aws::OAM::Types::PutSinkPolicyInput
- Inherits:
-
Struct
- Object
- Struct
- Aws::OAM::Types::PutSinkPolicyInput
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-oam/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#policy ⇒ String
The JSON policy to use.
-
#sink_identifier ⇒ String
The ARN of the sink to attach this policy to.
Instance Attribute Details
#policy ⇒ String
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.
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_identifier ⇒ String
The ARN of the sink to attach this policy to.
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 |