Skip to content

PutSinkPolicyInput

Source code in docs_src/capo_oam/types/put_sink_policy_input.py
class PutSinkPolicyInput(TypedDict, closed=True):
    sink_identifier: "capo_oam.types.resource_identifier.ResourceIdentifier"
    """<p>The ARN of the sink to attach this policy to.</p>"""
    policy: "capo_oam.types.sink_policy.SinkPolicy"
    """<p>The JSON policy to use. If you are updating an existing policy, the entire existing policy is replaced by what you specify here.</p> <p>The policy must be in JSON string format with quotation marks escaped and no newlines.</p> <p>For examples of different types of policies, see the <b>Examples</b> section on this page.</p>"""

policy instance-attribute

policy: SinkPolicy

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.

sink_identifier instance-attribute

sink_identifier: ResourceIdentifier

The ARN of the sink to attach this policy to.