Class: AWSCDK::AppFlow::CfnConnectorProfile::SingularConnectorProfileCredentialsProperty

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

Overview

The connector-specific profile credentials required when using Singular.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(api_key:) ⇒ SingularConnectorProfileCredentialsProperty

Returns a new instance of SingularConnectorProfileCredentialsProperty.

Parameters:

  • api_key (String)

    A unique alphanumeric identifier used to authenticate a user, developer, or calling program to your API.



2659
2660
2661
2662
# File 'app_flow/cfn_connector_profile.rb', line 2659

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

Instance Attribute Details

#api_keyString (readonly)

A unique alphanumeric identifier used to authenticate a user, developer, or calling program to your API.



2668
2669
2670
# File 'app_flow/cfn_connector_profile.rb', line 2668

def api_key
  @api_key
end

Class Method Details

.jsii_propertiesObject



2670
2671
2672
2673
2674
# File 'app_flow/cfn_connector_profile.rb', line 2670

def self.jsii_properties
  {
    :api_key => "apiKey",
  }
end

Instance Method Details

#to_jsiiObject



2676
2677
2678
2679
2680
2681
2682
# File 'app_flow/cfn_connector_profile.rb', line 2676

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