aws-cdk-lib.aws_ssm.CfnPatchBaseline.RuleGroupProperty

interface RuleGroupProperty

LanguageType name
.NETAmazon.CDK.AWS.SSM.CfnPatchBaseline.RuleGroupProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsssm#CfnPatchBaseline_RuleGroupProperty
Javasoftware.amazon.awscdk.services.ssm.CfnPatchBaseline.RuleGroupProperty
Pythonaws_cdk.aws_ssm.CfnPatchBaseline.RuleGroupProperty
TypeScript aws-cdk-lib » aws_ssm » CfnPatchBaseline » RuleGroupProperty

The RuleGroup property type specifies a set of rules that define the approval rules for an AWS Systems Manager patch baseline.

RuleGroup is the property type for the ApprovalRules property of the AWS::SSM::PatchBaseline resource.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ssm as ssm } from 'aws-cdk-lib';
const ruleGroupProperty: ssm.CfnPatchBaseline.RuleGroupProperty = {
  patchRules: [{
    approveAfterDays: 123,
    approveUntilDate: 'approveUntilDate',
    complianceLevel: 'complianceLevel',
    enableNonSecurity: false,
    patchFilterGroup: {
      patchFilters: [{
        key: 'key',
        values: ['values'],
      }],
    },
  }],
};

Properties

NameTypeDescription
patchRules?IResolvable | IResolvable | RuleProperty[]The rules that make up the rule group.

patchRules?

Type: IResolvable | IResolvable | RuleProperty[] (optional)

The rules that make up the rule group.