Class: AWSCDK::SystemsManagerSAP::CfnApplication::CredentialProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::SystemsManagerSAP::CfnApplication::CredentialProperty
- Defined in:
- systems_manager_sap/cfn_application.rb
Overview
The credentials of your SAP application.
Instance Attribute Summary collapse
-
#credential_type ⇒ String?
readonly
The type of the application credentials.
-
#database_name ⇒ String?
readonly
The name of the SAP HANA database.
-
#secret_id ⇒ String?
readonly
The secret ID created in AWS Secrets Manager to store the credentials of the SAP application.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(credential_type: nil, database_name: nil, secret_id: nil) ⇒ CredentialProperty
constructor
A new instance of CredentialProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(credential_type: nil, database_name: nil, secret_id: nil) ⇒ CredentialProperty
Returns a new instance of CredentialProperty.
682 683 684 685 686 687 688 689 |
# File 'systems_manager_sap/cfn_application.rb', line 682 def initialize(credential_type: nil, database_name: nil, secret_id: nil) @credential_type = credential_type Jsii::Type.check_type(@credential_type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "credentialType") unless @credential_type.nil? @database_name = database_name Jsii::Type.check_type(@database_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "databaseName") unless @database_name.nil? @secret_id = secret_id Jsii::Type.check_type(@secret_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "secretId") unless @secret_id.nil? end |
Instance Attribute Details
#credential_type ⇒ String? (readonly)
The type of the application credentials.
695 696 697 |
# File 'systems_manager_sap/cfn_application.rb', line 695 def credential_type @credential_type end |
#database_name ⇒ String? (readonly)
The name of the SAP HANA database.
700 701 702 |
# File 'systems_manager_sap/cfn_application.rb', line 700 def database_name @database_name end |
#secret_id ⇒ String? (readonly)
The secret ID created in AWS Secrets Manager to store the credentials of the SAP application.
705 706 707 |
# File 'systems_manager_sap/cfn_application.rb', line 705 def secret_id @secret_id end |
Class Method Details
.jsii_properties ⇒ Object
707 708 709 710 711 712 713 |
# File 'systems_manager_sap/cfn_application.rb', line 707 def self.jsii_properties { :credential_type => "credentialType", :database_name => "databaseName", :secret_id => "secretId", } end |
Instance Method Details
#to_jsii ⇒ Object
715 716 717 718 719 720 721 722 723 |
# File 'systems_manager_sap/cfn_application.rb', line 715 def to_jsii result = {} result.merge!({ "credentialType" => @credential_type, "databaseName" => @database_name, "secretId" => @secret_id, }) result.compact end |