Class: AWSCDK::Transfer::CfnWebApp::WebAppUnitsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Transfer::CfnWebApp::WebAppUnitsProperty
- Defined in:
- transfer/cfn_web_app.rb
Overview
Contains an integer value that represents the value for number of concurrent connections or the user sessions on your web app.
Instance Attribute Summary collapse
-
#provisioned ⇒ Numeric
readonly
An integer that represents the number of units for your desired number of concurrent connections, or the number of user sessions on your web app at the same time.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(provisioned:) ⇒ WebAppUnitsProperty
constructor
A new instance of WebAppUnitsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(provisioned:) ⇒ WebAppUnitsProperty
Returns a new instance of WebAppUnitsProperty.
821 822 823 824 |
# File 'transfer/cfn_web_app.rb', line 821 def initialize(provisioned:) @provisioned = provisioned Jsii::Type.check_type(@provisioned, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "provisioned") end |
Instance Attribute Details
#provisioned ⇒ Numeric (readonly)
An integer that represents the number of units for your desired number of concurrent connections, or the number of user sessions on your web app at the same time.
Each increment allows an additional 250 concurrent sessions: a value of 1 sets the number of concurrent sessions to 250; 2 sets a value of 500, and so on.
832 833 834 |
# File 'transfer/cfn_web_app.rb', line 832 def provisioned @provisioned end |
Class Method Details
.jsii_properties ⇒ Object
834 835 836 837 838 |
# File 'transfer/cfn_web_app.rb', line 834 def self.jsii_properties { :provisioned => "provisioned", } end |
Instance Method Details
#to_jsii ⇒ Object
840 841 842 843 844 845 846 |
# File 'transfer/cfn_web_app.rb', line 840 def to_jsii result = {} result.merge!({ "provisioned" => @provisioned, }) result.compact end |