Class: AWSCDK::AppFlow::CfnConnectorProfile::DynatraceConnectorProfileCredentialsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::AppFlow::CfnConnectorProfile::DynatraceConnectorProfileCredentialsProperty
- Defined in:
- app_flow/cfn_connector_profile.rb
Overview
The connector-specific profile credentials required by Dynatrace.
Instance Attribute Summary collapse
-
#api_token ⇒ String
readonly
The API tokens used by Dynatrace API to authenticate various API calls.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(api_token:) ⇒ DynatraceConnectorProfileCredentialsProperty
constructor
A new instance of DynatraceConnectorProfileCredentialsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(api_token:) ⇒ DynatraceConnectorProfileCredentialsProperty
Returns a new instance of DynatraceConnectorProfileCredentialsProperty.
1403 1404 1405 1406 |
# File 'app_flow/cfn_connector_profile.rb', line 1403 def initialize(api_token:) @api_token = api_token Jsii::Type.check_type(@api_token, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "apiToken") end |
Instance Attribute Details
#api_token ⇒ String (readonly)
The API tokens used by Dynatrace API to authenticate various API calls.
1412 1413 1414 |
# File 'app_flow/cfn_connector_profile.rb', line 1412 def api_token @api_token end |
Class Method Details
.jsii_properties ⇒ Object
1414 1415 1416 1417 1418 |
# File 'app_flow/cfn_connector_profile.rb', line 1414 def self.jsii_properties { :api_token => "apiToken", } end |
Instance Method Details
#to_jsii ⇒ Object
1420 1421 1422 1423 1424 1425 1426 |
# File 'app_flow/cfn_connector_profile.rb', line 1420 def to_jsii result = {} result.merge!({ "apiToken" => @api_token, }) result.compact end |