Class: AWSCDK::QuickSight::CfnActionConnector::AuthConfigProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
quick_sight/cfn_action_connector.rb

Overview

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(authentication_metadata:, authentication_type:) ⇒ AuthConfigProperty

Returns a new instance of AuthConfigProperty.

Parameters:



670
671
672
673
674
675
# File 'quick_sight/cfn_action_connector.rb', line 670

def initialize(authentication_metadata:, authentication_type:)
  @authentication_metadata = .is_a?(Hash) ? ::AWSCDK::QuickSight::CfnActionConnector::AuthenticationMetadataProperty.new(**.transform_keys(&:to_sym)) : 
  Jsii::Type.check_type(@authentication_metadata, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkFjdGlvbkNvbm5lY3Rvci5BdXRoZW50aWNhdGlvbk1ldGFkYXRhUHJvcGVydHkifV19fQ==")), "authenticationMetadata")
  @authentication_type = authentication_type
  Jsii::Type.check_type(@authentication_type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "authenticationType")
end

Instance Attribute Details

#authentication_typeString (readonly)



682
683
684
# File 'quick_sight/cfn_action_connector.rb', line 682

def authentication_type
  @authentication_type
end

Class Method Details

.jsii_propertiesObject



684
685
686
687
688
689
# File 'quick_sight/cfn_action_connector.rb', line 684

def self.jsii_properties
  {
    :authentication_metadata => "authenticationMetadata",
    :authentication_type => "authenticationType",
  }
end

Instance Method Details

#to_jsiiObject



691
692
693
694
695
696
697
698
# File 'quick_sight/cfn_action_connector.rb', line 691

def to_jsii
  result = {}
  result.merge!({
    "authenticationMetadata" => @authentication_metadata,
    "authenticationType" => @authentication_type,
  })
  result.compact
end