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 ConfigRules,
object Description,
object RiskLevel,
object CompliancePackTemplateId = null,
object DefaultEnable = null,
object ExcludeResourceIdsScope = null,
object RegionIdsScope = null,
object ResourceGroupIdsScope = null,
object TagKeyScope = null,
object TagValueScope = null
};
Properties
Name | Type | Description |
---|---|---|
AggregatorId |
object |
Property aggregatorId: Aggregator id. |
CompliancePackName |
object |
Property compliancePackName: Compliance package name. |
ConfigRules |
object |
Property configRules: List of rules in the compliance package. |
Description |
object |
Property description: The description of compliance pack. |
RiskLevel |
object |
Property riskLevel: Compliance package risk level. |
CompliancePackTemplateId |
object |
Property compliancePackTemplateId: Compliance package template ID. |
DefaultEnable |
object |
Property defaultEnable: Whether the rule supports quick activation. |
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. |
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. |
AggregatorId
Required
public object AggregatorId { get; set; }
- Type: object
Property aggregatorId: Aggregator id.
CompliancePackName
Required
public object CompliancePackName { get; set; }
- Type: object
Property compliancePackName: Compliance package name.
ConfigRules
Required
public object ConfigRules { get; set; }
- Type: object
Property configRules: List of rules in the compliance package.
Description
Required
public object Description { get; set; }
- Type: object
Property description: The description of compliance pack.
RiskLevel
Required
public object RiskLevel { get; set; }
- Type: object
Property riskLevel: Compliance package risk level.
Value: 1: High risk. 2: Medium risk. 3: Low risk.
CompliancePackTemplateId
Optional
public object CompliancePackTemplateId { get; set; }
- Type: object
Property compliancePackTemplateId: Compliance package template ID.
DefaultEnable
Optional
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
ExcludeResourceIdsScope
Optional
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.
RegionIdsScope
Optional
public object RegionIdsScope { get; set; }
- Type: object
Property regionIdsScope: The compliance package only takes effect for resources in the specified region ID.
ResourceGroupIdsScope
Optional
public object ResourceGroupIdsScope { get; set; }
- Type: object
Property resourceGroupIdsScope: The compliance package only takes effect on resources in the specified resource group ID.
TagKeyScope
Optional
public object TagKeyScope { get; set; }
- Type: object
Property tagKeyScope: Compliance packages only take effect on resources bound to the specified tag key.
TagValueScope
Optional
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.