Route53Resolver / Client / put_firewall_rule_group_policy

put_firewall_rule_group_policy#

Route53Resolver.Client.put_firewall_rule_group_policy(**kwargs)#

Attaches an Identity and Access Management (Amazon Web Services IAM) policy for sharing the rule group. You can use the policy to share the rule group using Resource Access Manager (RAM).

See also: AWS API Documentation

Request Syntax

response = client.put_firewall_rule_group_policy(
    Arn='string',
    FirewallRuleGroupPolicy='string'
)
Parameters:
  • Arn (string) –

    [REQUIRED]

    The ARN (Amazon Resource Name) for the rule group that you want to share.

  • FirewallRuleGroupPolicy (string) –

    [REQUIRED]

    The Identity and Access Management (Amazon Web Services IAM) policy to attach to the rule group.

Return type:

dict

Returns:

Response Syntax

{
    'ReturnValue': True|False
}

Response Structure

  • (dict) –

    • ReturnValue (boolean) –

Exceptions

  • Route53Resolver.Client.exceptions.ValidationException

  • Route53Resolver.Client.exceptions.ResourceNotFoundException

  • Route53Resolver.Client.exceptions.AccessDeniedException

  • Route53Resolver.Client.exceptions.InternalServiceErrorException

  • Route53Resolver.Client.exceptions.ThrottlingException