Class PutSinkPolicyRequest

    • Method Detail

      • sinkIdentifier

        public final String sinkIdentifier()

        The ARN of the sink to attach this policy to.

        Returns:
        The ARN of the sink to attach this policy to.
      • policy

        public final String policy()

        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:
        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.

      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object