Class GetRolePolicyResponse

    • Method Detail

      • roleName

        public final String roleName()

        The role the policy is associated with.

        Returns:
        The role the policy is associated with.
      • policyName

        public final String policyName()

        The name of the policy.

        Returns:
        The name of the policy.
      • policyDocument

        public final String policyDocument()

        The policy document.

        IAM stores policies in JSON format. However, resources that were created using CloudFormation templates can be formatted in YAML. CloudFormation always converts a YAML policy to JSON format before submitting it to IAM.

        Returns:
        The policy document.

        IAM stores policies in JSON format. However, resources that were created using CloudFormation templates can be formatted in YAML. CloudFormation always converts a YAML policy to JSON format before submitting it to IAM.

      • 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