Skip to main content

connectors

Creates, updates, deletes or gets a connector resource or lists connectors in a region

Overview

Nameconnectors
TypeResource
DescriptionResource Type definition for AWS::Transfer::Connector
Idaws.transfer.connectors

Fields

NameDatatypeDescription
access_rolestringSpecifies the access role for the connector.
as2_configobjectConfiguration for an AS2 connector.
sftp_configobjectConfiguration for an SFTP connector.
arnstringSpecifies the unique Amazon Resource Name (ARN) for the connector.
connector_idstringA unique identifier for the connector.
logging_rolestringSpecifies the logging role for the connector.
service_managed_egress_ip_addressesarrayThe list of egress IP addresses of this connector. These IP addresses are assigned automatically when you create the connector.
tagsarrayKey-value pairs that can be used to group and search for connectors. Tags are metadata attached to connectors for any purpose.
urlstringURL for Connector
security_policy_namestringSecurity policy for SFTP Connector
regionstringAWS region.

Methods

NameAccessible byRequired Params
create_resourceINSERTAccessRole, Url, region
delete_resourceDELETEdata__Identifier, region
update_resourceUPDATEdata__Identifier, data__PatchDocument, region
list_resourcesSELECTregion
get_resourceSELECTdata__Identifier, region

SELECT examples

Gets all connectors in a region.

SELECT
region,
access_role,
as2_config,
sftp_config,
arn,
connector_id,
logging_role,
service_managed_egress_ip_addresses,
tags,
url,
security_policy_name
FROM aws.transfer.connectors
WHERE region = 'us-east-1';

Gets all properties from an individual connector.

SELECT
region,
access_role,
as2_config,
sftp_config,
arn,
connector_id,
logging_role,
service_managed_egress_ip_addresses,
tags,
url,
security_policy_name
FROM aws.transfer.connectors
WHERE region = 'us-east-1' AND data__Identifier = '<ConnectorId>';

INSERT example

Use the following StackQL query and manifest file to create a new connector resource, using stack-deploy.

/*+ create */
INSERT INTO aws.transfer.connectors (
AccessRole,
Url,
region
)
SELECT
'{{ AccessRole }}',
'{{ Url }}',
'{{ region }}';

DELETE example

/*+ delete */
DELETE FROM aws.transfer.connectors
WHERE data__Identifier = '<ConnectorId>'
AND region = 'us-east-1';

Permissions

To operate on the connectors resource, the following permissions are required:

Create

transfer:CreateConnector,
transfer:TagResource,
iam:PassRole

Read

transfer:DescribeConnector

Update

transfer:UpdateConnector,
transfer:UnTagResource,
transfer:TagResource,
iam:PassRole

Delete

transfer:DeleteConnector

List

transfer:ListConnectors