Skip to content

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)
    .configRules(IResolvable)
    .configRules(java.util.List<IResolvable)
    .configRules(ConfigRulesProperty>)
    .description(java.lang.String)
    .description(IResolvable)
    .riskLevel(java.lang.Number)
    .riskLevel(IResolvable)
//  .compliancePackTemplateId(java.lang.String)
//  .compliancePackTemplateId(IResolvable)
//  .defaultEnable(java.lang.Boolean)
//  .defaultEnable(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>)
//  .tagKeyScope(java.lang.String)
//  .tagKeyScope(IResolvable)
//  .tagValueScope(java.lang.String)
//  .tagValueScope(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.
configRules com.aliyun.ros.cdk.core.IResolvable OR java.util.ListConfigRulesProperty> Property configRules: List of rules in the compliance package.
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: Compliance package risk level.
compliancePackTemplateId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property compliancePackTemplateId: Compliance package template ID.
defaultEnable java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable Property defaultEnable: Whether the rule supports quick activation.
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.
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.

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.


configRulesRequired

public java.lang.Object getConfigRules();
  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.ListConfigRulesProperty>

Property configRules: List of rules in the compliance package.


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

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


compliancePackTemplateIdOptional

public java.lang.Object getCompliancePackTemplateId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property compliancePackTemplateId: Compliance package template ID.


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


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.


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.