AWS::FMS::PolicyCreates an AWS Firewall Manager policy.
15 configurable properties. 4 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
ExcludeResourceTags | boolean | Required |
PolicyName | string | Required |
RemediationEnabled | boolean | Required |
SecurityServicePolicyData | SecurityServicePolicyData | Required |
DeleteAllPolicyResources | boolean | Write-only |
ExcludeMap | IEMap | |
IncludeMap | IEMap | |
PolicyDescription | string | |
ResourcesCleanUp | boolean | |
ResourceSetIds | Array<string> | |
ResourceTagLogicalOperator | string | |
ResourceTags | Array<ResourceTag> | |
ResourceType | string | |
ResourceTypeList | Array<string> | |
Tags | Array<PolicyTag> |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
Arn | string | - |
Id | string | - |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::FMS::Policy
Resources:
MyResource:
Type: AWS::FMS::Policy
Properties:
ExcludeResourceTags: true
PolicyName: "my-policyname"
RemediationEnabled: true
SecurityServicePolicyData: "value"
Tags:
- Key: Environment
Value: ProductionPermissions CloudFormation needs in your IAM role to manage this resource.
fms:PutPolicyfms:TagResourcewaf-regional:ListRuleGroupswafv2:CheckCapacitywafv2:ListRuleGroupswafv2:ListAvailableManagedRuleGroupswafv2:ListAvailableManagedRuleGroupVersionsnetwork-firewall:DescribeRuleGroupfms:PutPolicyfms:GetPolicyfms:TagResourcefms:UntagResourcefms:ListTagsForResourcewaf-regional:ListRuleGroupswafv2:CheckCapacitywafv2:ListRuleGroupsfms:GetPolicyfms:ListTagsForResourcefms:DeletePolicyfms:ListPoliciesfms:ListTagsForResourceOur bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to NewsletterId