Class CfnWebExperience.OpenIDConnectProviderConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.qbusiness.CfnWebExperience.OpenIDConnectProviderConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWebExperience.OpenIDConnectProviderConfigurationProperty>
- Enclosing interface:
CfnWebExperience.OpenIDConnectProviderConfigurationProperty
@Stability(Stable)
public static final class CfnWebExperience.OpenIDConnectProviderConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWebExperience.OpenIDConnectProviderConfigurationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.secretsArn(String secretsArn) secretsRole(String secretsRole)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
secretsArn
@Stability(Stable) public CfnWebExperience.OpenIDConnectProviderConfigurationProperty.Builder secretsArn(String secretsArn) - Parameters:
secretsArn- The Amazon Resource Name (ARN) of a Secrets Manager secret containing the OIDC client secret. This parameter is required.- Returns:
this
-
secretsRole
@Stability(Stable) public CfnWebExperience.OpenIDConnectProviderConfigurationProperty.Builder secretsRole(String secretsRole) - Parameters:
secretsRole- An IAM role with permissions to access AWS KMS to decrypt the Secrets Manager secret containing your OIDC client secret. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnWebExperience.OpenIDConnectProviderConfigurationProperty>- Returns:
- a new instance of
CfnWebExperience.OpenIDConnectProviderConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-