AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::APS::RuleGroupsNamespace

CfnRuleGroupsNamespace

The 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

import { CfnRuleGroupsNamespace } from 'aws-cdk-lib/aws-aps';

Or use the module namespace:

import * as aps from 'aws-cdk-lib/aws-aps';
// aps.CfnRuleGroupsNamespace

Properties

Configuration passed to the constructor as CfnRuleGroupsNamespaceProps.

dataRequired
string

The 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* .

nameRequired
string

The name of the rule groups namespace.

workspaceRequired
string

The ID of the workspace to add the rule groups namespace.

tagsOptional
CfnTag[]

The list of tag keys and values that are associated with the rule groups namespace.

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

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

LevelL1 (CloudFormation)
Moduleaws-aps
CFN TypeAWS::APS::RuleGroupsNamespace
Properties4

External Links