Class ConnectionOptions
(experimental) Base Connection Options.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.Glue
Assembly: Amazon.CDK.AWS.Glue.dll
Syntax (csharp)
public class ConnectionOptions : Object, IConnectionOptions
Syntax (vb)
Public Class ConnectionOptions
Inherits Object
Implements IConnectionOptions
Remarks
Stability: Experimental
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.EC2;
using Amazon.CDK.AWS.Glue;
SecurityGroup securityGroup;
Subnet subnet;
var connectionOptions = new ConnectionOptions {
ConnectionName = "connectionName",
Description = "description",
MatchCriteria = new [] { "matchCriteria" },
Properties = new Dictionary<string, string> {
{ "propertiesKey", "properties" }
},
SecurityGroups = new [] { securityGroup },
Subnet = subnet
};
Synopsis
Constructors
ConnectionOptions() |
Properties
ConnectionName | (experimental) The name of the connection. |
Description | (experimental) The description of the connection. |
MatchCriteria | (experimental) A list of criteria that can be used in selecting this connection. |
Properties | (experimental) Key-Value pairs that define parameters for the connection. |
SecurityGroups | (experimental) The list of security groups needed to successfully make this connection e.g. to successfully connect to VPC. |
Subnet | (experimental) The VPC subnet to connect to resources within a VPC. |
Constructors
ConnectionOptions()
public ConnectionOptions()
Properties
ConnectionName
(experimental) The name of the connection.
public string ConnectionName { get; set; }
Property Value
System.String
Remarks
Default: cloudformation generated name
Stability: Experimental
Description
(experimental) The description of the connection.
public string Description { get; set; }
Property Value
System.String
Remarks
Default: no description
Stability: Experimental
MatchCriteria
(experimental) A list of criteria that can be used in selecting this connection.
public string[] MatchCriteria { get; set; }
Property Value
System.String[]
Remarks
This is useful for filtering the results of https://awscli.amazonaws.com/v2/documentation/api/latest/reference/glue/get-connections.html
Default: no match criteria
Stability: Experimental
Properties
(experimental) Key-Value pairs that define parameters for the connection.
public IDictionary<string, string> Properties { get; set; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.String>
Remarks
Default: empty properties
Stability: Experimental
See: https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-etl-connect.html
SecurityGroups
(experimental) The list of security groups needed to successfully make this connection e.g. to successfully connect to VPC.
public ISecurityGroup[] SecurityGroups { get; set; }
Property Value
Remarks
Default: no security group
Stability: Experimental
Subnet
(experimental) The VPC subnet to connect to resources within a VPC.
public ISubnet Subnet { get; set; }
Property Value
Remarks
See more at https://docs.aws.amazon.com/glue/latest/dg/start-connecting.html.
Default: no subnet
Stability: Experimental