Class: AWSCDK::ResourceGroups::CfnGroup::ConfigurationItemProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
resource_groups/cfn_group.rb

Overview

One of the items in the service configuration assigned to a resource group.

A service configuration can consist of one or more items. For details service configurations and how to construct them, see Service configurations for resource groups in the Resource Groups User Guide .

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(parameters: nil, type: nil) ⇒ ConfigurationItemProperty

Returns a new instance of ConfigurationItemProperty.

Parameters:



620
621
622
623
624
625
# File 'resource_groups/cfn_group.rb', line 620

def initialize(parameters: nil, type: nil)
  @parameters = parameters
  Jsii::Type.check_type(@parameters, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfcmVzb3VyY2Vncm91cHMuQ2ZuR3JvdXAuQ29uZmlndXJhdGlvblBhcmFtZXRlclByb3BlcnR5In1dfX0sImtpbmQiOiJhcnJheSJ9fV19fQ==")), "parameters") unless @parameters.nil?
  @type = type
  Jsii::Type.check_type(@type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "type") unless @type.nil?
end

Instance Attribute Details

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

A collection of parameters for this configuration item.

For the list of parameters that you can use with each configuration item Type , see Supported resource types and parameters in the Resource Groups User Guide .



633
634
635
# File 'resource_groups/cfn_group.rb', line 633

def parameters
  @parameters
end

#typeString? (readonly)

Specifies the type of configuration item.

Each item must have a unique value for type. For the list of the types that you can specify for a configuration item, see Supported resource types and parameters in the Resource Groups User Guide .



640
641
642
# File 'resource_groups/cfn_group.rb', line 640

def type
  @type
end

Class Method Details

.jsii_propertiesObject



642
643
644
645
646
647
# File 'resource_groups/cfn_group.rb', line 642

def self.jsii_properties
  {
    :parameters => "parameters",
    :type => "type",
  }
end

Instance Method Details

#to_jsiiObject



649
650
651
652
653
654
655
656
# File 'resource_groups/cfn_group.rb', line 649

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