PutResourcePolicyRequest

PutResourcePolicyRequest schema from Amazon Network Firewall

FirewallIntrusion DetectionNetwork SecurityVPC

Properties

Name Type Description
ResourceArn object
Policy object
View JSON Schema on GitHub

JSON Schema

openapi-put-resource-policy-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-network-firewall/refs/heads/main/json-schema/openapi-put-resource-policy-request-schema.json",
  "title": "PutResourcePolicyRequest",
  "description": "PutResourcePolicyRequest schema from Amazon Network Firewall",
  "type": "object",
  "properties": {
    "ResourceArn": {
      "allOf": [
        {
          "$ref": "#/components/schemas/ResourceArn"
        },
        {
          "description": "The Amazon Resource Name (ARN) of the account that you want to share rule groups and firewall policies with."
        }
      ]
    },
    "Policy": {
      "allOf": [
        {
          "$ref": "#/components/schemas/PolicyString"
        },
        {
          "description": "<p>The IAM policy statement that lists the accounts that you want to share your rule group or firewall policy with and the operations that you want the accounts to be able to perform. </p> <p>For a rule group resource, you can specify the following operations in the Actions section of the statement:</p> <ul> <li> <p>network-firewall:CreateFirewallPolicy</p> </li> <li> <p>network-firewall:UpdateFirewallPolicy</p> </li> <li> <p>network-firewall:ListRuleGroups</p> </li> </ul> <p>For a firewall policy resource, you can specify the following operations in the Actions section of the statement:</p> <ul> <li> <p>network-firewall:CreateFirewall</p> </li> <li> <p>network-firewall:UpdateFirewall</p> </li> <li> <p>network-firewall:AssociateFirewallPolicy</p> </li> <li> <p>network-firewall:ListFirewallPolicies</p> </li> </ul> <p>In the Resource section of the statement, you specify the ARNs for the rule groups and firewall policies that you want to share with the account that you specified in <code>Arn</code>.</p>"
        }
      ]
    }
  },
  "required": [
    "ResourceArn",
    "Policy"
  ]
}