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: Compliance package risk level. |
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. |
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.
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.
ConfigRules
Optional
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.
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
ExcludeRegionIdsScope
Optional
public object ExcludeRegionIdsScope { get; set; }
- Type: object
Property excludeRegionIdsScope: The compliance package is invalid for the specified region ID.
ExcludeResourceGroupIdsScope
Optional
public object ExcludeResourceGroupIdsScope { get; set; }
- Type: object
Property excludeResourceGroupIdsScope: The compliance package is invalid for the specified resource group ID.
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.
ResourceIdsScope
Optional
public object ResourceIdsScope { get; set; }
- Type: object
Property resourceIdsScope: The compliance package only takes effect on the specified resource 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.
TemplateContent
Optional
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.