Skip to main content

flow_aliases

Creates, updates, deletes or gets a flow_alias resource or lists flow_aliases in a region

Overview

Nameflow_aliases
TypeResource
DescriptionDefinition of AWS::Bedrock::FlowAlias Resource Type
Idawscc.bedrock.flow_aliases

Fields

NameDatatypeDescription
arnstringArn of the Flow Alias
flow_arnstringArn representation of the Flow
concurrency_configurationobject
created_atstringTime Stamp.
descriptionstringDescription of the Resource.
flow_idstringIdentifier for a flow resource.
idstringId for a Flow Alias generated at the server side.
namestringName for a resource.
routing_configurationarrayRouting configuration for a Flow alias.
updated_atstringTime Stamp.
tagsobjectA map of tag keys and values
regionstringAWS region.

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

Methods

NameResourceAccessible byRequired Params
create_resourceflow_aliasesINSERTName, FlowArn, RoutingConfiguration, region
delete_resourceflow_aliasesDELETEIdentifier, region
update_resourceflow_aliasesUPDATEIdentifier, PatchDocument, region
list_resourcesflow_aliases_list_onlySELECTregion
get_resourceflow_aliasesSELECTIdentifier, region

SELECT examples

Gets all properties from an individual flow_alias.

SELECT
region,
arn,
flow_arn,
concurrency_configuration,
created_at,
description,
flow_id,
id,
name,
routing_configuration,
updated_at,
tags
FROM awscc.bedrock.flow_aliases
WHERE
region = 'us-east-1' AND
Identifier = '{{ arn }}|{{ flow_arn }}';

INSERT example

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

/*+ create */
INSERT INTO awscc.bedrock.flow_aliases (
FlowArn,
Name,
RoutingConfiguration,
region
)
SELECT
'{{ flow_arn }}',
'{{ name }}',
'{{ routing_configuration }}',
'{{ region }}';

UPDATE example

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

/*+ update */
UPDATE awscc.bedrock.flow_aliases
SET PatchDocument = string('{{ {
"ConcurrencyConfiguration": concurrency_configuration,
"Description": description,
"Name": name,
"RoutingConfiguration": routing_configuration,
"Tags": tags
} | generate_patch_document }}')
WHERE
region = '{{ region }}' AND
Identifier = '{{ arn }}|{{ flow_arn }}';

DELETE example

/*+ delete */
DELETE FROM awscc.bedrock.flow_aliases
WHERE
Identifier = '{{ arn }}|{{ flow_arn }}' AND
region = 'us-east-1';

Permissions

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

bedrock:CreateFlowAlias,
bedrock:GetFlowAlias,
bedrock:TagResource,
bedrock:ListTagsForResource