This is the new CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.
AWS::NetworkSecurityManager::Policy AssociatedTemplateAndRule
Associates a single template or a single rule with a policy. Specify exactly one of
TemplateArn or RuleArn.
Syntax
To declare this entity in your CloudFormation template, use the following syntax:
JSON
{ "RuleArn" :String, "TemplateArn" :String}
YAML
RuleArn:StringTemplateArn:String
Properties
RuleArn-
The Amazon Resource Name (ARN) of the rule to associate with the policy. Don't specify this property if you specify
TemplateArn.Required: No
Type: String
Pattern:
arn(:[a-z0-9]+([.-][a-z0-9]+)*){2}(:([a-z0-9]+([.-][a-z0-9]+)*)?){2}:(.+)Minimum:
20Maximum:
1010Update requires: No interruption
TemplateArn-
The Amazon Resource Name (ARN) of the template to associate with the policy. Don't specify this property if you specify
RuleArn.Required: No
Type: String
Pattern:
arn(:[a-z0-9]+([.-][a-z0-9]+)*){2}(:([a-z0-9]+([.-][a-z0-9]+)*)?){2}:(.+)Minimum:
20Maximum:
1010Update requires: No interruption