Class: AWSCDK::QuickSight::CfnActionConnector::AuthorizationCodeGrantDetailsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnActionConnector::AuthorizationCodeGrantDetailsProperty
- Defined in:
- quick_sight/cfn_action_connector.rb
Overview
Instance Attribute Summary collapse
- #authorization_endpoint ⇒ String readonly
- #client_id ⇒ String readonly
- #client_secret ⇒ String readonly
- #token_endpoint ⇒ String readonly
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(authorization_endpoint:, client_id:, client_secret:, token_endpoint:) ⇒ AuthorizationCodeGrantDetailsProperty
constructor
A new instance of AuthorizationCodeGrantDetailsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(authorization_endpoint:, client_id:, client_secret:, token_endpoint:) ⇒ AuthorizationCodeGrantDetailsProperty
Returns a new instance of AuthorizationCodeGrantDetailsProperty.
807 808 809 810 811 812 813 814 815 816 |
# File 'quick_sight/cfn_action_connector.rb', line 807 def initialize(authorization_endpoint:, client_id:, client_secret:, token_endpoint:) @authorization_endpoint = Jsii::Type.check_type(@authorization_endpoint, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "authorizationEndpoint") @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
#authorization_endpoint ⇒ String (readonly)
820 821 822 |
# File 'quick_sight/cfn_action_connector.rb', line 820 def @authorization_endpoint end |
#client_id ⇒ String (readonly)
823 824 825 |
# File 'quick_sight/cfn_action_connector.rb', line 823 def client_id @client_id end |
#client_secret ⇒ String (readonly)
826 827 828 |
# File 'quick_sight/cfn_action_connector.rb', line 826 def client_secret @client_secret end |
#token_endpoint ⇒ String (readonly)
829 830 831 |
# File 'quick_sight/cfn_action_connector.rb', line 829 def token_endpoint @token_endpoint end |
Class Method Details
.jsii_properties ⇒ Object
831 832 833 834 835 836 837 838 |
# File 'quick_sight/cfn_action_connector.rb', line 831 def self.jsii_properties { :authorization_endpoint => "authorizationEndpoint", :client_id => "clientId", :client_secret => "clientSecret", :token_endpoint => "tokenEndpoint", } end |
Instance Method Details
#to_jsii ⇒ Object
840 841 842 843 844 845 846 847 848 849 |
# File 'quick_sight/cfn_action_connector.rb', line 840 def to_jsii result = {} result.merge!({ "authorizationEndpoint" => @authorization_endpoint, "clientId" => @client_id, "clientSecret" => @client_secret, "tokenEndpoint" => @token_endpoint, }) result.compact end |