AWS::NetworkSecurityManager::Rule

NetworkSecurityManager Rule

Resource Type definition for AWS::NetworkSecurityManager::Rule. Creates and manages a Network Security Manager rule.

Properties

6 configurable properties. 1 required. Click a row to see details.

Filter:
PropertyTypeFlags
RuleName
string
RequiredCreate-only
Configuration
string
FirewallType
string
Create-only
RuleDescription
string
RuleType
string
Create-only
Tags
Array<Tag>

Return Values

Values returned after the resource is created. Access these with Fn::GetAtt.

AttributeTypeDescription
RuleArnstringThe Amazon Resource Name (ARN) of the rule.
RuleIdstringThe unique identifier of the rule.
StatusstringThe status of the rule.
UpdatedAtstringAn ISO 8601 timestamp indicating when the rule was last modified.
VersionstringThe version number of the rule.

Sample CloudFormation Template

A minimal template with required properties and common optional ones.

template.yaml
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: Production

Required IAM Permissions

Permissions CloudFormation needs in your IAM role to manage this resource.

create

network-security-manager:CreateRulenetwork-security-manager:GetRulenetwork-security-manager:TagResourcenetwork-security-manager:ListTagsForResource

read

network-security-manager:GetRulenetwork-security-manager:ListTagsForResource

update

network-security-manager:UpdateRulenetwork-security-manager:GetRulenetwork-security-manager:TagResourcenetwork-security-manager:UntagResourcenetwork-security-manager:ListTagsForResource

delete

network-security-manager:DeleteRulenetwork-security-manager:GetRulenetwork-security-manager:ListTagsForResource

list

network-security-manager:ListRules

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter

Quick Facts

ServiceNetworkSecurityManager
Properties11
Required1
TaggingSupported
Primary IDRuleArn

Supported Operations

CreateReadUpdateDeleteList

Immutable After Creation

These properties cannot be changed after the resource is created. Updating them triggers a replacement.

RuleNameFirewallTypeRuleType

External Links