Class: AWSCDK::EC2::CfnVerifiedAccessTrustProvider::OidcOptionsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::EC2::CfnVerifiedAccessTrustProvider::OidcOptionsProperty
- Defined in:
- ec2/cfn_verified_access_trust_provider.rb
Overview
Describes the options for an OpenID Connect-compatible user-identity trust provider.
Instance Attribute Summary collapse
-
#authorization_endpoint ⇒ String?
readonly
The OIDC authorization endpoint.
-
#client_id ⇒ String?
readonly
The client identifier.
-
#client_secret ⇒ String?
readonly
The client secret.
-
#issuer ⇒ String?
readonly
The OIDC issuer.
-
#scope ⇒ String?
readonly
The OpenID Connect (OIDC) scope specified.
-
#token_endpoint ⇒ String?
readonly
The OIDC token endpoint.
-
#user_info_endpoint ⇒ String?
readonly
The OIDC user info endpoint.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(authorization_endpoint: nil, client_id: nil, client_secret: nil, issuer: nil, scope: nil, token_endpoint: nil, user_info_endpoint: nil) ⇒ OidcOptionsProperty
constructor
A new instance of OidcOptionsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(authorization_endpoint: nil, client_id: nil, client_secret: nil, issuer: nil, scope: nil, token_endpoint: nil, user_info_endpoint: nil) ⇒ OidcOptionsProperty
Returns a new instance of OidcOptionsProperty.
821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 |
# File 'ec2/cfn_verified_access_trust_provider.rb', line 821 def initialize(authorization_endpoint: nil, client_id: nil, client_secret: nil, issuer: nil, scope: nil, token_endpoint: nil, user_info_endpoint: nil) @authorization_endpoint = Jsii::Type.check_type(@authorization_endpoint, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "authorizationEndpoint") unless @authorization_endpoint.nil? @client_id = client_id Jsii::Type.check_type(@client_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "clientId") unless @client_id.nil? @client_secret = client_secret Jsii::Type.check_type(@client_secret, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "clientSecret") unless @client_secret.nil? @issuer = issuer Jsii::Type.check_type(@issuer, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "issuer") unless @issuer.nil? @scope = scope Jsii::Type.check_type(@scope, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "scope") unless @scope.nil? @token_endpoint = token_endpoint Jsii::Type.check_type(@token_endpoint, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "tokenEndpoint") unless @token_endpoint.nil? @user_info_endpoint = user_info_endpoint Jsii::Type.check_type(@user_info_endpoint, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "userInfoEndpoint") unless @user_info_endpoint.nil? end |
Instance Attribute Details
#authorization_endpoint ⇒ String? (readonly)
The OIDC authorization endpoint.
842 843 844 |
# File 'ec2/cfn_verified_access_trust_provider.rb', line 842 def @authorization_endpoint end |
#client_id ⇒ String? (readonly)
The client identifier.
847 848 849 |
# File 'ec2/cfn_verified_access_trust_provider.rb', line 847 def client_id @client_id end |
#client_secret ⇒ String? (readonly)
The client secret.
852 853 854 |
# File 'ec2/cfn_verified_access_trust_provider.rb', line 852 def client_secret @client_secret end |
#issuer ⇒ String? (readonly)
The OIDC issuer.
857 858 859 |
# File 'ec2/cfn_verified_access_trust_provider.rb', line 857 def issuer @issuer end |
#scope ⇒ String? (readonly)
The OpenID Connect (OIDC) scope specified.
862 863 864 |
# File 'ec2/cfn_verified_access_trust_provider.rb', line 862 def scope @scope end |
#token_endpoint ⇒ String? (readonly)
The OIDC token endpoint.
867 868 869 |
# File 'ec2/cfn_verified_access_trust_provider.rb', line 867 def token_endpoint @token_endpoint end |
#user_info_endpoint ⇒ String? (readonly)
The OIDC user info endpoint.
872 873 874 |
# File 'ec2/cfn_verified_access_trust_provider.rb', line 872 def user_info_endpoint @user_info_endpoint end |
Class Method Details
.jsii_properties ⇒ Object
874 875 876 877 878 879 880 881 882 883 884 |
# File 'ec2/cfn_verified_access_trust_provider.rb', line 874 def self.jsii_properties { :authorization_endpoint => "authorizationEndpoint", :client_id => "clientId", :client_secret => "clientSecret", :issuer => "issuer", :scope => "scope", :token_endpoint => "tokenEndpoint", :user_info_endpoint => "userInfoEndpoint", } end |
Instance Method Details
#to_jsii ⇒ Object
886 887 888 889 890 891 892 893 894 895 896 897 898 |
# File 'ec2/cfn_verified_access_trust_provider.rb', line 886 def to_jsii result = {} result.merge!({ "authorizationEndpoint" => @authorization_endpoint, "clientId" => @client_id, "clientSecret" => @client_secret, "issuer" => @issuer, "scope" => @scope, "tokenEndpoint" => @token_endpoint, "userInfoEndpoint" => @user_info_endpoint, }) result.compact end |