@Stability(value=Stable)
public static interface CfnConnection.AuthParametersProperty
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.*;
AuthParametersProperty authParametersProperty = AuthParametersProperty.builder()
.apiKeyAuthParameters(ApiKeyAuthParametersProperty.builder()
.apiKeyName("apiKeyName")
.apiKeyValue("apiKeyValue")
.build())
.basicAuthParameters(BasicAuthParametersProperty.builder()
.password("password")
.username("username")
.build())
.invocationHttpParameters(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())
.oAuthParameters(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())
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnConnection.AuthParametersProperty.Builder
A builder for
CfnConnection.AuthParametersProperty |
static class |
CfnConnection.AuthParametersProperty.Jsii$Proxy
An implementation for
CfnConnection.AuthParametersProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnConnection.AuthParametersProperty.Builder |
builder() |
default Object |
getApiKeyAuthParameters()
The API Key parameters to use for authorization.
|
default Object |
getBasicAuthParameters()
The authorization parameters for Basic authorization.
|
default Object |
getInvocationHttpParameters()
Additional parameters for the connection that are passed through with every invocation to the HTTP endpoint.
|
default Object |
getOAuthParameters()
The OAuth parameters to use for authorization.
|
@Stability(value=Stable) @Nullable default Object getApiKeyAuthParameters()
@Stability(value=Stable) @Nullable default Object getBasicAuthParameters()
@Stability(value=Stable) @Nullable default Object getInvocationHttpParameters()
@Stability(value=Stable) @Nullable default Object getOAuthParameters()
@Stability(value=Stable) static CfnConnection.AuthParametersProperty.Builder builder()
Copyright © 2022. All rights reserved.