CfnRuleGroupsNamespaceMixinProps
- class aws_cdk.mixins_preview.aws_aps.mixins.CfnRuleGroupsNamespaceMixinProps(*, data=None, name=None, tags=None, workspace=None)
Bases:
objectProperties for CfnRuleGroupsNamespacePropsMixin.
- Parameters:
data (
Optional[str]) – The rules file used in the namespace. For more details about the rules file, see Creating a rules file in the Amazon Managed Service for Prometheus User Guide .name (
Optional[str]) – The name of the rule groups namespace.tags (
Optional[Sequence[Union[CfnTag,Dict[str,Any]]]]) – The list of tag keys and values that are associated with the rule groups namespace.workspace (
Optional[str]) – The ID of the workspace to add the rule groups namespace.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_aps import mixins as aps_mixins cfn_rule_groups_namespace_mixin_props = aps_mixins.CfnRuleGroupsNamespaceMixinProps( data="data", name="name", tags=[CfnTag( key="key", value="value" )], workspace="workspace" )
Attributes
- data
The rules file used in the namespace.
For more details about the rules file, see Creating a rules file in the Amazon Managed Service for Prometheus User Guide .
- name
The name of the rule groups namespace.
- tags
The list of tag keys and values that are associated with the rule groups namespace.
- workspace
The ID of the workspace to add the rule groups namespace.