Class Connection
(experimental) An AWS Glue connection to a data source.
Inherited Members
Namespace: Amazon.CDK.AWS.Glue
Assembly: Amazon.CDK.AWS.Glue.dll
Syntax (csharp)
public class Connection : Resource, IConnection, IResource, IConstruct, IDependable
Syntax (vb)
Public Class Connection
Inherits Resource
Implements IConnection, IResource, IConstruct, IDependable
Remarks
Stability: Experimental
ExampleMetadata: infused
Examples
SecurityGroup securityGroup;
Subnet subnet;
new Connection(this, "MyConnection", new ConnectionProps {
Type = ConnectionType.NETWORK,
// The security groups granting AWS Glue inbound access to the data source within the VPC
SecurityGroups = new [] { securityGroup },
// The VPC subnet which contains the data source
Subnet = subnet
});
Synopsis
Constructors
Connection(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
Connection(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Connection(Construct, String, IConnectionProps) |
Properties
ConnectionArn | (experimental) The ARN of the connection. |
ConnectionName | (experimental) The name of the connection. |
Methods
AddProperty(String, String) | (experimental) Add additional connection parameters. |
FromConnectionArn(Construct, String, String) | (experimental) Creates a Connection construct that represents an external connection. |
FromConnectionName(Construct, String, String) | (experimental) Creates a Connection construct that represents an external connection. |
Constructors
Connection(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected Connection(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
Connection(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected Connection(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Connection(Construct, String, IConnectionProps)
public Connection(Construct scope, string id, IConnectionProps props)
Parameters
- scope Constructs.Construct
- id System.String
- props IConnectionProps
Remarks
Stability: Experimental
Properties
ConnectionArn
(experimental) The ARN of the connection.
public virtual string ConnectionArn { get; }
Property Value
System.String
Remarks
Stability: Experimental
ConnectionName
(experimental) The name of the connection.
public virtual string ConnectionName { get; }
Property Value
System.String
Remarks
Stability: Experimental
Methods
AddProperty(String, String)
(experimental) Add additional connection parameters.
public virtual void AddProperty(string key, string value)
Parameters
- key System.String
parameter key.
- value System.String
parameter value.
Remarks
Stability: Experimental
FromConnectionArn(Construct, String, String)
(experimental) Creates a Connection construct that represents an external connection.
public static IConnection FromConnectionArn(Construct scope, string id, string connectionArn)
Parameters
- scope Constructs.Construct
The scope creating construct (usually
this
).- id System.String
The construct's id.
- connectionArn System.String
arn of external connection.
Returns
Remarks
Stability: Experimental
FromConnectionName(Construct, String, String)
(experimental) Creates a Connection construct that represents an external connection.
public static IConnection FromConnectionName(Construct scope, string id, string connectionName)
Parameters
- scope Constructs.Construct
The scope creating construct (usually
this
).- id System.String
The construct's id.
- connectionName System.String
name of external connection.
Returns
Remarks
Stability: Experimental