Class PutResolverRulePolicyRequest

    • Method Detail

      • arn

        public final String arn()

        The Amazon Resource Name (ARN) of the rule that you want to share with another account.

        Returns:
        The Amazon Resource Name (ARN) of the rule that you want to share with another account.
      • resolverRulePolicy

        public final String resolverRulePolicy()

        An Identity and Access Management policy statement that lists the rules that you want to share with another Amazon Web Services account and the operations that you want the account to be able to perform. You can specify the following operations in the Action section of the statement:

        • route53resolver:GetResolverRule

        • route53resolver:AssociateResolverRule

        • route53resolver:DisassociateResolverRule

        • route53resolver:ListResolverRules

        • route53resolver:ListResolverRuleAssociations

        In the Resource section of the statement, specify the ARN for the rule that you want to share with another account. Specify the same ARN that you specified in Arn.

        Returns:
        An Identity and Access Management policy statement that lists the rules that you want to share with another Amazon Web Services account and the operations that you want the account to be able to perform. You can specify the following operations in the Action section of the statement:

        • route53resolver:GetResolverRule

        • route53resolver:AssociateResolverRule

        • route53resolver:DisassociateResolverRule

        • route53resolver:ListResolverRules

        • route53resolver:ListResolverRuleAssociations

        In the Resource section of the statement, specify the ARN for the rule that you want to share with another account. Specify the same ARN that you specified in Arn.

      • 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