Class: AWSCDK::SSM::CfnPatchBaseline::RuleGroupProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
ssm/cfn_patch_baseline.rb

Overview

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.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(patch_rules: nil) ⇒ RuleGroupProperty

Returns a new instance of RuleGroupProperty.

Parameters:



861
862
863
864
# File 'ssm/cfn_patch_baseline.rb', line 861

def initialize(patch_rules: nil)
  @patch_rules = patch_rules
  Jsii::Type.check_type(@patch_rules, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfc3NtLkNmblBhdGNoQmFzZWxpbmUuUnVsZVByb3BlcnR5In1dfX0sImtpbmQiOiJhcnJheSJ9fV19fQ==")), "patchRules") unless @patch_rules.nil?
end

Instance Attribute Details

#patch_rulesAWSCDK::IResolvable, ... (readonly)

The rules that make up the rule group.



870
871
872
# File 'ssm/cfn_patch_baseline.rb', line 870

def patch_rules
  @patch_rules
end

Class Method Details

.jsii_propertiesObject



872
873
874
875
876
# File 'ssm/cfn_patch_baseline.rb', line 872

def self.jsii_properties
  {
    :patch_rules => "patchRules",
  }
end

Instance Method Details

#to_jsiiObject



878
879
880
881
882
883
884
# File 'ssm/cfn_patch_baseline.rb', line 878

def to_jsii
  result = {}
  result.merge!({
    "patchRules" => @patch_rules,
  })
  result.compact
end