interface RuleGroupProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.SSM.Mixins.CfnPatchBaselinePropsMixin.RuleGroupProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsssm/mixins#CfnPatchBaselinePropsMixin_RuleGroupProperty |
Java | software.amazon.awscdk.mixins.preview.services.ssm.mixins.CfnPatchBaselinePropsMixin.RuleGroupProperty |
Python | aws_cdk.mixins_preview.aws_ssm.mixins.CfnPatchBaselinePropsMixin.RuleGroupProperty |
TypeScript | @aws-cdk/mixins-preview » aws_ssm » mixins » CfnPatchBaselinePropsMixin » 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 { mixins as ssm_mixins } from '@aws-cdk/mixins-preview/aws-ssm';
const ruleGroupProperty: ssm_mixins.CfnPatchBaselinePropsMixin.RuleGroupProperty = {
patchRules: [{
approveAfterDays: 123,
approveUntilDate: 'approveUntilDate',
complianceLevel: 'complianceLevel',
enableNonSecurity: false,
patchFilterGroup: {
patchFilters: [{
key: 'key',
values: ['values'],
}],
},
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| patch | IResolvable | (IResolvable | Rule)[] | The rules that make up the rule group. |
patchRules?
Type:
IResolvable | (IResolvable | Rule)[]
(optional)
The rules that make up the rule group.

.NET
Go
Java
Python
TypeScript