interface RuleGroupProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.SSM.CfnPatchBaseline.RuleGroupProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsssm#CfnPatchBaseline_RuleGroupProperty |
Java | software.amazon.awscdk.services.ssm.CfnPatchBaseline.RuleGroupProperty |
Python | aws_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
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.