@Stability(value=Stable)
public static interface CfnConnection.OAuthParametersProperty
extends software.amazon.jsii.JsiiSerializable
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.events.*;
OAuthParametersProperty oAuthParametersProperty = OAuthParametersProperty.builder()
.authorizationEndpoint("authorizationEndpoint")
.clientParameters(ClientParametersProperty.builder()
.clientId("clientId")
.clientSecret("clientSecret")
.build())
.httpMethod("httpMethod")
// the properties below are optional
.oAuthHttpParameters(ConnectionHttpParametersProperty.builder()
.bodyParameters(List.of(ParameterProperty.builder()
.key("key")
.value("value")
// the properties below are optional
.isValueSecret(false)
.build()))
.headerParameters(List.of(ParameterProperty.builder()
.key("key")
.value("value")
// the properties below are optional
.isValueSecret(false)
.build()))
.queryStringParameters(List.of(ParameterProperty.builder()
.key("key")
.value("value")
// the properties below are optional
.isValueSecret(false)
.build()))
.build())
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnConnection.OAuthParametersProperty.Builder
A builder for
CfnConnection.OAuthParametersProperty |
static class |
CfnConnection.OAuthParametersProperty.Jsii$Proxy
An implementation for
CfnConnection.OAuthParametersProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnConnection.OAuthParametersProperty.Builder |
builder() |
String |
getAuthorizationEndpoint()
The URL to the authorization endpoint when OAuth is specified as the authorization type.
|
Object |
getClientParameters()
A `CreateConnectionOAuthClientRequestParameters` object that contains the client parameters for OAuth authorization.
|
String |
getHttpMethod()
The method to use for the authorization request.
|
default Object |
getOAuthHttpParameters()
A `ConnectionHttpParameters` object that contains details about the additional parameters to use for the connection.
|
@Stability(value=Stable) @NotNull String getAuthorizationEndpoint()
@Stability(value=Stable) @NotNull Object getClientParameters()
@Stability(value=Stable) @NotNull String getHttpMethod()
@Stability(value=Stable) @Nullable default Object getOAuthHttpParameters()
@Stability(value=Stable) static CfnConnection.OAuthParametersProperty.Builder builder()
Copyright © 2022. All rights reserved.