AggregateCompliancePackProps
Properties for defining a AggregateCompliancePack.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-config-aggregatecompliancepack
Initializer
import com.aliyun.ros.cdk.config.AggregateCompliancePackProps;
AggregateCompliancePackProps.builder()
.aggregatorId(java.lang.String)
.aggregatorId(IResolvable)
.compliancePackName(java.lang.String)
.compliancePackName(IResolvable)
.description(java.lang.String)
.description(IResolvable)
.riskLevel(java.lang.Number)
.riskLevel(IResolvable)
// .compliancePackTemplateId(java.lang.String)
// .compliancePackTemplateId(IResolvable)
// .configRules(IResolvable)
// .configRules(java.util.List<IResolvable)
// .configRules(ConfigRulesProperty>)
// .defaultEnable(java.lang.Boolean)
// .defaultEnable(IResolvable)
// .excludeRegionIdsScope(java.lang.String)
// .excludeRegionIdsScope(IResolvable)
// .excludeResourceGroupIdsScope(java.lang.String)
// .excludeResourceGroupIdsScope(IResolvable)
// .excludeResourceIdsScope(IResolvable)
// .excludeResourceIdsScope(java.util.List<java.lang.String)
// .excludeResourceIdsScope(IResolvable>)
// .regionIdsScope(IResolvable)
// .regionIdsScope(java.util.List<java.lang.String)
// .regionIdsScope(IResolvable>)
// .resourceGroupIdsScope(IResolvable)
// .resourceGroupIdsScope(java.util.List<java.lang.String)
// .resourceGroupIdsScope(IResolvable>)
// .resourceIdsScope(java.lang.String)
// .resourceIdsScope(IResolvable)
// .tagKeyScope(java.lang.String)
// .tagKeyScope(IResolvable)
// .tagValueScope(java.lang.String)
// .tagValueScope(IResolvable)
// .templateContent(java.lang.String)
// .templateContent(IResolvable)
.build();
Properties
| Name | Type | Description |
|---|---|---|
aggregatorId | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property aggregatorId: Aggregator id. |
compliancePackName | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property compliancePackName: Compliance package name. |
description | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property description: The description of compliance pack. |
riskLevel | java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable | Property riskLevel: The risk level of the compliance pack. |
compliancePackTemplateId | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property compliancePackTemplateId: Compliance package template ID. |
configRules | com.aliyun.ros.cdk.core.IResolvable OR java.util.List | Property configRules: List of rules in the compliance package. |
defaultEnable | java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable | Property defaultEnable: Whether the rule supports quick activation. |
excludeRegionIdsScope | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property excludeRegionIdsScope: The compliance package is invalid for the specified region ID. |
excludeResourceGroupIdsScope | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property excludeResourceGroupIdsScope: The compliance package is invalid for the specified resource group ID. |
excludeResourceIdsScope | com.aliyun.ros.cdk.core.IResolvable OR java.util.List | Property excludeResourceIdsScope: The compliance package is invalid for the specified resource ID, that is, no evaluation is performed on the resource. |
regionIdsScope | com.aliyun.ros.cdk.core.IResolvable OR java.util.List | Property regionIdsScope: The compliance package only takes effect for resources in the specified region ID. |
resourceGroupIdsScope | com.aliyun.ros.cdk.core.IResolvable OR java.util.List | Property resourceGroupIdsScope: The compliance package only takes effect on resources in the specified resource group ID. |
resourceIdsScope | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property resourceIdsScope: The compliance package only takes effect on the specified resource ID. |
tagKeyScope | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property tagKeyScope: Compliance packages only take effect on resources bound to the specified tag key. |
tagValueScope | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | 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 | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property templateContent: Template information used to generate compliance packages. |
aggregatorIdRequired
public java.lang.Object getAggregatorId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property aggregatorId: Aggregator id.
compliancePackNameRequired
public java.lang.Object getCompliancePackName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property compliancePackName: Compliance package name.
descriptionRequired
public java.lang.Object getDescription();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property description: The description of compliance pack.
riskLevelRequired
public java.lang.Object getRiskLevel();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property riskLevel: The risk level of the compliance pack.
Valid values:
- 1: High
- 2 (default): Medium
- 3: Low
compliancePackTemplateIdOptional
public java.lang.Object getCompliancePackTemplateId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property compliancePackTemplateId: Compliance package template ID.
configRulesOptional
public java.lang.Object getConfigRules();
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List
ConfigRulesProperty>
Property configRules: List of rules in the compliance package.
Note: Either this parameter or TemplateContent must be set.
defaultEnableOptional
public java.lang.Object getDefaultEnable();
- Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable
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
public java.lang.Object getExcludeRegionIdsScope();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property excludeRegionIdsScope: The compliance package is invalid for the specified region ID.
excludeResourceGroupIdsScopeOptional
public java.lang.Object getExcludeResourceGroupIdsScope();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property excludeResourceGroupIdsScope: The compliance package is invalid for the specified resource group ID.
excludeResourceIdsScopeOptional
public java.lang.Object getExcludeResourceIdsScope();
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List
Property excludeResourceIdsScope: The compliance package is invalid for the specified resource ID, that is, no evaluation is performed on the resource.
regionIdsScopeOptional
public java.lang.Object getRegionIdsScope();
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List
Property regionIdsScope: The compliance package only takes effect for resources in the specified region ID.
resourceGroupIdsScopeOptional
public java.lang.Object getResourceGroupIdsScope();
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List
Property resourceGroupIdsScope: The compliance package only takes effect on resources in the specified resource group ID.
resourceIdsScopeOptional
public java.lang.Object getResourceIdsScope();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property resourceIdsScope: The compliance package only takes effect on the specified resource ID.
tagKeyScopeOptional
public java.lang.Object getTagKeyScope();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property tagKeyScope: Compliance packages only take effect on resources bound to the specified tag key.
tagValueScopeOptional
public java.lang.Object getTagValueScope();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
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
public java.lang.Object getTemplateContent();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property templateContent: Template information used to generate compliance packages.
Note: Either this parameter or ConfigRules must be set.