AWS::NetworkSecurityManager::RuleResource Type definition for AWS::NetworkSecurityManager::Rule. Creates and manages a Network Security Manager rule.
6 configurable properties. 1 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
RuleName | string | RequiredCreate-only |
Configuration | string | |
FirewallType | string | Create-only |
RuleDescription | string | |
RuleType | string | Create-only |
Tags | Array<Tag> |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
RuleArn | string | The Amazon Resource Name (ARN) of the rule. |
RuleId | string | The unique identifier of the rule. |
Status | string | The status of the rule. |
UpdatedAt | string | An ISO 8601 timestamp indicating when the rule was last modified. |
Version | string | The version number of the rule. |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::NetworkSecurityManager::Rule
Resources:
MyResource:
Type: AWS::NetworkSecurityManager::Rule
Properties:
RuleName: "my-rulename"
Tags:
- Key: Environment
Value: ProductionPermissions CloudFormation needs in your IAM role to manage this resource.
network-security-manager:CreateRulenetwork-security-manager:GetRulenetwork-security-manager:TagResourcenetwork-security-manager:ListTagsForResourcenetwork-security-manager:GetRulenetwork-security-manager:ListTagsForResourcenetwork-security-manager:UpdateRulenetwork-security-manager:GetRulenetwork-security-manager:TagResourcenetwork-security-manager:UntagResourcenetwork-security-manager:ListTagsForResourcenetwork-security-manager:DeleteRulenetwork-security-manager:GetRulenetwork-security-manager:ListTagsForResourcenetwork-security-manager:ListRulesOur bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to NewsletterRuleArnThese properties cannot be changed after the resource is created. Updating them triggers a replacement.
RuleNameFirewallTypeRuleType