Create Connection
| glue_create_connection | R Documentation |
Creates a connection definition in the Data Catalog¶
Description¶
Creates a connection definition in the Data Catalog.
Connections used for creating federated resources require the IAM
glue:PassConnection permission.
Usage¶
Arguments¶
CatalogIdThe ID of the Data Catalog in which to create the connection. If none is provided, the Amazon Web Services account ID is used by default.
ConnectionInput[required] A
ConnectionInputobject defining the connection to create.TagsThe tags you assign to the connection.
Value¶
A list with the following syntax:
Request syntax¶
svc$create_connection(
CatalogId = "string",
ConnectionInput = list(
Name = "string",
Description = "string",
ConnectionType = "JDBC"|"SFTP"|"MONGODB"|"KAFKA"|"NETWORK"|"MARKETPLACE"|"CUSTOM"|"SALESFORCE"|"VIEW_VALIDATION_REDSHIFT"|"VIEW_VALIDATION_ATHENA",
MatchCriteria = list(
"string"
),
ConnectionProperties = list(
"string"
),
PhysicalConnectionRequirements = list(
SubnetId = "string",
SecurityGroupIdList = list(
"string"
),
AvailabilityZone = "string"
),
AuthenticationConfiguration = list(
AuthenticationType = "BASIC"|"OAUTH2"|"CUSTOM",
SecretArn = "string",
OAuth2Properties = list(
OAuth2GrantType = "AUTHORIZATION_CODE"|"CLIENT_CREDENTIALS"|"JWT_BEARER",
OAuth2ClientApplication = list(
UserManagedClientApplicationClientId = "string",
AWSManagedClientApplicationReference = "string"
),
TokenUrl = "string",
TokenUrlParametersMap = list(
"string"
),
AuthorizationCodeProperties = list(
AuthorizationCode = "string",
RedirectUri = "string"
)
)
),
ValidateCredentials = TRUE|FALSE
),
Tags = list(
"string"
)
)