Show / Hide Table of Contents

Class ConnectionProps

(deprecated) Construction properties for Connection.

Inheritance
object
ConnectionProps
Implements
IConnectionProps
IConnectionOptions
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.Glue.Alpha
Assembly: Amazon.CDK.AWS.Glue.Alpha.dll
Syntax (csharp)
public class ConnectionProps : IConnectionProps, IConnectionOptions
Syntax (vb)
Public Class ConnectionProps Implements IConnectionProps, IConnectionOptions
Remarks

Stability: Deprecated

ExampleMetadata: infused

Examples
SecurityGroup securityGroup;
             Vpc vpc;

             new Connection(this, "MyConnection", new ConnectionProps {
                 Type = ConnectionType.NETWORK,
                 SecurityGroups = new [] { securityGroup },
                 // vpcSubnets is optional - defaults to private subnets
                 Network = ConnectionNetwork.Vpc(vpc, new SubnetSelection { SubnetType = SubnetType.PRIVATE_WITH_EGRESS })
             });

Synopsis

Constructors

ConnectionProps()

(deprecated) Construction properties for Connection.

Properties

ConnectionName

(deprecated) The name of the connection.

Description

(deprecated) The description of the connection.

MatchCriteria

(deprecated) A list of criteria that can be used in selecting this connection.

Network

(deprecated) The VPC network placement for this connection, so it can reach resources inside a VPC. See more at https://docs.aws.amazon.com/glue/latest/dg/start-connecting.html.

Properties

(deprecated) Key-Value pairs that define parameters for the connection.

Secret

(deprecated) A reference to a Secrets Manager secret holding the credentials for this connection.

SecurityGroups

(deprecated) The list of security groups needed to successfully make this connection e.g. to successfully connect to VPC.

Type

(deprecated) The type of the connection.

Constructors

ConnectionProps()

(deprecated) Construction properties for Connection.

public ConnectionProps()
Remarks

Stability: Deprecated

ExampleMetadata: infused

Examples
SecurityGroup securityGroup;
             Vpc vpc;

             new Connection(this, "MyConnection", new ConnectionProps {
                 Type = ConnectionType.NETWORK,
                 SecurityGroups = new [] { securityGroup },
                 // vpcSubnets is optional - defaults to private subnets
                 Network = ConnectionNetwork.Vpc(vpc, new SubnetSelection { SubnetType = SubnetType.PRIVATE_WITH_EGRESS })
             });

Properties

ConnectionName

(deprecated) The name of the connection.

[Obsolete]
public string? ConnectionName { get; set; }
Property Value

string

Remarks

Default: cloudformation generated name

Stability: Deprecated

Description

(deprecated) The description of the connection.

[Obsolete]
public string? Description { get; set; }
Property Value

string

Remarks

Default: no description

Stability: Deprecated

MatchCriteria

(deprecated) A list of criteria that can be used in selecting this connection.

[Obsolete]
public string[]? MatchCriteria { get; set; }
Property Value

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: Deprecated

Network

(deprecated) The VPC network placement for this connection, so it can reach resources inside a VPC. See more at https://docs.aws.amazon.com/glue/latest/dg/start-connecting.html.

[Obsolete]
public ConnectionNetwork? Network { get; set; }
Property Value

ConnectionNetwork

Remarks

Build it with ConnectionNetwork.subnet(subnet) to pin a specific subnet, or ConnectionNetwork.vpc(vpc, vpcSubnets?) to let the CDK select one.

Default: - no VPC network placement

Stability: Deprecated

Properties

(deprecated) Key-Value pairs that define parameters for the connection.

[Obsolete]
public IDictionary<string, string>? Properties { get; set; }
Property Value

IDictionary<string, string>

Remarks

Default: empty properties

Stability: Deprecated

See: https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-etl-connect.html

Secret

(deprecated) A reference to a Secrets Manager secret holding the credentials for this connection.

[Obsolete]
public ISecretRef? Secret { get; set; }
Property Value

ISecretRef

Remarks

The secret is referenced through the connection's SECRET_ID property, so Glue reads the credentials at runtime and the secret value never appears in the synthesized template. Prefer this over placing credentials directly in properties. Accepts any secretsmanager.ISecret.

Default: - no secret; any credentials must be supplied via properties

Stability: Deprecated

SecurityGroups

(deprecated) The list of security groups needed to successfully make this connection e.g. to successfully connect to VPC.

[Obsolete]
public ISecurityGroup[]? SecurityGroups { get; set; }
Property Value

ISecurityGroup[]

Remarks

Default: no security group

Stability: Deprecated

Type

(deprecated) The type of the connection.

[Obsolete]
public ConnectionType Type { get; set; }
Property Value

ConnectionType

Remarks

Stability: Deprecated

Implements

IConnectionProps
IConnectionOptions
Back to top Generated by DocFX