Interface AuthConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AuthConfig.Builder,,AuthConfig> SdkBuilder<AuthConfig.Builder,,AuthConfig> SdkPojo
- Enclosing class:
AuthConfig
-
Method Summary
Modifier and TypeMethodDescriptionaudienceOverride(String audienceOverride) The value that Connect Customer uses as the audience (aud) claim of the JSON Web Token (JWT) that it issues.The type of authentication that Connect Customer uses to call the external application endpoint.The type of authentication that Connect Customer uses to call the external application endpoint.credentialProviderIdentifier(String credentialProviderIdentifier) The ARN of the Secrets Manager secret that stores the credentials.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
authType
The type of authentication that Connect Customer uses to call the external application endpoint. You must specify an authentication type for
A2A_SERVERapplications. Valid values:-
API_KEY: Connect Customer sends an API key that is stored in the Secrets Manager secret that you specify inCredentialProviderIdentifier. -
CONNECT_JWT: Connect Customer issues a short-lived, signed JSON Web Token (JWT). This authentication type doesn't require a stored credential.
- Parameters:
authType- The type of authentication that Connect Customer uses to call the external application endpoint. You must specify an authentication type forA2A_SERVERapplications. Valid values:-
API_KEY: Connect Customer sends an API key that is stored in the Secrets Manager secret that you specify inCredentialProviderIdentifier. -
CONNECT_JWT: Connect Customer issues a short-lived, signed JSON Web Token (JWT). This authentication type doesn't require a stored credential.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
authType
The type of authentication that Connect Customer uses to call the external application endpoint. You must specify an authentication type for
A2A_SERVERapplications. Valid values:-
API_KEY: Connect Customer sends an API key that is stored in the Secrets Manager secret that you specify inCredentialProviderIdentifier. -
CONNECT_JWT: Connect Customer issues a short-lived, signed JSON Web Token (JWT). This authentication type doesn't require a stored credential.
- Parameters:
authType- The type of authentication that Connect Customer uses to call the external application endpoint. You must specify an authentication type forA2A_SERVERapplications. Valid values:-
API_KEY: Connect Customer sends an API key that is stored in the Secrets Manager secret that you specify inCredentialProviderIdentifier. -
CONNECT_JWT: Connect Customer issues a short-lived, signed JSON Web Token (JWT). This authentication type doesn't require a stored credential.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
credentialProviderIdentifier
The ARN of the Secrets Manager secret that stores the credentials. The secret must be accessible to Connect Customer.
You must specify this ARN when
AuthTypeisAPI_KEY. Don't specify it whenAuthTypeisCONNECT_JWT.- Parameters:
credentialProviderIdentifier- The ARN of the Secrets Manager secret that stores the credentials. The secret must be accessible to Connect Customer.You must specify this ARN when
AuthTypeisAPI_KEY. Don't specify it whenAuthTypeisCONNECT_JWT.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
audienceOverride
The value that Connect Customer uses as the audience (
aud) claim of the JSON Web Token (JWT) that it issues. You can specify this parameter only whenAuthTypeisCONNECT_JWT. If you don't specify it, the audience is theAccessUrlof the application. The value can't containconnect.amazonaws.com.- Parameters:
audienceOverride- The value that Connect Customer uses as the audience (aud) claim of the JSON Web Token (JWT) that it issues. You can specify this parameter only whenAuthTypeisCONNECT_JWT. If you don't specify it, the audience is theAccessUrlof the application. The value can't containconnect.amazonaws.com.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-