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
Idawscc.workspacesweb.identity_providers

Fields

NameDatatypeDescription
identity_provider_arnstring
identity_provider_detailsobject
identity_provider_namestring
identity_provider_typestring
portal_arnstring
tagsarray
regionstringAWS region.

For more information, see AWS::WorkSpacesWeb::IdentityProvider.

Methods

NameResourceAccessible byRequired Params
create_resourceidentity_providersINSERTIdentityProviderDetails, IdentityProviderName, IdentityProviderType, region
delete_resourceidentity_providersDELETEIdentifier, region
update_resourceidentity_providersUPDATEIdentifier, PatchDocument, region
list_resourcesidentity_providers_list_onlySELECTregion
get_resourceidentity_providersSELECTIdentifier, region

SELECT examples

Gets all properties from an individual identity_provider.

SELECT
region,
identity_provider_arn,
identity_provider_details,
identity_provider_name,
identity_provider_type,
portal_arn,
tags
FROM awscc.workspacesweb.identity_providers
WHERE
region = 'us-east-1' AND
Identifier = '{{ identity_provider_arn }}';

INSERT example

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

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

UPDATE example

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

/*+ update */
UPDATE awscc.workspacesweb.identity_providers
SET PatchDocument = string('{{ {
"IdentityProviderDetails": identity_provider_details,
"IdentityProviderName": identity_provider_name,
"IdentityProviderType": identity_provider_type,
"Tags": tags
} | generate_patch_document }}')
WHERE
region = '{{ region }}' AND
Identifier = '{{ identity_provider_arn }}';

DELETE example

/*+ delete */
DELETE FROM awscc.workspacesweb.identity_providers
WHERE
Identifier = '{{ identity_provider_arn }}' AND
region = 'us-east-1';

Permissions

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

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