Interface CfnReplicator.KafkaClusterSaslOAuthBearerAuthenticationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnReplicator.KafkaClusterSaslOAuthBearerAuthenticationProperty.Jsii$Proxy
- Enclosing class:
CfnReplicator
@Stability(Stable)
public static interface CfnReplicator.KafkaClusterSaslOAuthBearerAuthenticationProperty
extends software.amazon.jsii.JsiiSerializable
Details for client authentication using SASL/OAUTHBEARER.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.msk.*;
KafkaClusterSaslOAuthBearerAuthenticationProperty kafkaClusterSaslOAuthBearerAuthenticationProperty = KafkaClusterSaslOAuthBearerAuthenticationProperty.builder()
.tokenEndpointAuthenticationMethod("tokenEndpointAuthenticationMethod")
.tokenEndpointUrl("tokenEndpointUrl")
// the properties below are optional
.clientCredentials(KafkaClusterOAuthClientCredentialsProperty.builder()
.tokenRequestSecretArn("tokenRequestSecretArn")
.build())
.clientCredentialsAssertion(KafkaClusterOAuthClientCredentialsAssertionProperty.builder()
.audience("audience")
.signingAlgorithm("signingAlgorithm")
// the properties below are optional
.tokenRequestSecretArn("tokenRequestSecretArn")
.build())
.iamJwtBearer(KafkaClusterOAuthIamJwtBearerProperty.builder()
.audience("audience")
.signingAlgorithm("signingAlgorithm")
// the properties below are optional
.tokenRequestSecretArn("tokenRequestSecretArn")
.build())
.scope("scope")
.tokenEndpointTlsCertificateArn("tokenEndpointTlsCertificateArn")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnReplicator.KafkaClusterSaslOAuthBearerAuthenticationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectDetails for SASL/OAUTHBEARER using the standard client_credentials grant.default ObjectDetails for SASL/OAUTHBEARER using the client credentials grant with a JWT client assertion (RFC 7521/7523 Section 2.2).default ObjectDetails for SASL/OAUTHBEARER using the JWT Bearer assertion grant (RFC 7523).default StringgetScope()OAuth scope to request.How client credentials are sent to the identity provider's token endpoint.default StringSecrets Manager ARN containing a custom CA certificate for the identity provider.The HTTPS URL of the OAuth token endpoint that vends OAuth Bearer tokens per RFC 6749.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getTokenEndpointAuthenticationMethod
How client credentials are sent to the identity provider's token endpoint.- See Also:
-
getTokenEndpointUrl
The HTTPS URL of the OAuth token endpoint that vends OAuth Bearer tokens per RFC 6749.- See Also:
-
getClientCredentials
Details for SASL/OAUTHBEARER using the standard client_credentials grant.The referenced secret must contain client_id and client_secret.
Returns union: either
IResolvableorCfnReplicator.KafkaClusterOAuthClientCredentialsProperty- See Also:
-
getClientCredentialsAssertion
Details for SASL/OAUTHBEARER using the client credentials grant with a JWT client assertion (RFC 7521/7523 Section 2.2). An STS-vended JWT is used as the client_assertion.Returns union: either
IResolvableorCfnReplicator.KafkaClusterOAuthClientCredentialsAssertionProperty- See Also:
-
getIamJwtBearer
Details for SASL/OAUTHBEARER using the JWT Bearer assertion grant (RFC 7523).An STS-vended JWT is used as the assertion.
Returns union: either
IResolvableorCfnReplicator.KafkaClusterOAuthIamJwtBearerProperty- See Also:
-
getScope
OAuth scope to request.Included in the token request if provided.
- See Also:
-
getTokenEndpointTlsCertificateArn
Secrets Manager ARN containing a custom CA certificate for the identity provider.Required only if the identity provider uses a private CA.
- See Also:
-
builder
@Stability(Stable) static CfnReplicator.KafkaClusterSaslOAuthBearerAuthenticationProperty.Builder builder()
-