AWS::Glue::Connection
The
AWS::Glue::Connection resource specifies an AWS Glue connection to a data source. For more information,
see Adding a Connection to Your Data Store and Connection Structure in the
AWS Glue Developer Guide.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "Type" : "AWS::Glue::Connection", "Properties" : { "ConnectionInput" : ConnectionInput, "CatalogId" :String} }
YAML
Type: AWS::Glue::Connection Properties: ConnectionInput: ConnectionInput CatalogId:String
Properties
ConnectionInput-
The connection that you want to create.
Required: Yes
Type: ConnectionInput
Update requires: No interruption
CatalogId-
The ID of the data catalog to create the catalog object in. Currently, this should be the AWS account ID.
Note
To specify the account ID, you can use the
Refintrinsic function with theAWS::AccountIdpseudo parameter—for example!Ref AWS::AccountId.Required: Yes
Type: String
Update requires: No interruption
Return Values
Ref
When the logical ID of this resource is provided to the Ref intrinsic
function, Ref returns the ConnectionInput name.
For more information about using the
Ref function, see
Ref.
