application_inference_profiles
Creates, updates, deletes or gets an application_inference_profile
resource or lists application_inference_profiles
in a region
Overview
Name | application_inference_profiles |
Type | Resource |
Description | Definition of AWS::Bedrock::ApplicationInferenceProfile Resource Type |
Id | aws.bedrock.application_inference_profiles |
Fields
Name | Datatype | Description |
---|---|---|
created_at | string | Time Stamp |
description | string | Description of the inference profile |
inference_profile_arn | string | |
inference_profile_id | string | |
inference_profile_identifier | string | Inference profile identifier. Supports both system-defined inference profile ids, and inference profile ARNs. |
inference_profile_name | string | |
model_source | undefined | Various ways to encode a list of models in a CreateInferenceProfile request |
models | array | List of model configuration |
status | string | Status of the Inference Profile |
tags | array | List of Tags |
type | string | Type of the Inference Profile |
updated_at | string | Time Stamp |
region | string | AWS region. |
For more information, see AWS::Bedrock::ApplicationInferenceProfile
.
Methods
Name | Accessible by | Required Params |
---|---|---|
create_resource | INSERT | InferenceProfileName, region |
delete_resource | DELETE | data__Identifier, region |
update_resource | UPDATE | data__Identifier, data__PatchDocument, region |
list_resources | SELECT | region |
get_resource | SELECT | data__Identifier, region |
SELECT
examples
Gets all application_inference_profiles
in a region.
SELECT
region,
created_at,
description,
inference_profile_arn,
inference_profile_id,
inference_profile_identifier,
inference_profile_name,
model_source,
models,
status,
tags,
type,
updated_at
FROM aws.bedrock.application_inference_profiles
WHERE region = 'us-east-1';
Gets all properties from an individual application_inference_profile
.
SELECT
region,
created_at,
description,
inference_profile_arn,
inference_profile_id,
inference_profile_identifier,
inference_profile_name,
model_source,
models,
status,
tags,
type,
updated_at
FROM aws.bedrock.application_inference_profiles
WHERE region = 'us-east-1' AND data__Identifier = '<InferenceProfileIdentifier>';
INSERT
example
Use the following StackQL query and manifest file to create a new application_inference_profile
resource, using stack-deploy
.
- Required Properties
- All Properties
- Manifest
/*+ create */
INSERT INTO aws.bedrock.application_inference_profiles (
InferenceProfileName,
region
)
SELECT
'{{ InferenceProfileName }}',
'{{ region }}';
/*+ create */
INSERT INTO aws.bedrock.application_inference_profiles (
Description,
InferenceProfileName,
ModelSource,
Tags,
region
)
SELECT
'{{ Description }}',
'{{ InferenceProfileName }}',
'{{ ModelSource }}',
'{{ Tags }}',
'{{ region }}';
version: 1
name: stack name
description: stack description
providers:
- aws
globals:
- name: region
value: '{{ vars.AWS_REGION }}'
resources:
- name: application_inference_profile
props:
- name: Description
value: '{{ Description }}'
- name: InferenceProfileName
value: '{{ InferenceProfileName }}'
- name: ModelSource
value: null
- name: Tags
value:
- Key: '{{ Key }}'
Value: '{{ Value }}'
DELETE
example
/*+ delete */
DELETE FROM aws.bedrock.application_inference_profiles
WHERE data__Identifier = '<InferenceProfileIdentifier>'
AND region = 'us-east-1';
Permissions
To operate on the application_inference_profiles
resource, the following permissions are required:
Create
bedrock:CreateInferenceProfile,
bedrock:GetInferenceProfile,
bedrock:TagResource,
bedrock:ListTagsForResource
Read
bedrock:GetInferenceProfile,
bedrock:ListTagsForResource
Update
bedrock:GetInferenceProfile,
bedrock:ListTagsForResource,
bedrock:TagResource,
bedrock:UntagResource
Delete
bedrock:DeleteInferenceProfile,
bedrock:GetInferenceProfile
List
bedrock:ListInferenceProfiles