Interface CfnConnection.AuthParametersProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnConnection.AuthParametersProperty.Jsii$Proxy
Enclosing class:
CfnConnection

@Stability(Stable) public static interface CfnConnection.AuthParametersProperty extends software.amazon.jsii.JsiiSerializable
Contains the authorization parameters to use for the connection.

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();
 

See Also: