@Stability(value=Stable) public static final class CfnConnection.Builder extends Object implements software.amazon.jsii.Builder<CfnConnection>
CfnConnection.| Modifier and Type | Method and Description |
|---|---|
CfnConnection.Builder |
authorizationType(String authorizationType)
The type of authorization to use for the connection.
|
CfnConnection.Builder |
authParameters(CfnConnection.AuthParametersProperty authParameters)
A `CreateConnectionAuthRequestParameters` object that contains the authorization parameters to use to authorize with the endpoint.
|
CfnConnection.Builder |
authParameters(IResolvable authParameters)
A `CreateConnectionAuthRequestParameters` object that contains the authorization parameters to use to authorize with the endpoint.
|
CfnConnection |
build() |
static CfnConnection.Builder |
create(software.constructs.Construct scope,
String id) |
CfnConnection.Builder |
description(String description)
A description for the connection to create.
|
CfnConnection.Builder |
name(String name)
The name for the connection to create.
|
@Stability(value=Stable) public static CfnConnection.Builder create(software.constructs.Construct scope, String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.CfnConnection.ApiKeyAuthParametersProperty.Builder.@Stability(value=Stable) public CfnConnection.Builder authorizationType(String authorizationType)
OAUTH tokens are refreshed when a 401 or 407 response is returned.
authorizationType - The type of authorization to use for the connection. This parameter is required.this@Stability(value=Stable) public CfnConnection.Builder authParameters(CfnConnection.AuthParametersProperty authParameters)
authParameters - A `CreateConnectionAuthRequestParameters` object that contains the authorization parameters to use to authorize with the endpoint. This parameter is required.this@Stability(value=Stable) public CfnConnection.Builder authParameters(IResolvable authParameters)
authParameters - A `CreateConnectionAuthRequestParameters` object that contains the authorization parameters to use to authorize with the endpoint. This parameter is required.this@Stability(value=Stable) public CfnConnection.Builder description(String description)
description - A description for the connection to create. This parameter is required.this@Stability(value=Stable) public CfnConnection.Builder name(String name)
name - The name for the connection to create. This parameter is required.this@Stability(value=Stable) public CfnConnection build()
build in interface software.amazon.jsii.Builder<CfnConnection>Copyright © 2022. All rights reserved.