Class: AWSCDK::ApplicationInsights::CfnApplication::SubComponentTypeConfigurationProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
application_insights/cfn_application.rb

Overview

The AWS::ApplicationInsights::Application SubComponentTypeConfiguration property type specifies the sub-component configurations for a component.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(sub_component_configuration_details:, sub_component_type:) ⇒ SubComponentTypeConfigurationProperty

Returns a new instance of SubComponentTypeConfigurationProperty.

Parameters:



1627
1628
1629
1630
1631
1632
# File 'application_insights/cfn_application.rb', line 1627

def initialize(sub_component_configuration_details:, sub_component_type:)
  @sub_component_configuration_details = sub_component_configuration_details.is_a?(Hash) ? ::AWSCDK::ApplicationInsights::CfnApplication::SubComponentConfigurationDetailsProperty.new(**sub_component_configuration_details.transform_keys(&:to_sym)) : sub_component_configuration_details
  Jsii::Type.check_type(@sub_component_configuration_details, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19hcHBsaWNhdGlvbmluc2lnaHRzLkNmbkFwcGxpY2F0aW9uLlN1YkNvbXBvbmVudENvbmZpZ3VyYXRpb25EZXRhaWxzUHJvcGVydHkifV19fQ==")), "subComponentConfigurationDetails")
  @sub_component_type = sub_component_type
  Jsii::Type.check_type(@sub_component_type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "subComponentType")
end

Instance Attribute Details

#sub_component_typeString (readonly)

The sub-component type.



1643
1644
1645
# File 'application_insights/cfn_application.rb', line 1643

def sub_component_type
  @sub_component_type
end

Class Method Details

.jsii_propertiesObject



1645
1646
1647
1648
1649
1650
# File 'application_insights/cfn_application.rb', line 1645

def self.jsii_properties
  {
    :sub_component_configuration_details => "subComponentConfigurationDetails",
    :sub_component_type => "subComponentType",
  }
end

Instance Method Details

#to_jsiiObject



1652
1653
1654
1655
1656
1657
1658
1659
# File 'application_insights/cfn_application.rb', line 1652

def to_jsii
  result = {}
  result.merge!({
    "subComponentConfigurationDetails" => @sub_component_configuration_details,
    "subComponentType" => @sub_component_type,
  })
  result.compact
end