ConnectionProps

class aws_cdk.aws_glue_alpha.ConnectionProps(*, connection_name=None, description=None, match_criteria=None, properties=None, security_groups=None, subnet=None, type)

Bases: ConnectionOptions

(experimental) Construction properties for Connection.

Parameters:
  • connection_name (Optional[str]) – (experimental) The name of the connection. Default: cloudformation generated name

  • description (Optional[str]) – (experimental) The description of the connection. Default: no description

  • match_criteria (Optional[Sequence[str]]) – (experimental) A list of criteria that can be used in selecting this connection. 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

  • properties (Optional[Mapping[str, str]]) – (experimental) Key-Value pairs that define parameters for the connection. Default: empty properties

  • security_groups (Optional[Sequence[ISecurityGroup]]) – (experimental) The list of security groups needed to successfully make this connection e.g. to successfully connect to VPC. Default: no security group

  • subnet (Optional[ISubnet]) – (experimental) The VPC subnet to connect to resources within a VPC. See more at https://docs.aws.amazon.com/glue/latest/dg/start-connecting.html. Default: no subnet

  • type (ConnectionType) – (experimental) The type of the connection.

Stability:

experimental

ExampleMetadata:

infused

Example:

# security_group: ec2.SecurityGroup
# subnet: ec2.Subnet

glue.Connection(self, "MyConnection",
    type=glue.ConnectionType.NETWORK,
    # The security groups granting AWS Glue inbound access to the data source within the VPC
    security_groups=[security_group],
    # The VPC subnet which contains the data source
    subnet=subnet
)

Attributes

connection_name

(experimental) The name of the connection.

Default:

cloudformation generated name

Stability:

experimental

description

(experimental) The description of the connection.

Default:

no description

Stability:

experimental

match_criteria

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

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.

Default:

empty properties

See:

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

Stability:

experimental

security_groups

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

Default:

no security group

Stability:

experimental

subnet

(experimental) The VPC subnet to connect to resources within a VPC.

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.

Stability:

experimental