Skip to main content

discoveries

Creates, updates, deletes or gets a discovery resource or lists discoveries in a region

Overview

Namediscoveries
TypeResource
DescriptionResource Type definition for AWS::ApplicationSignals::Discovery
Idawscc.applicationsignals.discoveries

Fields

NameDatatypeDescription
account_idstringThe identifier for the specified AWS account.
regionstringAWS region.

For more information, see AWS::ApplicationSignals::Discovery.

Methods

NameAccessible byRequired Params
create_resourceINSERT, region
delete_resourceDELETEdata__Identifier, region
update_resourceUPDATEdata__Identifier, data__PatchDocument, region
list_resourcesSELECTregion
get_resourceSELECTdata__Identifier, region

SELECT examples

Gets all properties from an individual discovery.

SELECT
region,
account_id
FROM awscc.applicationsignals.discoveries
WHERE region = 'us-east-1' AND data__Identifier = '<AccountId>';

INSERT example

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

/*+ create */
INSERT INTO awscc.applicationsignals.discoveries (
,
region
)
SELECT
'{{ }}',
'{{ region }}';

DELETE example

/*+ delete */
DELETE FROM awscc.applicationsignals.discoveries
WHERE data__Identifier = '<AccountId>'
AND region = 'us-east-1';

Permissions

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

Create

application-signals:StartDiscovery,
application-signals:ListServices,
iam:CreateServiceLinkedRole

Read

application-signals:ListServices

Update

application-signals:ListServices

Delete

application-signals:ListServices

List

application-signals:ListServices