Class: AWSCDK::AppFlow::CfnConnectorProfile::InforNexusConnectorProfileCredentialsProperty

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

Overview

The connector-specific profile credentials required by Infor Nexus.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(access_key_id:, datakey:, secret_access_key:, user_id:) ⇒ InforNexusConnectorProfileCredentialsProperty

Returns a new instance of InforNexusConnectorProfileCredentialsProperty.

Parameters:

  • access_key_id (String)

    The Access Key portion of the credentials.

  • datakey (String)

    The encryption keys used to encrypt data.

  • secret_access_key (String)

    The secret key used to sign requests.

  • user_id (String)

    The identifier for the user.



1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
# File 'app_flow/cfn_connector_profile.rb', line 1547

def initialize(access_key_id:, datakey:, secret_access_key:, user_id:)
  @access_key_id = access_key_id
  Jsii::Type.check_type(@access_key_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "accessKeyId")
  @datakey = datakey
  Jsii::Type.check_type(@datakey, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "datakey")
  @secret_access_key = secret_access_key
  Jsii::Type.check_type(@secret_access_key, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "secretAccessKey")
  @user_id = user_id
  Jsii::Type.check_type(@user_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "userId")
end

Instance Attribute Details

#access_key_idString (readonly)

The Access Key portion of the credentials.



1562
1563
1564
# File 'app_flow/cfn_connector_profile.rb', line 1562

def access_key_id
  @access_key_id
end

#datakeyString (readonly)

The encryption keys used to encrypt data.



1567
1568
1569
# File 'app_flow/cfn_connector_profile.rb', line 1567

def datakey
  @datakey
end

#secret_access_keyString (readonly)

The secret key used to sign requests.



1572
1573
1574
# File 'app_flow/cfn_connector_profile.rb', line 1572

def secret_access_key
  @secret_access_key
end

#user_idString (readonly)

The identifier for the user.



1577
1578
1579
# File 'app_flow/cfn_connector_profile.rb', line 1577

def user_id
  @user_id
end

Class Method Details

.jsii_propertiesObject



1579
1580
1581
1582
1583
1584
1585
1586
# File 'app_flow/cfn_connector_profile.rb', line 1579

def self.jsii_properties
  {
    :access_key_id => "accessKeyId",
    :datakey => "datakey",
    :secret_access_key => "secretAccessKey",
    :user_id => "userId",
  }
end

Instance Method Details

#to_jsiiObject



1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
# File 'app_flow/cfn_connector_profile.rb', line 1588

def to_jsii
  result = {}
  result.merge!({
    "accessKeyId" => @access_key_id,
    "datakey" => @datakey,
    "secretAccessKey" => @secret_access_key,
    "userId" => @user_id,
  })
  result.compact
end