Skip to main content

environment_connectors

Creates, updates, deletes, gets or lists an environment_connectors resource.

Overview

Nameenvironment_connectors
TypeResource
Idaws.evs.environment_connectors

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
appliance_fqdnstringThe fully qualified domain name (FQDN) of the VCF appliance that the connector connects to. (pattern: <code>[a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(.[a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*</code>)
checksarrayA list of checks that are run on the connector.
connector_idstringThe unique ID of the connector. (pattern: <code>(cnctr-[a-zA-Z0-9]{10})</code>)
created_atstring (date-time)The date and time that the connector was created.
environment_idstringThe unique ID of the environment that the connector belongs to. (pattern: <code>(env-[a-zA-Z0-9]{10})</code>)
modified_atstring (date-time)The date and time that the connector was modified.
secret_arnstringThe Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret that stores the credentials for the VCF appliance. (pattern: <code>(arn:aws:secretsmanager:[a-z0-9-]+:[0-9]{12}㊙️[a-zA-Z0-9/+=.@!-]+|[a-zA-Z0-9/+=.@!-]+)</code>)
statestringThe state of the connector. (CREATING, CREATE_FAILED, ACTIVE, UPDATING, UPDATE_FAILED, DELETING, DELETED)
state_detailsstringA detailed description of the connector state.
statusstringThe status of the connector. (PASSED, FAILED, UNKNOWN)
type_stringThe type of the connector. (OPERATIONS_MANAGER, SDDC_MANAGER, VCENTER)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_environment_connectorsselectregionLists the connectors within an environment. Returns the status of each connector and its applicable checks, among other connector details.
create_environment_connectorinsertregion, environmentId, type, applianceFqdn, secretIdentifierCreates a connector for an Amazon EVS environment. A connector allows the Amazon EVS control plane to interface with VCF appliances using a fully qualified domain name. You can create only one connector of each type per environment. For environments where Amazon EVS installs VCF, the SDDC_MANAGER connector is created automatically. Amazon EVS requires an active connector to SDDC Manager or VCF Operations Manager to monitor environment health and license compliance.
update_environment_connectorupdateregion, environmentId, connectorIdUpdates a connector for an Amazon EVS environment. You can update the Amazon Web Services Secrets Manager secret ARN or the appliance FQDN to reconfigure the connector metadata. You cannot update both the secret and the FQDN in the same request.
delete_environment_connectordeleteregionDeletes a connector from an Amazon EVS environment. Before deleting a connector, you must remove all entitlements that are associated with the same vCenter.

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

Lists the connectors within an environment. Returns the status of each connector and its applicable checks, among other connector details.

SELECT
appliance_fqdn,
checks,
connector_id,
created_at,
environment_id,
modified_at,
secret_arn,
state,
state_details,
status,
type_
FROM aws.evs.environment_connectors
WHERE region = '{{ region }}' -- required
;

INSERT examples

Creates a connector for an Amazon EVS environment. A connector allows the Amazon EVS control plane to interface with VCF appliances using a fully qualified domain name. You can create only one connector of each type per environment. For environments where Amazon EVS installs VCF, the SDDC_MANAGER connector is created automatically. Amazon EVS requires an active connector to SDDC Manager or VCF Operations Manager to monitor environment health and license compliance.

INSERT INTO aws.evs.environment_connectors (
clientToken,
environmentId,
type,
applianceFqdn,
secretIdentifier,
region
)
SELECT
'{{ clientToken }}',
'{{ environmentId }}' /* required */,
'{{ type }}' /* required */,
'{{ applianceFqdn }}' /* required */,
'{{ secretIdentifier }}' /* required */,
'{{ region }}'
RETURNING
connector
;

UPDATE examples

Updates a connector for an Amazon EVS environment. You can update the Amazon Web Services Secrets Manager secret ARN or the appliance FQDN to reconfigure the connector metadata. You cannot update both the secret and the FQDN in the same request.

UPDATE aws.evs.environment_connectors
SET
clientToken = '{{ clientToken }}',
environmentId = '{{ environmentId }}',
connectorId = '{{ connectorId }}',
applianceFqdn = '{{ applianceFqdn }}',
secretIdentifier = '{{ secretIdentifier }}'
WHERE
region = '{{ region }}' --required
AND environmentId = '{{ environmentId }}' --required
AND connectorId = '{{ connectorId }}' --required
RETURNING
connector;

DELETE examples

Deletes a connector from an Amazon EVS environment. Before deleting a connector, you must remove all entitlements that are associated with the same vCenter.

DELETE FROM aws.evs.environment_connectors
WHERE region = '{{ region }}' --required
;