ConnectionType Class
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').
| CloudFormation | AWS::Glue::ConnectionType |
|---|---|
| L1 type | CfnConnectionType |
| Source | aws-glue/lib/connection.ts |
| Type last changed |
Example
ts
declare const securityGroup: ec2.SecurityGroup;
declare const vpc: ec2.Vpc;
new glue.Connection(this, 'MyConnection', {
type: glue.ConnectionType.NETWORK,
securityGroups: [securityGroup],
// vpcSubnets is optional - defaults to private subnets
network: glue.ConnectionNetwork.vpc(vpc, { subnetType: ec2.SubnetType.PRIVATE_WITH_EGRESS }),
});
python
# security_group: ec2.SecurityGroup
# vpc: ec2.Vpc
glue.Connection(self, "MyConnection",
type=glue.ConnectionType.NETWORK,
security_groups=[security_group],
# vpcSubnets is optional - defaults to private subnets
network=glue.ConnectionNetwork.vpc(vpc, subnet_type=ec2.SubnetType.PRIVATE_WITH_EGRESS)
)
java
SecurityGroup securityGroup;
Vpc vpc;
Connection.Builder.create(this, "MyConnection")
.type(ConnectionType.NETWORK)
.securityGroups(List.of(securityGroup))
// vpcSubnets is optional - defaults to private subnets
.network(ConnectionNetwork.vpc(vpc, SubnetSelection.builder().subnetType(SubnetType.PRIVATE_WITH_EGRESS).build()))
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
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 })
});
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
var securityGroup SecurityGroup
var vpc Vpc
glue.NewConnection(this, jsii.String("MyConnection"), &ConnectionProps{
Type: glue.ConnectionType_NETWORK(),
SecurityGroups: []ISecurityGroup{
securityGroup,
},
// vpcSubnets is optional - defaults to private subnets
Network: glue.ConnectionNetwork_Vpc(vpc, &SubnetSelection{
SubnetType: ec2.SubnetType_PRIVATE_WITH_EGRESS,
}),
})
Initializer
ts
new ConnectionType(name: string)
python
ConnectionType(name: str)
java
new ConnectionType(String name)
csharp
new ConnectionType(string name)
go
NewConnectionType(Name *string)
Properties
AZURECOSMOSConnectionTypeAZURECOSMOSConnectionTypeAZURECOSMOSConnectionTypeAZURECOSMOSConnectionTypeAZURECOSMOSConnectionType static #Designates a connection to Azure Cosmos DB.
AZURESQLConnectionTypeAZURESQLConnectionTypeAZURESQLConnectionTypeAZURESQLConnectionTypeAZURESQLConnectionType static #Designates a connection to Azure SQL Database.
BIGQUERYConnectionTypeBIGQUERYConnectionTypeBIGQUERYConnectionTypeBIGQUERYConnectionTypeBIGQUERYConnectionType static #Designates a connection to Google BigQuery.
CUSTOMConnectionTypeCUSTOMConnectionTypeCUSTOMConnectionTypeCUSTOMConnectionTypeCUSTOMConnectionType static #Uses configuration settings contained in a custom connector to read from and write to data stores that are not natively supported by AWS Glue.
DYNAMODBConnectionTypeDYNAMODBConnectionTypeDYNAMODBConnectionTypeDYNAMODBConnectionTypeDYNAMODBConnectionType static #Designates a connection to Amazon DynamoDB.
FACEBOOKADSConnectionTypeFACEBOOKADSConnectionTypeFACEBOOKADSConnectionTypeFACEBOOKADSConnectionTypeFACEBOOKADSConnectionType static #Designates a connection to Facebook Ads.
GOOGLEADSConnectionTypeGOOGLEADSConnectionTypeGOOGLEADSConnectionTypeGOOGLEADSConnectionTypeGOOGLEADSConnectionType static #Designates a connection to Google Ads.
GOOGLEANALYTICS4ConnectionTypeGOOGLEANALYTICS4ConnectionTypeGOOGLEANALYTICS4ConnectionTypeGOOGLEANALYTICS4ConnectionTypeGOOGLEANALYTICS4ConnectionType static #Designates a connection to Google Analytics 4.
GOOGLESHEETSConnectionTypeGOOGLESHEETSConnectionTypeGOOGLESHEETSConnectionTypeGOOGLESHEETSConnectionTypeGOOGLESHEETSConnectionType static #Designates a connection to Google Sheets.
HUBSPOTConnectionTypeHUBSPOTConnectionTypeHUBSPOTConnectionTypeHUBSPOTConnectionTypeHUBSPOTConnectionType static #Designates a connection to HubSpot.
INSTAGRAMADSConnectionTypeINSTAGRAMADSConnectionTypeINSTAGRAMADSConnectionTypeINSTAGRAMADSConnectionTypeINSTAGRAMADSConnectionType static #Designates a connection to Instagram Ads.
INTERCOMConnectionTypeINTERCOMConnectionTypeINTERCOMConnectionTypeINTERCOMConnectionTypeINTERCOMConnectionType static #Designates a connection to Intercom.
Designates a connection to a database through Java Database Connectivity (JDBC).
JIRACLOUDConnectionTypeJIRACLOUDConnectionTypeJIRACLOUDConnectionTypeJIRACLOUDConnectionTypeJIRACLOUDConnectionType static #Designates a connection to Jira Cloud.
KAFKAConnectionTypeKAFKAConnectionTypeKAFKAConnectionTypeKAFKAConnectionTypeKAFKAConnectionType static #Designates a connection to an Apache Kafka streaming platform.
MARKETOConnectionTypeMARKETOConnectionTypeMARKETOConnectionTypeMARKETOConnectionTypeMARKETOConnectionType static #Designates a connection to Adobe Marketo Engage.
MARKETPLACEConnectionTypeMARKETPLACEConnectionTypeMARKETPLACEConnectionTypeMARKETPLACEConnectionTypeMARKETPLACEConnectionType static #Uses configuration settings contained in a connector purchased from AWS Marketplace to read from and write to data stores that are not natively supported by AWS Glue.
MONGODBConnectionTypeMONGODBConnectionTypeMONGODBConnectionTypeMONGODBConnectionTypeMONGODBConnectionType static #Designates a connection to a MongoDB document database.
MYSQLConnectionTypeMYSQLConnectionTypeMYSQLConnectionTypeMYSQLConnectionTypeMYSQLConnectionType static #Designates a connection to MySQL.
The name of this ConnectionType, as expected by Connection resource.
NETSUITEERPConnectionTypeNETSUITEERPConnectionTypeNETSUITEERPConnectionTypeNETSUITEERPConnectionTypeNETSUITEERPConnectionType static #Designates a connection to Oracle NetSuite.
NETWORKConnectionTypeNETWORKConnectionTypeNETWORKConnectionTypeNETWORKConnectionTypeNETWORKConnectionType static #Designates a network connection to a data source within an Amazon Virtual Private Cloud environment (Amazon VPC).
OPENSEARCHConnectionTypeOPENSEARCHConnectionTypeOPENSEARCHConnectionTypeOPENSEARCHConnectionTypeOPENSEARCHConnectionType static #Designates a connection to Amazon OpenSearch Service.
ORACLEConnectionTypeORACLEConnectionTypeORACLEConnectionTypeORACLEConnectionTypeORACLEConnectionType static #Designates a connection to Oracle Database.
POSTGRESQLConnectionTypePOSTGRESQLConnectionTypePOSTGRESQLConnectionTypePOSTGRESQLConnectionTypePOSTGRESQLConnectionType static #Designates a connection to PostgreSQL.
SALESFORCEConnectionTypeSALESFORCEConnectionTypeSALESFORCEConnectionTypeSALESFORCEConnectionTypeSALESFORCEConnectionType static #Designates a connection to Salesforce using OAuth authentication.
SALESFORCEMARKETINGCLOUDConnectionTypeSALESFORCEMARKETINGCLOUDConnectionTypeSALESFORCEMARKETINGCLOUDConnectionTypeSALESFORCEMARKETINGCLOUDConnectionTypeSALESFORCEMARKETINGCLOUDConnectionType static #Designates a connection to Salesforce Marketing Cloud.
SALESFORCEPARDOTConnectionTypeSALESFORCEPARDOTConnectionTypeSALESFORCEPARDOTConnectionTypeSALESFORCEPARDOTConnectionTypeSALESFORCEPARDOTConnectionType static #Designates a connection to Salesforce Marketing Cloud Account Engagement (MCAE).
SAPHANAConnectionTypeSAPHANAConnectionTypeSAPHANAConnectionTypeSAPHANAConnectionTypeSAPHANAConnectionType static #Designates a connection to SAP HANA.
SAPODATAConnectionTypeSAPODATAConnectionTypeSAPODATAConnectionTypeSAPODATAConnectionTypeSAPODATAConnectionType static #Designates a connection to SAP OData.
SERVICENOWConnectionTypeSERVICENOWConnectionTypeSERVICENOWConnectionTypeSERVICENOWConnectionTypeSERVICENOWConnectionType static #Designates a connection to ServiceNow.
SLACKConnectionTypeSLACKConnectionTypeSLACKConnectionTypeSLACKConnectionTypeSLACKConnectionType static #Designates a connection to Slack.
SNAPCHATADSConnectionTypeSNAPCHATADSConnectionTypeSNAPCHATADSConnectionTypeSNAPCHATADSConnectionTypeSNAPCHATADSConnectionType static #Designates a connection to Snapchat Ads.
SQLSERVERConnectionTypeSQLSERVERConnectionTypeSQLSERVERConnectionTypeSQLSERVERConnectionTypeSQLSERVERConnectionType static #Designates a connection to Microsoft SQL Server.
STRIPEConnectionTypeSTRIPEConnectionTypeSTRIPEConnectionTypeSTRIPEConnectionTypeSTRIPEConnectionType static #Designates a connection to Stripe.
TERADATAConnectionTypeTERADATAConnectionTypeTERADATAConnectionTypeTERADATAConnectionTypeTERADATAConnectionType static #Designates a connection to Teradata.
VERTICAConnectionTypeVERTICAConnectionTypeVERTICAConnectionTypeVERTICAConnectionTypeVERTICAConnectionType static #Designates a connection to Vertica.
VIEW_VALIDATION_ATHENAConnectionTypeVIEW_VALIDATION_ATHENAConnectionTypeVIEW_VALIDATION_ATHENAConnectionTypeVIEW_VALIDATION_ATHENAConnectionTypeVIEW_VALIDATION_ATHENAConnectionType static #Designates a connection used for view validation by Amazon Athena.
VIEW_VALIDATION_REDSHIFTConnectionTypeVIEW_VALIDATION_REDSHIFTConnectionTypeVIEW_VALIDATION_REDSHIFTConnectionTypeVIEW_VALIDATION_REDSHIFTConnectionTypeVIEW_VALIDATION_REDSHIFTConnectionType static #Designates a connection used for view validation by Amazon Redshift.
ZENDESKConnectionTypeZENDESKConnectionTypeZENDESKConnectionTypeZENDESKConnectionTypeZENDESKConnectionType static #Designates a connection to Zendesk.
ZOHOCRMConnectionTypeZOHOCRMConnectionTypeZOHOCRMConnectionTypeZOHOCRMConnectionTypeZOHOCRMConnectionType static #Designates a connection to Zoho CRM.
Methods
toString(): stringdef to_string(self, ) -> strpublic String toString()public string ToString()func ToString() *string #The connection type name as expected by Connection resource.