Skip to content

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.

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.


ConfigRulesRequired

public object ConfigRules { get; set; }
  • Type: object

Property configRules: List of rules in the compliance package.


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: Compliance package risk level.

Value: 1: High risk. 2: Medium risk. 3: Low risk.


CompliancePackTemplateIdOptional

public object CompliancePackTemplateId { get; set; }
  • Type: object

Property compliancePackTemplateId: Compliance package template ID.


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


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.


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.