Class: AWSCDK::AppFlow::CfnConnectorProfile::AmplitudeConnectorProfileCredentialsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::AppFlow::CfnConnectorProfile::AmplitudeConnectorProfileCredentialsProperty
- Defined in:
- app_flow/cfn_connector_profile.rb
Overview
The connector-specific credentials required when using Amplitude.
Instance Attribute Summary collapse
-
#api_key ⇒ String
readonly
A unique alphanumeric identifier used to authenticate a user, developer, or calling program to your API.
-
#secret_key ⇒ String
readonly
The Secret Access Key portion of the credentials.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(api_key:, secret_key:) ⇒ AmplitudeConnectorProfileCredentialsProperty
constructor
A new instance of AmplitudeConnectorProfileCredentialsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(api_key:, secret_key:) ⇒ AmplitudeConnectorProfileCredentialsProperty
Returns a new instance of AmplitudeConnectorProfileCredentialsProperty.
586 587 588 589 590 591 |
# File 'app_flow/cfn_connector_profile.rb', line 586 def initialize(api_key:, secret_key:) @api_key = api_key Jsii::Type.check_type(@api_key, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "apiKey") @secret_key = secret_key Jsii::Type.check_type(@secret_key, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "secretKey") end |
Instance Attribute Details
#api_key ⇒ String (readonly)
A unique alphanumeric identifier used to authenticate a user, developer, or calling program to your API.
597 598 599 |
# File 'app_flow/cfn_connector_profile.rb', line 597 def api_key @api_key end |
#secret_key ⇒ String (readonly)
The Secret Access Key portion of the credentials.
602 603 604 |
# File 'app_flow/cfn_connector_profile.rb', line 602 def secret_key @secret_key end |
Class Method Details
.jsii_properties ⇒ Object
604 605 606 607 608 609 |
# File 'app_flow/cfn_connector_profile.rb', line 604 def self.jsii_properties { :api_key => "apiKey", :secret_key => "secretKey", } end |
Instance Method Details
#to_jsii ⇒ Object
611 612 613 614 615 616 617 618 |
# File 'app_flow/cfn_connector_profile.rb', line 611 def to_jsii result = {} result.merge!({ "apiKey" => @api_key, "secretKey" => @secret_key, }) result.compact end |