Class: AWSCDK::RTBFabric::CfnResponderGateway::ManagedEndpointConfigurationProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
rtb_fabric/cfn_responder_gateway.rb

Overview

Describes the configuration of a managed endpoint.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(auto_scaling_groups_configuration: nil, eks_endpoints_configuration: nil) ⇒ ManagedEndpointConfigurationProperty

Returns a new instance of ManagedEndpointConfigurationProperty.

Parameters:



955
956
957
958
959
960
# File 'rtb_fabric/cfn_responder_gateway.rb', line 955

def initialize(auto_scaling_groups_configuration: nil, eks_endpoints_configuration: nil)
  @auto_scaling_groups_configuration = auto_scaling_groups_configuration.is_a?(Hash) ? ::AWSCDK::RTBFabric::CfnResponderGateway::AutoScalingGroupsConfigurationProperty.new(**auto_scaling_groups_configuration.transform_keys(&:to_sym)) : auto_scaling_groups_configuration
  Jsii::Type.check_type(@auto_scaling_groups_configuration, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19ydGJmYWJyaWMuQ2ZuUmVzcG9uZGVyR2F0ZXdheS5BdXRvU2NhbGluZ0dyb3Vwc0NvbmZpZ3VyYXRpb25Qcm9wZXJ0eSJ9XX19")), "autoScalingGroupsConfiguration") unless @auto_scaling_groups_configuration.nil?
  @eks_endpoints_configuration = eks_endpoints_configuration.is_a?(Hash) ? ::AWSCDK::RTBFabric::CfnResponderGateway::EKSEndpointsConfigurationProperty.new(**eks_endpoints_configuration.transform_keys(&:to_sym)) : eks_endpoints_configuration
  Jsii::Type.check_type(@eks_endpoints_configuration, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19ydGJmYWJyaWMuQ2ZuUmVzcG9uZGVyR2F0ZXdheS5Fa3NFbmRwb2ludHNDb25maWd1cmF0aW9uUHJvcGVydHkifV19fQ==")), "eksEndpointsConfiguration") unless @eks_endpoints_configuration.nil?
end

Instance Attribute Details

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

Describes the configuration of an auto scaling group.



966
967
968
# File 'rtb_fabric/cfn_responder_gateway.rb', line 966

def auto_scaling_groups_configuration
  @auto_scaling_groups_configuration
end

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

Describes the configuration of an Amazon Elastic Kubernetes Service endpoint.



971
972
973
# File 'rtb_fabric/cfn_responder_gateway.rb', line 971

def eks_endpoints_configuration
  @eks_endpoints_configuration
end

Class Method Details

.jsii_propertiesObject



973
974
975
976
977
978
# File 'rtb_fabric/cfn_responder_gateway.rb', line 973

def self.jsii_properties
  {
    :auto_scaling_groups_configuration => "autoScalingGroupsConfiguration",
    :eks_endpoints_configuration => "eksEndpointsConfiguration",
  }
end

Instance Method Details

#to_jsiiObject



980
981
982
983
984
985
986
987
# File 'rtb_fabric/cfn_responder_gateway.rb', line 980

def to_jsii
  result = {}
  result.merge!({
    "autoScalingGroupsConfiguration" => @auto_scaling_groups_configuration,
    "eksEndpointsConfiguration" => @eks_endpoints_configuration,
  })
  result.compact
end