AWS::APS::RuleGroupsNamespaceThe definition of a rule groups namespace in an Amazon Managed Service for Prometheus workspace. A rule groups namespace is associated with exactly one rules file. A workspace can have multiple rule groups namespaces. For more information about rules files, see [Creating a rules file](https://docs.aws.amazon.com/prometheus/latest/userguide/AMP-ruler-rulesfile.html) , in the *Amazon Managed Service for Prometheus User Guide* .
import { CfnRuleGroupsNamespace } from 'aws-cdk-lib/aws-aps';Or use the module namespace:
import * as aps from 'aws-cdk-lib/aws-aps';
// aps.CfnRuleGroupsNamespaceConfiguration passed to the constructor as CfnRuleGroupsNamespaceProps.
dataRequiredstringThe rules file used in the namespace. For more details about the rules file, see [Creating a rules file](https://docs.aws.amazon.com/prometheus/latest/userguide/AMP-ruler-rulesfile.html) in the *Amazon Managed Service for Prometheus User Guide* .
nameRequiredstringThe name of the rule groups namespace.
workspaceRequiredstringThe ID of the workspace to add the rule groups namespace.
tagsOptionalCfnTag[]The list of tag keys and values that are associated with the rule groups namespace.
This L1 construct maps directly to the following CloudFormation resource type.
Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to Newsletteraws-apsAWS::APS::RuleGroupsNamespace