Show / Hide Table of Contents

Class CfnPatchBaseline.RuleGroupProperty

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

Inheritance
object
CfnPatchBaseline.RuleGroupProperty
Implements
CfnPatchBaseline.IRuleGroupProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.SSM
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnPatchBaseline.RuleGroupProperty : CfnPatchBaseline.IRuleGroupProperty
Syntax (vb)
Public Class CfnPatchBaseline.RuleGroupProperty Implements CfnPatchBaseline.IRuleGroupProperty
Remarks

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

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

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

Constructors

RuleGroupProperty()

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

Properties

PatchRules

The rules that make up the rule group.

Constructors

RuleGroupProperty()

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

public RuleGroupProperty()
Remarks

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

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

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

Properties

PatchRules

The rules that make up the rule group.

public object? PatchRules { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-patchbaseline-rulegroup.html#cfn-ssm-patchbaseline-rulegroup-patchrules

Type union: either IResolvable or (either IResolvable or CfnPatchBaseline.IRuleProperty)[]

Implements

CfnPatchBaseline.IRuleGroupProperty
Back to top Generated by DocFX