Class: AWSCDK::WorkspacesWeb::CfnIdentityProviderProps
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::WorkspacesWeb::CfnIdentityProviderProps
- Defined in:
- workspaces_web/cfn_identity_provider_props.rb
Overview
Properties for defining a CfnIdentityProvider.
Instance Attribute Summary collapse
-
#identity_provider_details ⇒ AWSCDK::IResolvable, Hash{String => String}
readonly
The identity provider details.
-
#identity_provider_name ⇒ String
readonly
The identity provider name.
-
#identity_provider_type ⇒ String
readonly
The identity provider type.
-
#portal_arn ⇒ String?
readonly
The ARN of the identity provider.
- #tags ⇒ Array<AWSCDK::CfnTag>? readonly
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(identity_provider_details:, identity_provider_name:, identity_provider_type:, portal_arn: nil, tags: nil) ⇒ CfnIdentityProviderProps
constructor
A new instance of CfnIdentityProviderProps.
- #to_jsii ⇒ Object
Constructor Details
#initialize(identity_provider_details:, identity_provider_name:, identity_provider_type:, portal_arn: nil, tags: nil) ⇒ CfnIdentityProviderProps
Returns a new instance of CfnIdentityProviderProps.
14 15 16 17 18 19 20 21 22 23 24 25 |
# File 'workspaces_web/cfn_identity_provider_props.rb', line 14 def initialize(identity_provider_details:, identity_provider_name:, identity_provider_type:, portal_arn: nil, tags: nil) @identity_provider_details = identity_provider_details Jsii::Type.check_type(@identity_provider_details, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsicHJpbWl0aXZlIjoic3RyaW5nIn0sImtpbmQiOiJtYXAifX1dfX0=")), "identityProviderDetails") @identity_provider_name = identity_provider_name Jsii::Type.check_type(@identity_provider_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "identityProviderName") @identity_provider_type = identity_provider_type Jsii::Type.check_type(@identity_provider_type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "identityProviderType") @portal_arn = portal_arn Jsii::Type.check_type(@portal_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "portalArn") unless @portal_arn.nil? @tags = .is_a?(Array) ? .map { |jsii_v0| jsii_v0.is_a?(Hash) ? ::AWSCDK::CfnTag.new(**jsii_v0.transform_keys(&:to_sym)) : jsii_v0 } : Jsii::Type.check_type(@tags, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7ImZxbiI6ImF3cy1jZGstbGliLkNmblRhZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "tags") unless @tags.nil? end |
Instance Attribute Details
#identity_provider_details ⇒ AWSCDK::IResolvable, Hash{String => String} (readonly)
The identity provider details. The following list describes the provider detail keys for each identity provider type.
- For Google and Login with Amazon:
client_idclient_secretauthorize_scopes- For Facebook:
client_idclient_secretauthorize_scopesapi_version- For Sign in with Apple:
client_idteam_idkey_idprivate_keyauthorize_scopes- For OIDC providers:
client_idclient_secretattributes_request_methodoidc_issuerauthorize_scopesauthorize_urlif not available from discovery URL specified by oidc_issuer keytoken_urlif not available from discovery URL specified by oidc_issuer keyattributes_urlif not available from discovery URL specified by oidc_issuer keyjwks_uriif not available from discovery URL specified by oidc_issuer key- For SAML providers:
MetadataFileORMetadataURLIDPSignout(boolean) optionalIDPInit(boolean) optionalRequestSigningAlgorithm(string) optional - Only acceptsrsa-sha256EncryptedResponses(boolean) optional
63 64 65 |
# File 'workspaces_web/cfn_identity_provider_props.rb', line 63 def identity_provider_details @identity_provider_details end |
#identity_provider_name ⇒ String (readonly)
The identity provider name.
68 69 70 |
# File 'workspaces_web/cfn_identity_provider_props.rb', line 68 def identity_provider_name @identity_provider_name end |
#identity_provider_type ⇒ String (readonly)
The identity provider type.
73 74 75 |
# File 'workspaces_web/cfn_identity_provider_props.rb', line 73 def identity_provider_type @identity_provider_type end |
#portal_arn ⇒ String? (readonly)
The ARN of the identity provider.
78 79 80 |
# File 'workspaces_web/cfn_identity_provider_props.rb', line 78 def portal_arn @portal_arn end |
#tags ⇒ Array<AWSCDK::CfnTag>? (readonly)
81 82 83 |
# File 'workspaces_web/cfn_identity_provider_props.rb', line 81 def @tags end |
Class Method Details
.jsii_properties ⇒ Object
83 84 85 86 87 88 89 90 91 |
# File 'workspaces_web/cfn_identity_provider_props.rb', line 83 def self.jsii_properties { :identity_provider_details => "identityProviderDetails", :identity_provider_name => "identityProviderName", :identity_provider_type => "identityProviderType", :portal_arn => "portalArn", :tags => "tags", } end |
Instance Method Details
#to_jsii ⇒ Object
93 94 95 96 97 98 99 100 101 102 103 |
# File 'workspaces_web/cfn_identity_provider_props.rb', line 93 def to_jsii result = {} result.merge!({ "identityProviderDetails" => @identity_provider_details, "identityProviderName" => @identity_provider_name, "identityProviderType" => @identity_provider_type, "portalArn" => @portal_arn, "tags" => @tags, }) result.compact end |