Skip to main content

firewall_rule_group_policies

Creates, updates, deletes, gets or lists a firewall_rule_group_policies resource.

Overview

Namefirewall_rule_group_policies
TypeResource
Idaws.route53resolver.firewall_rule_group_policies

Fields

The following fields are returned by SELECT queries:

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

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_firewall_rule_group_policyselectregionReturns the Identity and Access Management (Amazon Web Services IAM) policy for sharing the specified rule group. You can use the policy to share the rule group using Resource Access Manager (RAM).
put_firewall_rule_group_policyreplaceregion, Arn, FirewallRuleGroupPolicyAttaches 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).

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

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

SELECT
firewall_rule_group_policy
FROM aws.route53resolver.firewall_rule_group_policies
WHERE region = '{{ region }}' -- required
;

REPLACE examples

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

REPLACE aws.route53resolver.firewall_rule_group_policies
SET
Arn = '{{ Arn }}',
FirewallRuleGroupPolicy = '{{ FirewallRuleGroupPolicy }}'
WHERE
region = '{{ region }}' --required
AND Arn = '{{ Arn }}' --required
AND FirewallRuleGroupPolicy = '{{ FirewallRuleGroupPolicy }}' --required
RETURNING
return_value;