AggregateCompliancePackProps
Properties for defining a AggregateCompliancePack.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-config-aggregatecompliancepack
Initializer
using AlibabaCloud.SDK.ROS.CDK.Config;
new AggregateCompliancePackProps {
object AggregatorId,
object CompliancePackName,
object Description,
object RiskLevel,
object CompliancePackTemplateId = null,
object ConfigRules = null,
object DefaultEnable = null,
object ExcludeRegionIdsScope = null,
object ExcludeResourceGroupIdsScope = null,
object ExcludeResourceIdsScope = null,
object RegionIdsScope = null,
object ResourceGroupIdsScope = null,
object ResourceIdsScope = null,
object TagKeyScope = null,
object TagValueScope = null,
object TemplateContent = null
};
Properties
| Name | Type | Description |
|---|---|---|
AggregatorId | object | Property aggregatorId: Aggregator id. |
CompliancePackName | object | Property compliancePackName: Compliance package name. |
Description | object | Property description: The description of compliance pack. |
RiskLevel | object | Property riskLevel: The risk level of the compliance pack. |
CompliancePackTemplateId | object | Property compliancePackTemplateId: Compliance package template ID. |
ConfigRules | object | Property configRules: List of rules in the compliance package. |
DefaultEnable | object | Property defaultEnable: Whether the rule supports quick activation. |
ExcludeRegionIdsScope | object | Property excludeRegionIdsScope: The compliance package is invalid for the specified region ID. |
ExcludeResourceGroupIdsScope | object | Property excludeResourceGroupIdsScope: The compliance package is invalid for the specified resource group ID. |
ExcludeResourceIdsScope | object | Property excludeResourceIdsScope: The compliance package is invalid for the specified resource ID, that is, no evaluation is performed on the resource. |
RegionIdsScope | object | Property regionIdsScope: The compliance package only takes effect for resources in the specified region ID. |
ResourceGroupIdsScope | object | Property resourceGroupIdsScope: The compliance package only takes effect on resources in the specified resource group ID. |
ResourceIdsScope | object | Property resourceIdsScope: The compliance package only takes effect on the specified resource ID. |
TagKeyScope | object | Property tagKeyScope: Compliance packages only take effect on resources bound to the specified tag key. |
TagValueScope | object | 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 | object | Property templateContent: Template information used to generate compliance packages. |
AggregatorIdRequired
public object AggregatorId { get; set; }
- Type: object
Property aggregatorId: Aggregator id.
CompliancePackNameRequired
public object CompliancePackName { get; set; }
- Type: object
Property compliancePackName: Compliance package name.
DescriptionRequired
public object Description { get; set; }
- Type: object
Property description: The description of compliance pack.
RiskLevelRequired
public object RiskLevel { get; set; }
- Type: object
Property riskLevel: The risk level of the compliance pack.
Valid values:
- 1: High
- 2 (default): Medium
- 3: Low
CompliancePackTemplateIdOptional
public object CompliancePackTemplateId { get; set; }
- Type: object
Property compliancePackTemplateId: Compliance package template ID.
ConfigRulesOptional
public object ConfigRules { get; set; }
- Type: object
Property configRules: List of rules in the compliance package.
Note: Either this parameter or TemplateContent must be set.
DefaultEnableOptional
public object DefaultEnable { get; set; }
- Type: object
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 object ExcludeRegionIdsScope { get; set; }
- Type: object
Property excludeRegionIdsScope: The compliance package is invalid for the specified region ID.
ExcludeResourceGroupIdsScopeOptional
public object ExcludeResourceGroupIdsScope { get; set; }
- Type: object
Property excludeResourceGroupIdsScope: The compliance package is invalid for the specified resource group ID.
ExcludeResourceIdsScopeOptional
public object ExcludeResourceIdsScope { get; set; }
- Type: object
Property excludeResourceIdsScope: The compliance package is invalid for the specified resource ID, that is, no evaluation is performed on the resource.
RegionIdsScopeOptional
public object RegionIdsScope { get; set; }
- Type: object
Property regionIdsScope: The compliance package only takes effect for resources in the specified region ID.
ResourceGroupIdsScopeOptional
public object ResourceGroupIdsScope { get; set; }
- Type: object
Property resourceGroupIdsScope: The compliance package only takes effect on resources in the specified resource group ID.
ResourceIdsScopeOptional
public object ResourceIdsScope { get; set; }
- Type: object
Property resourceIdsScope: The compliance package only takes effect on the specified resource ID.
TagKeyScopeOptional
public object TagKeyScope { get; set; }
- Type: object
Property tagKeyScope: Compliance packages only take effect on resources bound to the specified tag key.
TagValueScopeOptional
public object TagValueScope { get; set; }
- Type: object
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 object TemplateContent { get; set; }
- Type: object
Property templateContent: Template information used to generate compliance packages.
Note: Either this parameter or ConfigRules must be set.