Class ConnectionProps
(experimental) Construction properties for Connection
.
Inheritance
Namespace: Amazon.CDK.AWS.Glue.Alpha
Assembly: Amazon.CDK.AWS.Glue.Alpha.dll
Syntax (csharp)
public class ConnectionProps : Object, IConnectionProps, IConnectionOptions
Syntax (vb)
Public Class ConnectionProps
Inherits Object
Implements IConnectionProps, IConnectionOptions
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
ConnectionProps() |
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. |
Type | (experimental) The type of the connection. |
Constructors
ConnectionProps()
public ConnectionProps()
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
Type
(experimental) The type of the connection.
public ConnectionType Type { get; set; }
Property Value
Remarks
Stability: Experimental