ConnectionType
- class aws_cdk.aws_glue.ConnectionType(name)
Bases:
object
(experimental) The type of the glue connection.
If you need to use a connection type that doesn’t exist as a static member, you can instantiate a
ConnectionType
object, e.g:new ConnectionType('NEW_TYPE')
.- 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 )
- Parameters:
name (
str
) –- Stability:
experimental
Methods
- to_string()
(experimental) The connection type name as expected by Connection resource.
- Stability:
experimental
- Return type:
str
Attributes
- JDBC = <aws_cdk.aws_glue.ConnectionType object>
- KAFKA = <aws_cdk.aws_glue.ConnectionType object>
- MONGODB = <aws_cdk.aws_glue.ConnectionType object>
- NETWORK = <aws_cdk.aws_glue.ConnectionType object>
- name
(experimental) The name of this ConnectionType, as expected by Connection resource.
- Stability:
experimental