Skip to content
v2.275.0

AssociatedTemplateAndRuleProperty Struct ​

Associates either a template or a rule with a policy.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_networksecuritymanager as networksecuritymanager } from 'aws-cdk-lib';
const associatedTemplateAndRuleProperty: networksecuritymanager.CfnPolicy.AssociatedTemplateAndRuleProperty = {
  ruleArn: 'ruleArn',
  templateArn: 'templateArn',
};

Properties ​

ruleArnoptionalstringrule_arnoptionalstrruleArnoptionalStringRuleArnoptionalstringRuleArnoptional*string#
ARN of the associated rule.
templateArnoptionalstringtemplate_arnoptionalstrtemplateArnoptionalStringTemplateArnoptionalstringTemplateArnoptional*string#
ARN of the associated template.