Class: AWSCDK::Glue::CfnConnection::OAuth2ClientApplicationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Glue::CfnConnection::OAuth2ClientApplicationProperty
- Defined in:
- glue/cfn_connection.rb
Overview
The OAuth2 client app used for the connection.
Instance Attribute Summary collapse
-
#aws_managed_client_application_reference ⇒ String?
readonly
The reference to the SaaS-side client app that is AWS managed.
-
#user_managed_client_application_client_id ⇒ String?
readonly
The client application clientID if the ClientAppType is
USER_MANAGED.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(aws_managed_client_application_reference: nil, user_managed_client_application_client_id: nil) ⇒ OAuth2ClientApplicationProperty
constructor
A new instance of OAuth2ClientApplicationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(aws_managed_client_application_reference: nil, user_managed_client_application_client_id: nil) ⇒ OAuth2ClientApplicationProperty
Returns a new instance of OAuth2ClientApplicationProperty.
880 881 882 883 884 885 |
# File 'glue/cfn_connection.rb', line 880 def initialize(aws_managed_client_application_reference: nil, user_managed_client_application_client_id: nil) @aws_managed_client_application_reference = aws_managed_client_application_reference Jsii::Type.check_type(@aws_managed_client_application_reference, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "awsManagedClientApplicationReference") unless @aws_managed_client_application_reference.nil? @user_managed_client_application_client_id = user_managed_client_application_client_id Jsii::Type.check_type(@user_managed_client_application_client_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "userManagedClientApplicationClientId") unless @user_managed_client_application_client_id.nil? end |
Instance Attribute Details
#aws_managed_client_application_reference ⇒ String? (readonly)
The reference to the SaaS-side client app that is AWS managed.
891 892 893 |
# File 'glue/cfn_connection.rb', line 891 def aws_managed_client_application_reference @aws_managed_client_application_reference end |
#user_managed_client_application_client_id ⇒ String? (readonly)
The client application clientID if the ClientAppType is USER_MANAGED .
896 897 898 |
# File 'glue/cfn_connection.rb', line 896 def user_managed_client_application_client_id @user_managed_client_application_client_id end |
Class Method Details
.jsii_properties ⇒ Object
898 899 900 901 902 903 |
# File 'glue/cfn_connection.rb', line 898 def self.jsii_properties { :aws_managed_client_application_reference => "awsManagedClientApplicationReference", :user_managed_client_application_client_id => "userManagedClientApplicationClientId", } end |
Instance Method Details
#to_jsii ⇒ Object
905 906 907 908 909 910 911 912 |
# File 'glue/cfn_connection.rb', line 905 def to_jsii result = {} result.merge!({ "awsManagedClientApplicationReference" => @aws_managed_client_application_reference, "userManagedClientApplicationClientId" => @user_managed_client_application_client_id, }) result.compact end |