Skip to content

AggregateCompliancePackProps

Properties for defining a AggregateCompliancePack.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-config-aggregatecompliancepack

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkconfig"
&alicloudroscdkconfig.AggregateCompliancePackProps {
    AggregatorId: interface{},
    CompliancePackName: interface{},
    Description: interface{},
    RiskLevel: interface{},
    CompliancePackTemplateId: interface{},
    ConfigRules: interface{},
    DefaultEnable: interface{},
    ExcludeRegionIdsScope: interface{},
    ExcludeResourceGroupIdsScope: interface{},
    ExcludeResourceIdsScope: interface{},
    RegionIdsScope: interface{},
    ResourceGroupIdsScope: interface{},
    ResourceIdsScope: interface{},
    TagKeyScope: interface{},
    TagValueScope: interface{},
    TemplateContent: interface{},
}

Properties

Name Type Description
AggregatorId interface{} Property aggregatorId: Aggregator id.
CompliancePackName interface{} Property compliancePackName: Compliance package name.
Description interface{} Property description: The description of compliance pack.
RiskLevel interface{} Property riskLevel: Compliance package risk level.
CompliancePackTemplateId interface{} Property compliancePackTemplateId: Compliance package template ID.
ConfigRules interface{} Property configRules: List of rules in the compliance package.
DefaultEnable interface{} Property defaultEnable: Whether the rule supports quick activation.
ExcludeRegionIdsScope interface{} Property excludeRegionIdsScope: The compliance package is invalid for the specified region ID.
ExcludeResourceGroupIdsScope interface{} Property excludeResourceGroupIdsScope: The compliance package is invalid for the specified resource group ID.
ExcludeResourceIdsScope interface{} Property excludeResourceIdsScope: The compliance package is invalid for the specified resource ID, that is, no evaluation is performed on the resource.
RegionIdsScope interface{} Property regionIdsScope: The compliance package only takes effect for resources in the specified region ID.
ResourceGroupIdsScope interface{} Property resourceGroupIdsScope: The compliance package only takes effect on resources in the specified resource group ID.
ResourceIdsScope interface{} Property resourceIdsScope: The compliance package only takes effect on the specified resource ID.
TagKeyScope interface{} Property tagKeyScope: Compliance packages only take effect on resources bound to the specified tag key.
TagValueScope interface{} 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 interface{} Property templateContent: Template information used to generate compliance packages.

AggregatorIdRequired

AggregatorId interface{}
  • Type: interface{}

Property aggregatorId: Aggregator id.


CompliancePackNameRequired

CompliancePackName interface{}
  • Type: interface{}

Property compliancePackName: Compliance package name.


DescriptionRequired

Description interface{}
  • Type: interface{}

Property description: The description of compliance pack.


RiskLevelRequired

RiskLevel interface{}
  • Type: interface{}

Property riskLevel: Compliance package risk level.

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


CompliancePackTemplateIdOptional

CompliancePackTemplateId interface{}
  • Type: interface{}

Property compliancePackTemplateId: Compliance package template ID.


ConfigRulesOptional

ConfigRules interface{}
  • Type: interface{}

Property configRules: List of rules in the compliance package.

Note: Either this parameter or TemplateContent must be set.


DefaultEnableOptional

DefaultEnable interface{}
  • Type: interface{}

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

ExcludeRegionIdsScope interface{}
  • Type: interface{}

Property excludeRegionIdsScope: The compliance package is invalid for the specified region ID.


ExcludeResourceGroupIdsScopeOptional

ExcludeResourceGroupIdsScope interface{}
  • Type: interface{}

Property excludeResourceGroupIdsScope: The compliance package is invalid for the specified resource group ID.


ExcludeResourceIdsScopeOptional

ExcludeResourceIdsScope interface{}
  • Type: interface{}

Property excludeResourceIdsScope: The compliance package is invalid for the specified resource ID, that is, no evaluation is performed on the resource.


RegionIdsScopeOptional

RegionIdsScope interface{}
  • Type: interface{}

Property regionIdsScope: The compliance package only takes effect for resources in the specified region ID.


ResourceGroupIdsScopeOptional

ResourceGroupIdsScope interface{}
  • Type: interface{}

Property resourceGroupIdsScope: The compliance package only takes effect on resources in the specified resource group ID.


ResourceIdsScopeOptional

ResourceIdsScope interface{}
  • Type: interface{}

Property resourceIdsScope: The compliance package only takes effect on the specified resource ID.


TagKeyScopeOptional

TagKeyScope interface{}
  • Type: interface{}

Property tagKeyScope: Compliance packages only take effect on resources bound to the specified tag key.


TagValueScopeOptional

TagValueScope interface{}
  • Type: interface{}

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

TemplateContent interface{}
  • Type: interface{}

Property templateContent: Template information used to generate compliance packages.

Note: Either this parameter or ConfigRules must be set.