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_id
Required
aggregator_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property aggregatorId: Aggregator id.
compliance_pack_name
Required
compliance_pack_name: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property compliancePackName: Compliance package name.
config_rules
Required
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.
description
Required
description: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property description: The description of compliance pack.
risk_level
Required
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_id
Optional
compliance_pack_template_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property compliancePackTemplateId: Compliance package template ID.
default_enable
Optional
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_scope
Optional
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_scope
Optional
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_scope
Optional
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_scope
Optional
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_scope
Optional
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.