CfnConnectionProps

class aws_cdk.aws_glue.CfnConnectionProps(*, catalog_id, connection_input)

Bases: object

Properties for defining a CfnConnection.

Parameters:
  • catalog_id (str) – The ID of the data catalog to create the catalog object in. Currently, this should be the AWS account ID. .. epigraph:: To specify the account ID, you can use the Ref intrinsic function with the AWS::AccountId pseudo parameter. For example: !Ref AWS::AccountId .

  • connection_input (Union[IResolvable, ConnectionInputProperty, Dict[str, Any]]) – The connection that you want to create.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-connection.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_glue as glue

# connection_properties: Any

cfn_connection_props = glue.CfnConnectionProps(
    catalog_id="catalogId",
    connection_input=glue.CfnConnection.ConnectionInputProperty(
        connection_type="connectionType",

        # the properties below are optional
        connection_properties=connection_properties,
        description="description",
        match_criteria=["matchCriteria"],
        name="name",
        physical_connection_requirements=glue.CfnConnection.PhysicalConnectionRequirementsProperty(
            availability_zone="availabilityZone",
            security_group_id_list=["securityGroupIdList"],
            subnet_id="subnetId"
        )
    )
)

Attributes

catalog_id

The ID of the data catalog to create the catalog object in.

Currently, this should be the AWS account ID. .. epigraph:

To specify the account ID, you can use the ``Ref`` intrinsic function with the ``AWS::AccountId`` pseudo parameter. For example: ``!Ref AWS::AccountId`` .
Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-connection.html#cfn-glue-connection-catalogid

connection_input

The connection that you want to create.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-connection.html#cfn-glue-connection-connectioninput