Class: AWSCDK::Transfer::CfnWebApp::WebAppUnitsProperty

Inherits:
Jsii::Struct
  • Object
show all
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

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(provisioned:) ⇒ WebAppUnitsProperty

Returns a new instance of WebAppUnitsProperty.

Parameters:

  • provisioned (Numeric)

    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.



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

#provisionedNumeric (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_propertiesObject



834
835
836
837
838
# File 'transfer/cfn_web_app.rb', line 834

def self.jsii_properties
  {
    :provisioned => "provisioned",
  }
end

Instance Method Details

#to_jsiiObject



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