CfnRuleGroupsNamespaceProps

class aws_cdk.aws_aps.CfnRuleGroupsNamespaceProps(*, data, name, workspace, tags=None)

Bases: object

Properties for defining a CfnRuleGroupsNamespace.

Parameters:
  • data (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 (str) – The name of the rule groups namespace.

  • workspace (str) – An Amazon Managed Service for Prometheus workspace is a logical and isolated Prometheus server dedicated to ingesting, storing, and querying your Prometheus-compatible metrics.

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – 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

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 import aws_aps as aps

cfn_rule_groups_namespace_props = aps.CfnRuleGroupsNamespaceProps(
    data="data",
    name="name",
    workspace="workspace",

    # the properties below are optional
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

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

An Amazon Managed Service for Prometheus workspace is a logical and isolated Prometheus server dedicated to ingesting, storing, and querying your Prometheus-compatible metrics.

See:

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