CfnRuleGroupsNamespaceMixinProps

class aws_cdk.mixins_preview.aws_aps.mixins.CfnRuleGroupsNamespaceMixinProps(*, data=None, name=None, tags=None, workspace=None)

Bases: object

Properties 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:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-aps-rulegroupsnamespace.html

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 .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-aps-rulegroupsnamespace.html#cfn-aps-rulegroupsnamespace-data

name

The name of the rule groups namespace.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-aps-rulegroupsnamespace.html#cfn-aps-rulegroupsnamespace-name

tags

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

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-aps-rulegroupsnamespace.html#cfn-aps-rulegroupsnamespace-tags

workspace

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

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-aps-rulegroupsnamespace.html#cfn-aps-rulegroupsnamespace-workspace