Class: AWSCDK::AppFlow::CfnConnectorProfile::VeevaConnectorProfileCredentialsProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
app_flow/cfn_connector_profile.rb

Overview

The connector-specific profile credentials required when using Veeva.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(password:, username:) ⇒ VeevaConnectorProfileCredentialsProperty

Returns a new instance of VeevaConnectorProfileCredentialsProperty.

Parameters:

  • password (String)

    The password that corresponds to the user name.

  • username (String)

    The name of the user.



2960
2961
2962
2963
2964
2965
# File 'app_flow/cfn_connector_profile.rb', line 2960

def initialize(password:, username:)
  @password = password
  Jsii::Type.check_type(@password, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "password")
  @username = username
  Jsii::Type.check_type(@username, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "username")
end

Instance Attribute Details

#passwordString (readonly)

The password that corresponds to the user name.



2971
2972
2973
# File 'app_flow/cfn_connector_profile.rb', line 2971

def password
  @password
end

#usernameString (readonly)

The name of the user.



2976
2977
2978
# File 'app_flow/cfn_connector_profile.rb', line 2976

def username
  @username
end

Class Method Details

.jsii_propertiesObject



2978
2979
2980
2981
2982
2983
# File 'app_flow/cfn_connector_profile.rb', line 2978

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

Instance Method Details

#to_jsiiObject



2985
2986
2987
2988
2989
2990
2991
2992
# File 'app_flow/cfn_connector_profile.rb', line 2985

def to_jsii
  result = {}
  result.merge!({
    "password" => @password,
    "username" => @username,
  })
  result.compact
end