Class: AWSCDK::RTBFabric::CfnResponderGateway::AutoScalingGroupsConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::RTBFabric::CfnResponderGateway::AutoScalingGroupsConfigurationProperty
- Defined in:
- rtb_fabric/cfn_responder_gateway.rb
Overview
Describes the configuration of an auto scaling group.
Instance Attribute Summary collapse
-
#auto_scaling_group_name_list ⇒ Array<String>
readonly
The names of the auto scaling group.
- #health_check_config ⇒ AWSCDK::IResolvable, ... readonly
-
#role_arn ⇒ String
readonly
The role ARN of the auto scaling group.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(auto_scaling_group_name_list:, role_arn:, health_check_config: nil) ⇒ AutoScalingGroupsConfigurationProperty
constructor
A new instance of AutoScalingGroupsConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(auto_scaling_group_name_list:, role_arn:, health_check_config: nil) ⇒ AutoScalingGroupsConfigurationProperty
Returns a new instance of AutoScalingGroupsConfigurationProperty.
708 709 710 711 712 713 714 715 |
# File 'rtb_fabric/cfn_responder_gateway.rb', line 708 def initialize(auto_scaling_group_name_list:, role_arn:, health_check_config: nil) @auto_scaling_group_name_list = auto_scaling_group_name_list Jsii::Type.check_type(@auto_scaling_group_name_list, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "autoScalingGroupNameList") @role_arn = role_arn Jsii::Type.check_type(@role_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "roleArn") @health_check_config = health_check_config.is_a?(Hash) ? ::AWSCDK::RTBFabric::CfnResponderGateway::HealthCheckConfigProperty.new(**health_check_config.transform_keys(&:to_sym)) : health_check_config Jsii::Type.check_type(@health_check_config, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19ydGJmYWJyaWMuQ2ZuUmVzcG9uZGVyR2F0ZXdheS5IZWFsdGhDaGVja0NvbmZpZ1Byb3BlcnR5In1dfX0=")), "healthCheckConfig") unless @health_check_config.nil? end |
Instance Attribute Details
#auto_scaling_group_name_list ⇒ Array<String> (readonly)
The names of the auto scaling group.
721 722 723 |
# File 'rtb_fabric/cfn_responder_gateway.rb', line 721 def auto_scaling_group_name_list @auto_scaling_group_name_list end |
#health_check_config ⇒ AWSCDK::IResolvable, ... (readonly)
729 730 731 |
# File 'rtb_fabric/cfn_responder_gateway.rb', line 729 def health_check_config @health_check_config end |
#role_arn ⇒ String (readonly)
The role ARN of the auto scaling group.
726 727 728 |
# File 'rtb_fabric/cfn_responder_gateway.rb', line 726 def role_arn @role_arn end |
Class Method Details
.jsii_properties ⇒ Object
731 732 733 734 735 736 737 |
# File 'rtb_fabric/cfn_responder_gateway.rb', line 731 def self.jsii_properties { :auto_scaling_group_name_list => "autoScalingGroupNameList", :role_arn => "roleArn", :health_check_config => "healthCheckConfig", } end |
Instance Method Details
#to_jsii ⇒ Object
739 740 741 742 743 744 745 746 747 |
# File 'rtb_fabric/cfn_responder_gateway.rb', line 739 def to_jsii result = {} result.merge!({ "autoScalingGroupNameList" => @auto_scaling_group_name_list, "roleArn" => @role_arn, "healthCheckConfig" => @health_check_config, }) result.compact end |