AWS::NetworkSecurityManager::PolicyResource Type definition for AWS::NetworkSecurityManager::Policy. Creates and manages a Network Security Manager policy.
7 configurable properties. 4 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
FirewallType | string | RequiredCreate-only |
PolicyConfiguration | PolicyConfiguration | Required |
PolicyName | string | RequiredCreate-only |
Priority | integer | Required |
AssociatedTemplateAndRuleList | Array<AssociatedTemplateAndRule> | |
PolicyDescription | string | |
Tags | Array<Tag> |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
PolicyArn | string | The ARN of the policy. |
PolicyId | string | The unique identifier of the policy. |
Status | string | The status of the policy. |
UpdatedAt | string | An ISO 8601 timestamp indicating when the policy was last modified. |
Version | string | The version number. |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::NetworkSecurityManager::Policy
Resources:
MyResource:
Type: AWS::NetworkSecurityManager::Policy
Properties:
PolicyName: "my-policyname"
Priority: 1
FirewallType: "WAF"
PolicyConfiguration: "value"
Tags:
- Key: Environment
Value: ProductionPermissions CloudFormation needs in your IAM role to manage this resource.
network-security-manager:CreatePolicynetwork-security-manager:GetPolicynetwork-security-manager:TagResourcenetwork-security-manager:ListTagsForResourcenetwork-security-manager:GetPolicynetwork-security-manager:ListTagsForResourcenetwork-security-manager:UpdatePolicynetwork-security-manager:GetPolicynetwork-security-manager:TagResourcenetwork-security-manager:UntagResourcenetwork-security-manager:ListTagsForResourcenetwork-security-manager:DeletePolicynetwork-security-manager:GetPolicynetwork-security-manager:ListTagsForResourcenetwork-security-manager:ListPoliciesOur bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to NewsletterPolicyArnThese properties cannot be changed after the resource is created. Updating them triggers a replacement.
PolicyNameFirewallType