Class UpdatePolicyTemplateRequest

    • Method Detail

      • policyStoreId

        public final String policyStoreId()

        Specifies the ID of the policy store that contains the policy template that you want to update.

        Returns:
        Specifies the ID of the policy store that contains the policy template that you want to update.
      • policyTemplateId

        public final String policyTemplateId()

        Specifies the ID of the policy template that you want to update.

        Returns:
        Specifies the ID of the policy template that you want to update.
      • description

        public final String description()

        Specifies a new description to apply to the policy template.

        Returns:
        Specifies a new description to apply to the policy template.
      • statement

        public final String statement()

        Specifies new statement content written in Cedar policy language to replace the current body of the policy template.

        You can change only the following elements of the policy body:

        • The action referenced by the policy template.

        • Any conditional clauses, such as when or unless clauses.

        You can't change the following elements:

        • The effect (permit or forbid) of the policy template.

        • The principal referenced by the policy template.

        • The resource referenced by the policy template.

        Returns:
        Specifies new statement content written in Cedar policy language to replace the current body of the policy template.

        You can change only the following elements of the policy body:

        • The action referenced by the policy template.

        • Any conditional clauses, such as when or unless clauses.

        You can't change the following elements:

        • The effect (permit or forbid) of the policy template.

        • The principal referenced by the policy template.

        • The resource referenced by the policy template.

      • 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