Class: AWSCDK::SSM::CfnPatchBaseline::PatchFilterGroupProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::SSM::CfnPatchBaseline::PatchFilterGroupProperty
- Defined in:
- ssm/cfn_patch_baseline.rb
Overview
The PatchFilterGroup property type specifies a set of patch filters for an AWS Systems Manager patch baseline, typically used for approval rules for a Systems Manager patch baseline.
PatchFilterGroup is the property type for the GlobalFilters property of the AWS::SSM::PatchBaseline resource and the PatchFilterGroup property of the Rule property type.
Instance Attribute Summary collapse
-
#patch_filters ⇒ AWSCDK::IResolvable, ...
readonly
The set of patch filters that make up the group.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(patch_filters: nil) ⇒ PatchFilterGroupProperty
constructor
A new instance of PatchFilterGroupProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(patch_filters: nil) ⇒ PatchFilterGroupProperty
Returns a new instance of PatchFilterGroupProperty.
700 701 702 703 |
# File 'ssm/cfn_patch_baseline.rb', line 700 def initialize(patch_filters: nil) @patch_filters = patch_filters Jsii::Type.check_type(@patch_filters, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfc3NtLkNmblBhdGNoQmFzZWxpbmUuUGF0Y2hGaWx0ZXJQcm9wZXJ0eSJ9XX19LCJraW5kIjoiYXJyYXkifX1dfX0=")), "patchFilters") unless @patch_filters.nil? end |
Instance Attribute Details
#patch_filters ⇒ AWSCDK::IResolvable, ... (readonly)
The set of patch filters that make up the group.
709 710 711 |
# File 'ssm/cfn_patch_baseline.rb', line 709 def patch_filters @patch_filters end |
Class Method Details
.jsii_properties ⇒ Object
711 712 713 714 715 |
# File 'ssm/cfn_patch_baseline.rb', line 711 def self.jsii_properties { :patch_filters => "patchFilters", } end |
Instance Method Details
#to_jsii ⇒ Object
717 718 719 720 721 722 723 |
# File 'ssm/cfn_patch_baseline.rb', line 717 def to_jsii result = {} result.merge!({ "patchFilters" => @patch_filters, }) result.compact end |