Interface CfnConnectionProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnConnectionProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:29:55.914Z")
@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.codestarconnections.*;
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();
-
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 the resource.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 user account.
-
getHostArn
The Amazon Resource Name (ARN) of the host associated with the connection. -
getProviderType
The name of the external provider where your third-party code repository is configured. -
getTags
Specifies the tags applied to the resource. -
builder
- Returns:
- a
CfnConnectionProps.BuilderofCfnConnectionProps
-