Class CfnFHIRDatastorePropsMixin.IdentityProviderConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFHIRDatastorePropsMixin.IdentityProviderConfigurationProperty>
- Enclosing interface:
CfnFHIRDatastorePropsMixin.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)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
authorizationStrategy
@Stability(Stable) public CfnFHIRDatastorePropsMixin.IdentityProviderConfigurationProperty.Builder authorizationStrategy(String authorizationStrategy) Sets the value ofCfnFHIRDatastorePropsMixin.IdentityProviderConfigurationProperty.getAuthorizationStrategy()- Parameters:
authorizationStrategy- The authorization strategy selected when the HealthLake data store is created.HealthLake provides support for both SMART on FHIR V1 and V2 as described below.
SMART_ON_FHIR_V1– Support for only SMART on FHIR V1, which includesread(read/search) andwrite(create/update/delete) permissions.SMART_ON_FHIR– Support for both SMART on FHIR V1 and V2, which includescreate,read,update,delete, andsearchpermissions.AWS_AUTH– The default HealthLake authorization strategy; not affiliated with SMART on FHIR.
- Returns:
this
-
fineGrainedAuthorizationEnabled
@Stability(Stable) public CfnFHIRDatastorePropsMixin.IdentityProviderConfigurationProperty.Builder fineGrainedAuthorizationEnabled(Boolean fineGrainedAuthorizationEnabled) Sets the value ofCfnFHIRDatastorePropsMixin.IdentityProviderConfigurationProperty.getFineGrainedAuthorizationEnabled()- Parameters:
fineGrainedAuthorizationEnabled- The parameter to enable SMART on FHIR fine-grained authorization for the data store.- Returns:
this
-
fineGrainedAuthorizationEnabled
@Stability(Stable) public CfnFHIRDatastorePropsMixin.IdentityProviderConfigurationProperty.Builder fineGrainedAuthorizationEnabled(IResolvable fineGrainedAuthorizationEnabled) Sets the value ofCfnFHIRDatastorePropsMixin.IdentityProviderConfigurationProperty.getFineGrainedAuthorizationEnabled()- Parameters:
fineGrainedAuthorizationEnabled- The parameter to enable SMART on FHIR fine-grained authorization for the data store.- Returns:
this
-
idpLambdaArn
@Stability(Stable) public CfnFHIRDatastorePropsMixin.IdentityProviderConfigurationProperty.Builder idpLambdaArn(String idpLambdaArn) Sets the value ofCfnFHIRDatastorePropsMixin.IdentityProviderConfigurationProperty.getIdpLambdaArn()- Parameters:
idpLambdaArn- The Amazon Resource Name (ARN) of the Lambda function to use to decode the access token created by the authorization server.- Returns:
this
-
metadata
@Stability(Stable) public CfnFHIRDatastorePropsMixin.IdentityProviderConfigurationProperty.Builder metadata(String metadata) - Parameters:
metadata- The JSON metadata elements 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<CfnFHIRDatastorePropsMixin.IdentityProviderConfigurationProperty>- Returns:
- a new instance of
CfnFHIRDatastorePropsMixin.IdentityProviderConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-