Class: AWSCDK::SAM::CfnFunction::RouteSettingsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::SAM::CfnFunction::RouteSettingsProperty
- Defined in:
- sam/cfn_function.rb
Overview
Instance Attribute Summary collapse
- #data_trace_enabled ⇒ Boolean, ... readonly
- #detailed_metrics_enabled ⇒ Boolean, ... readonly
- #logging_level ⇒ String? readonly
- #throttling_burst_limit ⇒ Numeric? readonly
- #throttling_rate_limit ⇒ Numeric? readonly
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(data_trace_enabled: nil, detailed_metrics_enabled: nil, logging_level: nil, throttling_burst_limit: nil, throttling_rate_limit: nil) ⇒ RouteSettingsProperty
constructor
A new instance of RouteSettingsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(data_trace_enabled: nil, detailed_metrics_enabled: nil, logging_level: nil, throttling_burst_limit: nil, throttling_rate_limit: nil) ⇒ RouteSettingsProperty
Returns a new instance of RouteSettingsProperty.
2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 |
# File 'sam/cfn_function.rb', line 2642 def initialize(data_trace_enabled: nil, detailed_metrics_enabled: nil, logging_level: nil, throttling_burst_limit: nil, throttling_rate_limit: nil) @data_trace_enabled = data_trace_enabled Jsii::Type.check_type(@data_trace_enabled, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoiYm9vbGVhbiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "dataTraceEnabled") unless @data_trace_enabled.nil? @detailed_metrics_enabled = detailed_metrics_enabled Jsii::Type.check_type(@detailed_metrics_enabled, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoiYm9vbGVhbiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "detailedMetricsEnabled") unless @detailed_metrics_enabled.nil? @logging_level = logging_level Jsii::Type.check_type(@logging_level, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "loggingLevel") unless @logging_level.nil? @throttling_burst_limit = throttling_burst_limit Jsii::Type.check_type(@throttling_burst_limit, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "throttlingBurstLimit") unless @throttling_burst_limit.nil? @throttling_rate_limit = throttling_rate_limit Jsii::Type.check_type(@throttling_rate_limit, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "throttlingRateLimit") unless @throttling_rate_limit.nil? end |
Instance Attribute Details
#data_trace_enabled ⇒ Boolean, ... (readonly)
2657 2658 2659 |
# File 'sam/cfn_function.rb', line 2657 def data_trace_enabled @data_trace_enabled end |
#detailed_metrics_enabled ⇒ Boolean, ... (readonly)
2660 2661 2662 |
# File 'sam/cfn_function.rb', line 2660 def detailed_metrics_enabled @detailed_metrics_enabled end |
#logging_level ⇒ String? (readonly)
2663 2664 2665 |
# File 'sam/cfn_function.rb', line 2663 def logging_level @logging_level end |
#throttling_burst_limit ⇒ Numeric? (readonly)
2666 2667 2668 |
# File 'sam/cfn_function.rb', line 2666 def throttling_burst_limit @throttling_burst_limit end |
#throttling_rate_limit ⇒ Numeric? (readonly)
2669 2670 2671 |
# File 'sam/cfn_function.rb', line 2669 def throttling_rate_limit @throttling_rate_limit end |
Class Method Details
.jsii_properties ⇒ Object
2671 2672 2673 2674 2675 2676 2677 2678 2679 |
# File 'sam/cfn_function.rb', line 2671 def self.jsii_properties { :data_trace_enabled => "dataTraceEnabled", :detailed_metrics_enabled => "detailedMetricsEnabled", :logging_level => "loggingLevel", :throttling_burst_limit => "throttlingBurstLimit", :throttling_rate_limit => "throttlingRateLimit", } end |
Instance Method Details
#to_jsii ⇒ Object
2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 |
# File 'sam/cfn_function.rb', line 2681 def to_jsii result = {} result.merge!({ "dataTraceEnabled" => @data_trace_enabled, "detailedMetricsEnabled" => @detailed_metrics_enabled, "loggingLevel" => @logging_level, "throttlingBurstLimit" => @throttling_burst_limit, "throttlingRateLimit" => @throttling_rate_limit, }) result.compact end |