Skip to main content

identity_providers

Creates, updates, deletes or gets an identity_provider resource or lists identity_providers in a region

Overview

Nameidentity_providers
TypeResource
DescriptionDefinition of AWS::WorkSpacesWeb::IdentityProvider Resource Type
Idaws.workspacesweb.identity_providers

Fields

NameDatatypeDescription
identity_provider_arnstring
identity_provider_detailsobject
identity_provider_namestring
identity_provider_typestring
portal_arnstring
regionstringAWS region.

Methods

NameAccessible byRequired Params
create_resourceINSERTIdentityProviderDetails, IdentityProviderName, IdentityProviderType, region
delete_resourceDELETEdata__Identifier, region
update_resourceUPDATEdata__Identifier, data__PatchDocument, region
list_resourcesSELECTregion
get_resourceSELECTdata__Identifier, region

SELECT examples

Gets all identity_providers in a region.

SELECT
region,
identity_provider_arn,
identity_provider_details,
identity_provider_name,
identity_provider_type,
portal_arn
FROM aws.workspacesweb.identity_providers
WHERE region = 'us-east-1';

Gets all properties from an individual identity_provider.

SELECT
region,
identity_provider_arn,
identity_provider_details,
identity_provider_name,
identity_provider_type,
portal_arn
FROM aws.workspacesweb.identity_providers
WHERE region = 'us-east-1' AND data__Identifier = '<IdentityProviderArn>';

INSERT example

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

/*+ create */
INSERT INTO aws.workspacesweb.identity_providers (
IdentityProviderDetails,
IdentityProviderName,
IdentityProviderType,
region
)
SELECT
'{{ IdentityProviderDetails }}',
'{{ IdentityProviderName }}',
'{{ IdentityProviderType }}',
'{{ region }}';

DELETE example

/*+ delete */
DELETE FROM aws.workspacesweb.identity_providers
WHERE data__Identifier = '<IdentityProviderArn>'
AND region = 'us-east-1';

Permissions

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

Create

workspaces-web:CreateIdentityProvider,
workspaces-web:GetIdentityProvider,
workspaces-web:ListTagsForResource,
workspaces-web:TagResource

Read

workspaces-web:GetIdentityProvider,
workspaces-web:ListIdentityProviders,
workspaces-web:ListTagsForResource

Update

workspaces-web:UpdateIdentityProvider,
workspaces-web:TagResource,
workspaces-web:UntagResource,
workspaces-web:GetIdentityProvider,
workspaces-web:ListIdentityProviders,
workspaces-web:ListTagsForResource

Delete

workspaces-web:GetIdentityProvider,
workspaces-web:DeleteIdentityProvider

List

workspaces-web:ListIdentityProviders