@Generated(value="jsii-pacmak/1.24.0 (build b722f66)", date="2021-03-11T13:46:44.482Z") @Stability(value=Experimental) public class Connection extends Resource implements IConnection
| Modifier and Type | Class and Description |
|---|---|
static class |
Connection.Builder
(experimental) A fluent builder for
Connection. |
software.amazon.jsii.JsiiObject.InitializationModeIConnection.Jsii$Default, IConnection.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
|
Connection(software.constructs.Construct scope,
String id,
ConnectionProps props) |
protected |
Connection(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
Connection(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
void |
addProperty(String key,
String value)
(experimental) Add additional connection parameters.
|
static IConnection |
fromConnectionArn(software.constructs.Construct scope,
String id,
String connectionArn)
(experimental) Creates a Connection construct that represents an external connection.
|
static IConnection |
fromConnectionName(software.constructs.Construct scope,
String id,
String connectionName)
(experimental) Creates a Connection construct that represents an external connection.
|
String |
getConnectionArn()
(experimental) The ARN of the connection.
|
String |
getConnectionName()
(experimental) The name of the connection.
|
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isResourcegetNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validatejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetNodeprotected Connection(software.amazon.jsii.JsiiObjectRef objRef)
protected Connection(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental)
public Connection(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
ConnectionProps props)
scope - This parameter is required.id - This parameter is required.props - This parameter is required.@Stability(value=Experimental) @NotNull public static IConnection fromConnectionArn(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String connectionArn)
scope - The scope creating construct (usually `this`). This parameter is required.id - The construct's id. This parameter is required.connectionArn - arn of external connection. This parameter is required.@Stability(value=Experimental) @NotNull public static IConnection fromConnectionName(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String connectionName)
scope - The scope creating construct (usually `this`). This parameter is required.id - The construct's id. This parameter is required.connectionName - name of external connection. This parameter is required.@Stability(value=Experimental)
public void addProperty(@NotNull
String key,
@NotNull
String value)
key - parameter key. This parameter is required.value - parameter value. This parameter is required.@Stability(value=Experimental) @NotNull public String getConnectionArn()
getConnectionArn in interface IConnection@Stability(value=Experimental) @NotNull public String getConnectionName()
getConnectionName in interface IConnectionCopyright © 2021. All rights reserved.