Class: AWSCDK::SystemsManagerSAP::CfnApplication::ComponentInfoProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::SystemsManagerSAP::CfnApplication::ComponentInfoProperty
- Defined in:
- systems_manager_sap/cfn_application.rb
Overview
This is information about the component of your SAP application, such as Web Dispatcher.
Instance Attribute Summary collapse
-
#component_type ⇒ String?
readonly
This string is the type of the component.
-
#ec2_instance_id ⇒ String?
readonly
This is the Amazon EC2 instance on which your SAP component is running.
-
#sid ⇒ String?
readonly
This string is the SAP System ID of the component.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(component_type: nil, ec2_instance_id: nil, sid: nil) ⇒ ComponentInfoProperty
constructor
A new instance of ComponentInfoProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(component_type: nil, ec2_instance_id: nil, sid: nil) ⇒ ComponentInfoProperty
Returns a new instance of ComponentInfoProperty.
623 624 625 626 627 628 629 630 |
# File 'systems_manager_sap/cfn_application.rb', line 623 def initialize(component_type: nil, ec2_instance_id: nil, sid: nil) @component_type = component_type Jsii::Type.check_type(@component_type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "componentType") unless @component_type.nil? @ec2_instance_id = ec2_instance_id Jsii::Type.check_type(@ec2_instance_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "ec2InstanceId") unless @ec2_instance_id.nil? @sid = sid Jsii::Type.check_type(@sid, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "sid") unless @sid.nil? end |
Instance Attribute Details
#component_type ⇒ String? (readonly)
This string is the type of the component.
Accepted value is WD .
638 639 640 |
# File 'systems_manager_sap/cfn_application.rb', line 638 def component_type @component_type end |
#ec2_instance_id ⇒ String? (readonly)
This is the Amazon EC2 instance on which your SAP component is running.
Accepted values are alphanumeric.
645 646 647 |
# File 'systems_manager_sap/cfn_application.rb', line 645 def ec2_instance_id @ec2_instance_id end |
#sid ⇒ String? (readonly)
This string is the SAP System ID of the component.
Accepted values are alphanumeric.
652 653 654 |
# File 'systems_manager_sap/cfn_application.rb', line 652 def sid @sid end |
Class Method Details
.jsii_properties ⇒ Object
654 655 656 657 658 659 660 |
# File 'systems_manager_sap/cfn_application.rb', line 654 def self.jsii_properties { :component_type => "componentType", :ec2_instance_id => "ec2InstanceId", :sid => "sid", } end |
Instance Method Details
#to_jsii ⇒ Object
662 663 664 665 666 667 668 669 670 |
# File 'systems_manager_sap/cfn_application.rb', line 662 def to_jsii result = {} result.merge!({ "componentType" => @component_type, "ec2InstanceId" => @ec2_instance_id, "sid" => @sid, }) result.compact end |