Class: AWSCDK::SystemsManagerSAP::CfnApplication::ComponentInfoProperty

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

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(component_type: nil, ec2_instance_id: nil, sid: nil) ⇒ ComponentInfoProperty

Returns a new instance of ComponentInfoProperty.

Parameters:

  • component_type (String, nil) (defaults to: nil)

    This string is the type of the component.

  • ec2_instance_id (String, nil) (defaults to: nil)

    This is the Amazon EC2 instance on which your SAP component is running.

  • sid (String, nil) (defaults to: nil)

    This string is the SAP System ID of the component.



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_typeString? (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_idString? (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

#sidString? (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_propertiesObject



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_jsiiObject



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