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
Idaws.bedrock.flow_aliases

Fields

NameDatatypeDescription
arnstringArn of the Flow Alias
flow_arnstringArn representation of the Flow
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

NameAccessible byRequired Params
create_resourceINSERTName, FlowArn, RoutingConfiguration, region
delete_resourceDELETEdata__Identifier, region
update_resourceUPDATEdata__Identifier, data__PatchDocument, region
list_resourcesSELECTregion
get_resourceSELECTdata__Identifier, region

SELECT examples

Gets all flow_aliases in a region.

SELECT
region,
arn,
flow_arn,
created_at,
description,
flow_id,
id,
name,
routing_configuration,
updated_at,
tags
FROM aws.bedrock.flow_aliases
WHERE region = 'us-east-1';

Gets all properties from an individual flow_alias.

SELECT
region,
arn,
flow_arn,
created_at,
description,
flow_id,
id,
name,
routing_configuration,
updated_at,
tags
FROM aws.bedrock.flow_aliases
WHERE region = 'us-east-1' AND data__Identifier = '<Arn>|<FlowArn>';

INSERT example

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

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

DELETE example

/*+ delete */
DELETE FROM aws.bedrock.flow_aliases
WHERE data__Identifier = '<Arn|FlowArn>'
AND region = 'us-east-1';

Permissions

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

Create

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

Read

bedrock:GetFlowAlias,
bedrock:ListTagsForResource

Update

bedrock:UpdateFlowAlias,
bedrock:GetFlowAlias,
bedrock:TagResource,
bedrock:UntagResource,
bedrock:ListTagsForResource

Delete

bedrock:DeleteFlowAlias

List

bedrock:ListFlowAliases