firewall_rule_group_policies
Creates, updates, deletes, gets or lists a firewall_rule_group_policies resource.
Overview
| Name | firewall_rule_group_policies |
| Type | Resource |
| Id | aws.route53resolver.firewall_rule_group_policies |
Fields
The following fields are returned by SELECT queries:
- get_firewall_rule_group_policy
| Name | Datatype | Description |
|---|---|---|
firewall_rule_group_policy | string | 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). |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_firewall_rule_group_policy | select | region | 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). | |
put_firewall_rule_group_policy | replace | region, Arn, FirewallRuleGroupPolicy | 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). |
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.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
SELECT examples
- get_firewall_rule_group_policy
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
- put_firewall_rule_group_policy
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;