CfnRuleGroupsNamespaceProps
- class aws_cdk.aws_aps.CfnRuleGroupsNamespaceProps(*, data, name, workspace, tags=None)
Bases:
objectProperties 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:
- 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.
- name
The name of the rule groups namespace.
This property is required.
- tags
A list of key and value pairs for the workspace resources.
- workspace
The ARN of the workspace that contains this rule groups namespace.