Class: AWSCDK::QuickSight::CfnActionConnector::ClientCredentialsGrantDetailsProperty

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(client_id:, client_secret:, token_endpoint:) ⇒ ClientCredentialsGrantDetailsProperty

Returns a new instance of ClientCredentialsGrantDetailsProperty.

Parameters:

  • client_id (String)
  • client_secret (String)
  • token_endpoint (String)


986
987
988
989
990
991
992
993
# File 'quick_sight/cfn_action_connector.rb', line 986

def initialize(client_id:, client_secret:, token_endpoint:)
  @client_id = client_id
  Jsii::Type.check_type(@client_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "clientId")
  @client_secret = client_secret
  Jsii::Type.check_type(@client_secret, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "clientSecret")
  @token_endpoint = token_endpoint
  Jsii::Type.check_type(@token_endpoint, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "tokenEndpoint")
end

Instance Attribute Details

#client_idString (readonly)



997
998
999
# File 'quick_sight/cfn_action_connector.rb', line 997

def client_id
  @client_id
end

#client_secretString (readonly)



1000
1001
1002
# File 'quick_sight/cfn_action_connector.rb', line 1000

def client_secret
  @client_secret
end

#token_endpointString (readonly)



1003
1004
1005
# File 'quick_sight/cfn_action_connector.rb', line 1003

def token_endpoint
  @token_endpoint
end

Class Method Details

.jsii_propertiesObject



1005
1006
1007
1008
1009
1010
1011
# File 'quick_sight/cfn_action_connector.rb', line 1005

def self.jsii_properties
  {
    :client_id => "clientId",
    :client_secret => "clientSecret",
    :token_endpoint => "tokenEndpoint",
  }
end

Instance Method Details

#to_jsiiObject



1013
1014
1015
1016
1017
1018
1019
1020
1021
# File 'quick_sight/cfn_action_connector.rb', line 1013

def to_jsii
  result = {}
  result.merge!({
    "clientId" => @client_id,
    "clientSecret" => @client_secret,
    "tokenEndpoint" => @token_endpoint,
  })
  result.compact
end