CfnRuleGroupsNamespaceProps

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

Bases: object

Properties for defining a CfnRuleGroupsNamespace.

Parameters:
  • data (str) – The rules definition file for this namespace.

  • name (str) – The name of the rule groups namespace. This property is required.

  • workspace (str) – The ARN of the workspace that contains this rule groups namespace.

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – A list of key and value pairs for the workspace resources.

Link:

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.
import aws_cdk.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 definition file for this namespace.

Link:

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.

This property is required.

Link:

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

tags

A list of key and value pairs for the workspace resources.

Link:

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

workspace

The ARN of the workspace that contains this rule groups namespace.

Link:

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