Skip to main content

data_automation_projects

Creates, updates, deletes or gets a data_automation_project resource or lists data_automation_projects in a region

Overview

Namedata_automation_projects
TypeResource
DescriptionDefinition of AWS::Bedrock::DataAutomationProject Resource Type
Idawscc.bedrock.data_automation_projects

Fields

NameDatatypeDescription
creation_timestringTime Stamp
custom_output_configurationobjectCustom output configuration
last_modified_timestringTime Stamp
override_configurationobjectOverride configuration
project_arnstringARN of a DataAutomationProject
project_descriptionstringDescription of the DataAutomationProject
project_namestringName of the DataAutomationProject
project_stagestringStage of the Project
standard_output_configurationobjectStandard output configuration
statusstring
kms_key_idstringKMS key identifier
kms_encryption_contextobjectKMS encryption context
tagsarrayList of Tags
regionstringAWS region.

For more information, see AWS::Bedrock::DataAutomationProject.

Methods

NameResourceAccessible byRequired Params
create_resourcedata_automation_projectsINSERTProjectName, region
delete_resourcedata_automation_projectsDELETEIdentifier, region
update_resourcedata_automation_projectsUPDATEIdentifier, PatchDocument, region
list_resourcesdata_automation_projects_list_onlySELECTregion
get_resourcedata_automation_projectsSELECTIdentifier, region

SELECT examples

Gets all properties from an individual data_automation_project.

SELECT
region,
creation_time,
custom_output_configuration,
last_modified_time,
override_configuration,
project_arn,
project_description,
project_name,
project_stage,
standard_output_configuration,
status,
kms_key_id,
kms_encryption_context,
tags
FROM awscc.bedrock.data_automation_projects
WHERE
region = '{{ region }}' AND
Identifier = '{{ project_arn }}';

INSERT example

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

/*+ create */
INSERT INTO awscc.bedrock.data_automation_projects (
ProjectName,
region
)
SELECT
'{{ project_name }}',
'{{ region }}'
RETURNING
ErrorCode,
EventTime,
Identifier,
Operation,
OperationStatus,
RequestToken,
ResourceModel,
RetryAfter,
StatusMessage,
TypeName
;

UPDATE example

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

/*+ update */
UPDATE awscc.bedrock.data_automation_projects
SET PatchDocument = string('{{ {
"CustomOutputConfiguration": custom_output_configuration,
"OverrideConfiguration": override_configuration,
"ProjectDescription": project_description,
"StandardOutputConfiguration": standard_output_configuration,
"KmsKeyId": kms_key_id,
"KmsEncryptionContext": kms_encryption_context,
"Tags": tags
} | generate_patch_document }}')
WHERE
region = '{{ region }}' AND
Identifier = '{{ project_arn }}'
RETURNING
ErrorCode,
EventTime,
Identifier,
Operation,
OperationStatus,
RequestToken,
ResourceModel,
RetryAfter,
StatusMessage,
TypeName
;

DELETE example

/*+ delete */
DELETE FROM awscc.bedrock.data_automation_projects
WHERE
Identifier = '{{ project_arn }}' AND
region = '{{ region }}'
RETURNING
ErrorCode,
EventTime,
Identifier,
Operation,
OperationStatus,
RequestToken,
ResourceModel,
RetryAfter,
StatusMessage,
TypeName
;

Additional Parameters

Mutable resources in the Cloud Control provider support additional optional parameters which can be supplied with INSERT, UPDATE, or DELETE operations. These include:

ParameterDescription
ClientToken
A unique identifier to ensure the idempotency of the resource request.This allows the provider to accurately distinguish between retries and new requests.
A client token is valid for 36 hours once used.
After that, a resource request with the same client token is treated as a new request.
If you do not specify a client token, one is generated for inclusion in the request.
RoleArn
The ARN of the IAM role used to perform this resource operation.The role specified must have the permissions required for this operation.
If you do not specify a role, a temporary session is created using your AWS user credentials.
TypeVersionId
For private resource types, the type version to use in this resource operation.If you do not specify a resource version, the default version is used.

Permissions

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

bedrock:CreateDataAutomationProject,
bedrock:GetDataAutomationProject,
bedrock:TagResource,
bedrock:ListTagsForResource,
kms:DescribeKey,
kms:Decrypt,
kms:GenerateDataKey