Class: AWSCDK::SSMQuickSetup::CfnConfigurationManagerProps

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
ssm_quick_setup/cfn_configuration_manager_props.rb

Overview

Properties for defining a CfnConfigurationManager.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(configuration_definitions:, description: nil, name: nil, tags: nil) ⇒ CfnConfigurationManagerProps

Returns a new instance of CfnConfigurationManagerProps.

Parameters:



13
14
15
16
17
18
19
20
21
22
# File 'ssm_quick_setup/cfn_configuration_manager_props.rb', line 13

def initialize(configuration_definitions:, description: nil, name: nil, tags: nil)
  @configuration_definitions = configuration_definitions
  Jsii::Type.check_type(@configuration_definitions, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfc3NtcXVpY2tzZXR1cC5DZm5Db25maWd1cmF0aW9uTWFuYWdlci5Db25maWd1cmF0aW9uRGVmaW5pdGlvblByb3BlcnR5In1dfX0sImtpbmQiOiJhcnJheSJ9fV19fQ==")), "configurationDefinitions")
  @description = description
  Jsii::Type.check_type(@description, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "description") unless @description.nil?
  @name = name
  Jsii::Type.check_type(@name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name") unless @name.nil?
  @tags = tags
  Jsii::Type.check_type(@tags, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoibWFwIn19")), "tags") unless @tags.nil?
end

Instance Attribute Details

#configuration_definitionsAWSCDK::IResolvable, Array<AWSCDK::IResolvable, AWSCDK::SSMQuickSetup::CfnConfigurationManager::ConfigurationDefinitionProperty> (readonly)

The definition of the Quick Setup configuration that the configuration manager deploys.



28
29
30
# File 'ssm_quick_setup/cfn_configuration_manager_props.rb', line 28

def configuration_definitions
  @configuration_definitions
end

#descriptionString? (readonly)

The description of the configuration.



33
34
35
# File 'ssm_quick_setup/cfn_configuration_manager_props.rb', line 33

def description
  @description
end

#nameString? (readonly)

The name of the configuration.



38
39
40
# File 'ssm_quick_setup/cfn_configuration_manager_props.rb', line 38

def name
  @name
end

#tagsHash{String => String}? (readonly)

Key-value pairs of metadata to assign to the configuration manager.



43
44
45
# File 'ssm_quick_setup/cfn_configuration_manager_props.rb', line 43

def tags
  @tags
end

Class Method Details

.jsii_propertiesObject



45
46
47
48
49
50
51
52
# File 'ssm_quick_setup/cfn_configuration_manager_props.rb', line 45

def self.jsii_properties
  {
    :configuration_definitions => "configurationDefinitions",
    :description => "description",
    :name => "name",
    :tags => "tags",
  }
end

Instance Method Details

#to_jsiiObject



54
55
56
57
58
59
60
61
62
63
# File 'ssm_quick_setup/cfn_configuration_manager_props.rb', line 54

def to_jsii
  result = {}
  result.merge!({
    "configurationDefinitions" => @configuration_definitions,
    "description" => @description,
    "name" => @name,
    "tags" => @tags,
  })
  result.compact
end