Class: AWSCDK::ECS::CfnExpressGatewayService::AutoScalingARNsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::ECS::CfnExpressGatewayService::AutoScalingARNsProperty
- Defined in:
- ecs/cfn_express_gateway_service.rb
Overview
Instance Attribute Summary collapse
-
#application_auto_scaling_policies ⇒ Array<String>?
readonly
The list of Auto Scaling policy ARNs associated with the express service.
-
#scalable_target ⇒ String?
readonly
The Auto Scaling Scalable Target ARN associated with the express service.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(application_auto_scaling_policies: nil, scalable_target: nil) ⇒ AutoScalingARNsProperty
constructor
A new instance of AutoScalingARNsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(application_auto_scaling_policies: nil, scalable_target: nil) ⇒ AutoScalingARNsProperty
Returns a new instance of AutoScalingARNsProperty.
805 806 807 808 809 810 |
# File 'ecs/cfn_express_gateway_service.rb', line 805 def initialize(application_auto_scaling_policies: nil, scalable_target: nil) @application_auto_scaling_policies = application_auto_scaling_policies Jsii::Type.check_type(@application_auto_scaling_policies, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "applicationAutoScalingPolicies") unless @application_auto_scaling_policies.nil? @scalable_target = scalable_target Jsii::Type.check_type(@scalable_target, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "scalableTarget") unless @scalable_target.nil? end |
Instance Attribute Details
#application_auto_scaling_policies ⇒ Array<String>? (readonly)
The list of Auto Scaling policy ARNs associated with the express service.
816 817 818 |
# File 'ecs/cfn_express_gateway_service.rb', line 816 def application_auto_scaling_policies @application_auto_scaling_policies end |
#scalable_target ⇒ String? (readonly)
The Auto Scaling Scalable Target ARN associated with the express service.
821 822 823 |
# File 'ecs/cfn_express_gateway_service.rb', line 821 def scalable_target @scalable_target end |
Class Method Details
.jsii_properties ⇒ Object
823 824 825 826 827 828 |
# File 'ecs/cfn_express_gateway_service.rb', line 823 def self.jsii_properties { :application_auto_scaling_policies => "applicationAutoScalingPolicies", :scalable_target => "scalableTarget", } end |
Instance Method Details
#to_jsii ⇒ Object
830 831 832 833 834 835 836 837 |
# File 'ecs/cfn_express_gateway_service.rb', line 830 def to_jsii result = {} result.merge!({ "applicationAutoScalingPolicies" => @application_auto_scaling_policies, "scalableTarget" => @scalable_target, }) result.compact end |