Table of Contents

Interface CfnPatchBaseline.IRuleGroupProperty

Namespace
Amazon.CDK.AWS.SSM
Assembly
Amazon.CDK.AWS.SSM.dll

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

public interface CfnPatchBaseline.IRuleGroupProperty

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" }
                         } }
                     }
                 } }
             };

Remarks

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

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-patchbaseline-rulegroup.html

ExampleMetadata: fixture=_generated

Properties

PatchRules

The rules that make up the rule group.

object? PatchRules { get; }

Property Value

object

Remarks