Skip to main content

exports

Creates, updates, deletes or gets an export resource or lists exports in a region

Overview

Nameexports
TypeResource
DescriptionDefinition of AWS::BCMDataExports::Export Resource Type
Idaws.bcmdataexports.exports

Fields

NameDatatypeDescription
exportobjectDefinition of AWS::BCMDataExports::Export Resource Type
export_arnstring
tagsarray
regionstringAWS region.

Methods

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

SELECT examples

Gets all exports in a region.

SELECT
region,
export,
export_arn,
tags
FROM aws.bcmdataexports.exports
WHERE region = 'us-east-1';

Gets all properties from an individual export.

SELECT
region,
export,
export_arn,
tags
FROM aws.bcmdataexports.exports
WHERE region = 'us-east-1' AND data__Identifier = '<ExportArn>';

INSERT example

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

/*+ create */
INSERT INTO aws.bcmdataexports.exports (
Export,
region
)
SELECT
'{{ Export }}',
'{{ region }}';

DELETE example

/*+ delete */
DELETE FROM aws.bcmdataexports.exports
WHERE data__Identifier = '<ExportArn>'
AND region = 'us-east-1';

Permissions

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

Create

bcm-data-exports:CreateExport,
bcm-data-exports:GetExport,
bcm-data-exports:ListTagsForResource,
bcm-data-exports:TagResource,
cur:PutReportDefinition

Read

bcm-data-exports:GetExport,
bcm-data-exports:ListTagsForResource

Update

bcm-data-exports:UpdateExport,
bcm-data-exports:TagResource,
bcm-data-exports:UntagResource,
bcm-data-exports:GetExport,
bcm-data-exports:ListTagsForResource

Delete

bcm-data-exports:DeleteExport

List

bcm-data-exports:ListExports