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. |
AggregatorId
Required
AggregatorId interface{}
- Type: interface{}
Property aggregatorId: Aggregator id.
CompliancePackName
Required
CompliancePackName interface{}
- Type: interface{}
Property compliancePackName: Compliance package name.
Description
Required
Description interface{}
- Type: interface{}
Property description: The description of compliance pack.
RiskLevel
Required
RiskLevel interface{}
- Type: interface{}
Property riskLevel: Compliance package risk level.
Value: 1: High risk. 2: Medium risk. 3: Low risk.
CompliancePackTemplateId
Optional
CompliancePackTemplateId interface{}
- Type: interface{}
Property compliancePackTemplateId: Compliance package template ID.
ConfigRules
Optional
ConfigRules interface{}
- Type: interface{}
Property configRules: List of rules in the compliance package.
Note: Either this parameter or TemplateContent must be set.
DefaultEnable
Optional
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
ExcludeRegionIdsScope
Optional
ExcludeRegionIdsScope interface{}
- Type: interface{}
Property excludeRegionIdsScope: The compliance package is invalid for the specified region ID.
ExcludeResourceGroupIdsScope
Optional
ExcludeResourceGroupIdsScope interface{}
- Type: interface{}
Property excludeResourceGroupIdsScope: The compliance package is invalid for the specified resource group ID.
ExcludeResourceIdsScope
Optional
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.
RegionIdsScope
Optional
RegionIdsScope interface{}
- Type: interface{}
Property regionIdsScope: The compliance package only takes effect for resources in the specified region ID.
ResourceGroupIdsScope
Optional
ResourceGroupIdsScope interface{}
- Type: interface{}
Property resourceGroupIdsScope: The compliance package only takes effect on resources in the specified resource group ID.
ResourceIdsScope
Optional
ResourceIdsScope interface{}
- Type: interface{}
Property resourceIdsScope: The compliance package only takes effect on the specified resource ID.
TagKeyScope
Optional
TagKeyScope interface{}
- Type: interface{}
Property tagKeyScope: Compliance packages only take effect on resources bound to the specified tag key.
TagValueScope
Optional
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.
TemplateContent
Optional
TemplateContent interface{}
- Type: interface{}
Property templateContent: Template information used to generate compliance packages.
Note: Either this parameter or ConfigRules must be set.