Skip to main content

connectors

Creates, updates, deletes, gets or lists a connectors resource.

Overview​

Nameconnectors
TypeResource
Idaws.config.connectors

Fields​

The following fields are returned by SELECT queries:

NameDatatypeDescription
namestringThe name of the connector.
arnstringThe Amazon Resource Name (ARN) of the connector.
created_timestring (date-time)The date and time that the connector was created.
providerstringThe third-party cloud service provider. Currently, AZURE is supported. (AZURE)
tenant_identifierstringThe Azure tenant identifier for the connector.

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_connectorsselectregionReturns a list of connectors depending on the filters you specify.
put_connectorreplaceregion, ConnectorConfigurationCreates a connector that specifies the connection between a third-party cloud service provider and Config. A connector is required to create a service-linked configuration recorder for a third-party cloud service provider using the PutThirdPartyServiceLinkedConfigurationRecorder operation. This API creates a service-linked role AWSServiceRoleForConfigThirdParty in your account. The service-linked role is created only when the role does not exist in your account. Connectors cannot be updated To update the connector configuration, you must delete all associated configuration recorders, delete the connector, and recreate it with the updated configuration. Tags are added at creation and cannot be updated with this operation Use TagResource and UntagResource to update tags after creation.
delete_connectordeleteregionDeletes the specified connector.
get_connectorexecregionReturns the details of the specified connector.

Parameters​

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples​

Returns a list of connectors depending on the filters you specify.

SELECT
name,
arn,
created_time,
provider,
tenant_identifier
FROM aws.config.connectors
WHERE region = '{{ region }}' -- required
;

REPLACE examples​

Creates a connector that specifies the connection between a third-party cloud service provider and Config. A connector is required to create a service-linked configuration recorder for a third-party cloud service provider using the PutThirdPartyServiceLinkedConfigurationRecorder operation. This API creates a service-linked role AWSServiceRoleForConfigThirdParty in your account. The service-linked role is created only when the role does not exist in your account. Connectors cannot be updated To update the connector configuration, you must delete all associated configuration recorders, delete the connector, and recreate it with the updated configuration. Tags are added at creation and cannot be updated with this operation Use TagResource and UntagResource to update tags after creation.

REPLACE aws.config.connectors
SET
ConnectorConfiguration = '{{ ConnectorConfiguration }}',
Tags = '{{ Tags }}'
WHERE
region = '{{ region }}' --required
AND ConnectorConfiguration = '{{ ConnectorConfiguration }}' --required
RETURNING
arn;

DELETE examples​

Deletes the specified connector.

DELETE FROM aws.config.connectors
WHERE region = '{{ region }}' --required
;

Lifecycle Methods​

Returns the details of the specified connector.

EXEC aws.config.connectors.get_connector
@region='{{ region }}' --required
@@json=
'{
"Arn": "{{ Arn }}"
}'
;