Interface CfnPatchBaseline.IRuleGroupProperty
The RuleGroup
property type specifies a set of rules that define the approval rules for an AWS Systems Manager patch baseline.
Namespace: Amazon.CDK.AWS.SSM
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IRuleGroupProperty
Syntax (vb)
Public Interface IRuleGroupProperty
Remarks
RuleGroup
is the property type for the ApprovalRules
property of the AWS::SSM::PatchBaseline resource.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.SSM;
var ruleGroupProperty = new RuleGroupProperty {
PatchRules = new [] { new RuleProperty {
ApproveAfterDays = 123,
ApproveUntilDate = "approveUntilDate",
ComplianceLevel = "complianceLevel",
EnableNonSecurity = false,
PatchFilterGroup = new PatchFilterGroupProperty {
PatchFilters = new [] { new PatchFilterProperty {
Key = "key",
Values = new [] { "values" }
} }
}
} }
};
Synopsis
Properties
PatchRules | The rules that make up the rule group. |
Properties
PatchRules
The rules that make up the rule group.
virtual object PatchRules { get; }
Property Value
System.Object