Interface CfnConnectionProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnConnectionProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-29T11:15:34.868Z")
@Stability(Stable)
public interface CfnConnectionProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnConnection.
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.codeconnections.*;
CfnConnectionProps cfnConnectionProps = CfnConnectionProps.builder()
.connectionName("connectionName")
// the properties below are optional
.hostArn("hostArn")
.providerType("providerType")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnConnectionPropsstatic final classAn implementation forCfnConnectionProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnConnectionProps.Builderbuilder()The name of the connection.default StringThe Amazon Resource Name (ARN) of the host associated with the connection.default StringThe name of the external provider where your third-party code repository is configured.getTags()Specifies the tags applied to a connection.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getConnectionName
The name of the connection.Connection names must be unique in an AWS account .
- See Also:
-
getHostArn
The Amazon Resource Name (ARN) of the host associated with the connection.- See Also:
-
getProviderType
The name of the external provider where your third-party code repository is configured.- See Also:
-
getTags
Specifies the tags applied to a connection.- See Also:
-
builder
- Returns:
- a
CfnConnectionProps.BuilderofCfnConnectionProps
-