AggregateCompliancePackProps
Properties for defining a AggregateCompliancePack.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-config-aggregatecompliancepack
Initializer
import { AggregateCompliancePackProps } from '@alicloud/ros-cdk-config'
const aggregateCompliancePackProps: AggregateCompliancePackProps = { ... }
Properties
| Name | Type | Description |
|---|---|---|
aggregatorId | string | @alicloud/ros-cdk-core.IResolvable | Property aggregatorId: Aggregator id. |
compliancePackName | string | @alicloud/ros-cdk-core.IResolvable | Property compliancePackName: Compliance package name. |
description | string | @alicloud/ros-cdk-core.IResolvable | Property description: The description of compliance pack. |
riskLevel | number | @alicloud/ros-cdk-core.IResolvable | Property riskLevel: The risk level of the compliance pack. |
compliancePackTemplateId | string | @alicloud/ros-cdk-core.IResolvable | Property compliancePackTemplateId: Compliance package template ID. |
configRules | @alicloud/ros-cdk-core.IResolvable | @alicloud/ros-cdk-core.IResolvable | ConfigRulesProperty[] | Property configRules: List of rules in the compliance package. |
defaultEnable | boolean | @alicloud/ros-cdk-core.IResolvable | Property defaultEnable: Whether the rule supports quick activation. |
excludeRegionIdsScope | string | @alicloud/ros-cdk-core.IResolvable | Property excludeRegionIdsScope: The compliance package is invalid for the specified region ID. |
excludeResourceGroupIdsScope | string | @alicloud/ros-cdk-core.IResolvable | Property excludeResourceGroupIdsScope: The compliance package is invalid for the specified resource group ID. |
excludeResourceIdsScope | @alicloud/ros-cdk-core.IResolvable | string | @alicloud/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. |
regionIdsScope | @alicloud/ros-cdk-core.IResolvable | string | @alicloud/ros-cdk-core.IResolvable[] | Property regionIdsScope: The compliance package only takes effect for resources in the specified region ID. |
resourceGroupIdsScope | @alicloud/ros-cdk-core.IResolvable | string | @alicloud/ros-cdk-core.IResolvable[] | Property resourceGroupIdsScope: The compliance package only takes effect on resources in the specified resource group ID. |
resourceIdsScope | string | @alicloud/ros-cdk-core.IResolvable | Property resourceIdsScope: The compliance package only takes effect on the specified resource ID. |
tagKeyScope | string | @alicloud/ros-cdk-core.IResolvable | Property tagKeyScope: Compliance packages only take effect on resources bound to the specified tag key. |
tagValueScope | string | @alicloud/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. |
templateContent | string | @alicloud/ros-cdk-core.IResolvable | Property templateContent: Template information used to generate compliance packages. |
aggregatorIdRequired
public readonly aggregatorId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property aggregatorId: Aggregator id.
compliancePackNameRequired
public readonly compliancePackName: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property compliancePackName: Compliance package name.
descriptionRequired
public readonly description: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property description: The description of compliance pack.
riskLevelRequired
public readonly riskLevel: number | IResolvable;
- Type: number | @alicloud/ros-cdk-core.IResolvable
Property riskLevel: The risk level of the compliance pack.
Valid values: - 1: High - 2 (default): Medium - 3: Low
compliancePackTemplateIdOptional
public readonly compliancePackTemplateId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property compliancePackTemplateId: Compliance package template ID.
configRulesOptional
public readonly configRules: IResolvable | IResolvable | ConfigRulesProperty[];
- Type: @alicloud/ros-cdk-core.IResolvable | @alicloud/ros-cdk-core.IResolvable | ConfigRulesProperty[]
Property configRules: List of rules in the compliance package.
Note: Either this parameter or TemplateContent must be set.
defaultEnableOptional
public readonly defaultEnable: boolean | IResolvable;
- Type: boolean | @alicloud/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
excludeRegionIdsScopeOptional
public readonly excludeRegionIdsScope: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property excludeRegionIdsScope: The compliance package is invalid for the specified region ID.
excludeResourceGroupIdsScopeOptional
public readonly excludeResourceGroupIdsScope: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property excludeResourceGroupIdsScope: The compliance package is invalid for the specified resource group ID.
excludeResourceIdsScopeOptional
public readonly excludeResourceIdsScope: IResolvable | string | IResolvable[];
- Type: @alicloud/ros-cdk-core.IResolvable | string | @alicloud/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.
regionIdsScopeOptional
public readonly regionIdsScope: IResolvable | string | IResolvable[];
- Type: @alicloud/ros-cdk-core.IResolvable | string | @alicloud/ros-cdk-core.IResolvable[]
Property regionIdsScope: The compliance package only takes effect for resources in the specified region ID.
resourceGroupIdsScopeOptional
public readonly resourceGroupIdsScope: IResolvable | string | IResolvable[];
- Type: @alicloud/ros-cdk-core.IResolvable | string | @alicloud/ros-cdk-core.IResolvable[]
Property resourceGroupIdsScope: The compliance package only takes effect on resources in the specified resource group ID.
resourceIdsScopeOptional
public readonly resourceIdsScope: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property resourceIdsScope: The compliance package only takes effect on the specified resource ID.
tagKeyScopeOptional
public readonly tagKeyScope: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property tagKeyScope: Compliance packages only take effect on resources bound to the specified tag key.
tagValueScopeOptional
public readonly tagValueScope: string | IResolvable;
- Type: string | @alicloud/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.
templateContentOptional
public readonly templateContent: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property templateContent: Template information used to generate compliance packages.
Note: Either this parameter or ConfigRules must be set.