Skip to main content

operator_apps

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

Overview

Nameoperator_apps
TypeResource
Idaws.devops_agent.operator_apps

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
iamobjectConfiguration for IAM-based authentication flow for the Operator App.
idcobjectConfiguration for AWS Identity Center (IdC) authentication flow for the Operator App.
idpobjectConfiguration for external Identity Provider OIDC authentication flow for the Operator App.
operator_app_urlstringThe URL for operators to access the Operator App (pattern: <code>https:​//[a-zA-Z0-9.-]+(/.*)?</code>)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_operator_appselectagent_space_id, regionGet the full auth configuration of operator including any enabled auth flow
update_operator_app_idp_configupdateagent_space_id, regionUpdate the external Identity Provider configuration for the Operator App

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
agent_space_idstringThe unique identifier of the AgentSpace
regionstringAWS region (default: us-east-1)

SELECT examples

Get the full auth configuration of operator including any enabled auth flow

SELECT
iam,
idc,
idp,
operator_app_url
FROM aws.devops_agent.operator_apps
WHERE agent_space_id = '{{ agent_space_id }}' -- required
AND region = '{{ region }}' -- required
;

UPDATE examples

Update the external Identity Provider configuration for the Operator App

UPDATE aws.devops_agent.operator_apps
SET
idpClientSecret = '{{ idpClientSecret }}'
WHERE
agent_space_id = '{{ agent_space_id }}' --required
AND region = '{{ region }}' --required
RETURNING
agent_space_id,
idp;