Class CfnFHIRDatastore.IdentityProviderConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFHIRDatastore.IdentityProviderConfigurationProperty>
- Enclosing interface:
CfnFHIRDatastore.IdentityProviderConfigurationProperty
CfnFHIRDatastore.IdentityProviderConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionauthorizationStrategy(String authorizationStrategy) build()Builds the configured instance.fineGrainedAuthorizationEnabled(Boolean fineGrainedAuthorizationEnabled) fineGrainedAuthorizationEnabled(IResolvable fineGrainedAuthorizationEnabled) idpLambdaArn(String idpLambdaArn) Sets the value ofCfnFHIRDatastore.IdentityProviderConfigurationProperty.getIdpLambdaArn()Sets the value ofCfnFHIRDatastore.IdentityProviderConfigurationProperty.getMetadata()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
authorizationStrategy
@Stability(Stable) public CfnFHIRDatastore.IdentityProviderConfigurationProperty.Builder authorizationStrategy(String authorizationStrategy) - Parameters:
authorizationStrategy- The authorization strategy that you selected when you created the data store. This parameter is required.- Returns:
this
-
fineGrainedAuthorizationEnabled
@Stability(Stable) public CfnFHIRDatastore.IdentityProviderConfigurationProperty.Builder fineGrainedAuthorizationEnabled(Boolean fineGrainedAuthorizationEnabled) Sets the value ofCfnFHIRDatastore.IdentityProviderConfigurationProperty.getFineGrainedAuthorizationEnabled()- Parameters:
fineGrainedAuthorizationEnabled- If you enabled fine-grained authorization when you created the data store.- Returns:
this
-
fineGrainedAuthorizationEnabled
@Stability(Stable) public CfnFHIRDatastore.IdentityProviderConfigurationProperty.Builder fineGrainedAuthorizationEnabled(IResolvable fineGrainedAuthorizationEnabled) Sets the value ofCfnFHIRDatastore.IdentityProviderConfigurationProperty.getFineGrainedAuthorizationEnabled()- Parameters:
fineGrainedAuthorizationEnabled- If you enabled fine-grained authorization when you created the data store.- Returns:
this
-
idpLambdaArn
@Stability(Stable) public CfnFHIRDatastore.IdentityProviderConfigurationProperty.Builder idpLambdaArn(String idpLambdaArn) Sets the value ofCfnFHIRDatastore.IdentityProviderConfigurationProperty.getIdpLambdaArn()- Parameters:
idpLambdaArn- The Amazon Resource Name (ARN) of the Lambda function that you want to use to decode the access token created by the authorization server.- Returns:
this
-
metadata
@Stability(Stable) public CfnFHIRDatastore.IdentityProviderConfigurationProperty.Builder metadata(String metadata) Sets the value ofCfnFHIRDatastore.IdentityProviderConfigurationProperty.getMetadata()- Parameters:
metadata- The JSON metadata elements that you want to use in your identity provider configuration. Required elements are listed based on the launch specification of the SMART application. For more information on all possible elements, see Metadata in SMART's App Launch specification.authorization_endpoint: The URL to the OAuth2 authorization endpoint.grant_types_supported: An array of grant types that are supported at the token endpoint. You must provide at least one grant type option. Valid options areauthorization_codeandclient_credentials.token_endpoint: The URL to the OAuth2 token endpoint.capabilities: An array of strings of the SMART capabilities that the authorization server supports.code_challenge_methods_supported: An array of strings of supported PKCE code challenge methods. You must include theS256method in the array of PKCE code challenge methods.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFHIRDatastore.IdentityProviderConfigurationProperty>- Returns:
- a new instance of
CfnFHIRDatastore.IdentityProviderConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-