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
Idawscc.bcmdataexports.exports

Fields

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

For more information, see AWS::BCMDataExports::Export.

Methods

NameResourceAccessible byRequired Params
create_resourceexportsINSERTExport, region
delete_resourceexportsDELETEIdentifier, region
update_resourceexportsUPDATEIdentifier, PatchDocument, region
list_resourcesexports_list_onlySELECTregion
get_resourceexportsSELECTIdentifier, region

SELECT examples

Gets all properties from an individual export.

SELECT
region,
export,
export_arn,
tags
FROM awscc.bcmdataexports.exports
WHERE
region = 'us-east-1' AND
Identifier = '{{ export_arn }}';

INSERT example

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

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

UPDATE example

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

/*+ update */
UPDATE awscc.bcmdataexports.exports
SET PatchDocument = string('{{ {
"Tags": tags
} | generate_patch_document }}')
WHERE
region = '{{ region }}' AND
Identifier = '{{ export_arn }}';

DELETE example

/*+ delete */
DELETE FROM awscc.bcmdataexports.exports
WHERE
Identifier = '{{ export_arn }}' AND
region = 'us-east-1';

Permissions

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

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