Skip to content

AggregateCompliancePackProps

Properties for defining a AggregateCompliancePack.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-config-aggregatecompliancepack

Initializer

import ros_cdk_config
ros_cdk_config.AggregateCompliancePackProps(
  aggregator_id: typing.Union[str, IResolvable],
  compliance_pack_name: typing.Union[str, IResolvable],
  config_rules: typing.Union[IResolvable, typing.List[typing.Union[IResolvable, ConfigRulesProperty]]],
  description: typing.Union[str, IResolvable],
  risk_level: typing.Union[typing.Union[int, float], IResolvable],
  compliance_pack_template_id: typing.Union[str, IResolvable] = None,
  default_enable: typing.Union[bool, IResolvable] = None,
  exclude_resource_ids_scope: typing.Union[IResolvable, typing.List[typing.Union[str, IResolvable]]] = None,
  region_ids_scope: typing.Union[IResolvable, typing.List[typing.Union[str, IResolvable]]] = None,
  resource_group_ids_scope: typing.Union[IResolvable, typing.List[typing.Union[str, IResolvable]]] = None,
  tag_key_scope: typing.Union[str, IResolvable] = None,
  tag_value_scope: typing.Union[str, IResolvable] = None
)

Properties

Name Type Description
aggregator_id typing.Union[str, ros_cdk_core.IResolvable] Property aggregatorId: Aggregator id.
compliance_pack_name typing.Union[str, ros_cdk_core.IResolvable] Property compliancePackName: Compliance package name.
config_rules typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, ConfigRulesProperty]]] Property configRules: List of rules in the compliance package.
description typing.Union[str, ros_cdk_core.IResolvable] Property description: The description of compliance pack.
risk_level typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] Property riskLevel: Compliance package risk level.
compliance_pack_template_id typing.Union[str, ros_cdk_core.IResolvable] Property compliancePackTemplateId: Compliance package template ID.
default_enable typing.Union[bool, ros_cdk_core.IResolvable] Property defaultEnable: Whether the rule supports quick activation.
exclude_resource_ids_scope typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[str, ros_cdk_core.IResolvable]]] Property excludeResourceIdsScope: The compliance package is invalid for the specified resource ID, that is, no evaluation is performed on the resource.
region_ids_scope typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[str, ros_cdk_core.IResolvable]]] Property regionIdsScope: The compliance package only takes effect for resources in the specified region ID.
resource_group_ids_scope typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[str, ros_cdk_core.IResolvable]]] Property resourceGroupIdsScope: The compliance package only takes effect on resources in the specified resource group ID.
tag_key_scope typing.Union[str, ros_cdk_core.IResolvable] Property tagKeyScope: Compliance packages only take effect on resources bound to the specified tag key.
tag_value_scope typing.Union[str, ros_cdk_core.IResolvable] Property tagValueScope: Compliance packages only take effect on resources bound to specified tag key-value pairs.TagValueScope needs to be used in conjunction with TagKeyScope.

aggregator_idRequired

aggregator_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property aggregatorId: Aggregator id.


compliance_pack_nameRequired

compliance_pack_name: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property compliancePackName: Compliance package name.


config_rulesRequired

config_rules: typing.Union[IResolvable, typing.List[typing.Union[IResolvable, ConfigRulesProperty]]]
  • Type: typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, ConfigRulesProperty]]]

Property configRules: List of rules in the compliance package.


descriptionRequired

description: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property description: The description of compliance pack.


risk_levelRequired

risk_level: typing.Union[typing.Union[int, float], IResolvable]
  • Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]

Property riskLevel: Compliance package risk level.

Value: 1: High risk. 2: Medium risk. 3: Low risk.


compliance_pack_template_idOptional

compliance_pack_template_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property compliancePackTemplateId: Compliance package template ID.


default_enableOptional

default_enable: typing.Union[bool, IResolvable]
  • Type: typing.Union[bool, ros_cdk_core.IResolvable]

Property defaultEnable: Whether the rule supports quick activation.

Value: true: This rule will be enabled when the compliance package is quickly enabled. false (default): disable


exclude_resource_ids_scopeOptional

exclude_resource_ids_scope: typing.Union[IResolvable, typing.List[typing.Union[str, IResolvable]]]
  • Type: typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[str, ros_cdk_core.IResolvable]]]

Property excludeResourceIdsScope: The compliance package is invalid for the specified resource ID, that is, no evaluation is performed on the resource.


region_ids_scopeOptional

region_ids_scope: typing.Union[IResolvable, typing.List[typing.Union[str, IResolvable]]]
  • Type: typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[str, ros_cdk_core.IResolvable]]]

Property regionIdsScope: The compliance package only takes effect for resources in the specified region ID.


resource_group_ids_scopeOptional

resource_group_ids_scope: typing.Union[IResolvable, typing.List[typing.Union[str, IResolvable]]]
  • Type: typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[str, ros_cdk_core.IResolvable]]]

Property resourceGroupIdsScope: The compliance package only takes effect on resources in the specified resource group ID.


tag_key_scopeOptional

tag_key_scope: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property tagKeyScope: Compliance packages only take effect on resources bound to the specified tag key.


tag_value_scopeOptional

tag_value_scope: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property tagValueScope: Compliance packages only take effect on resources bound to specified tag key-value pairs.TagValueScope needs to be used in conjunction with TagKeyScope.