1. Packages
  2. AWS
  3. API Docs
  4. bedrock
  5. getInferenceProfiles
AWS v6.76.0 published on Tuesday, Apr 8, 2025 by Pulumi

aws.bedrock.getInferenceProfiles

Explore with Pulumi AI

Data source for managing AWS Bedrock AWS Bedrock Inference Profiles.

Example Usage

Basic Usage

import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

const test = aws.bedrock.getInferenceProfiles({});
Copy
import pulumi
import pulumi_aws as aws

test = aws.bedrock.get_inference_profiles()
Copy
package main

import (
	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/bedrock"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := bedrock.GetInferenceProfiles(ctx, map[string]interface{}{}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;

return await Deployment.RunAsync(() => 
{
    var test = Aws.Bedrock.GetInferenceProfiles.Invoke();

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.bedrock.BedrockFunctions;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        final var test = BedrockFunctions.getInferenceProfiles();

    }
}
Copy
variables:
  test:
    fn::invoke:
      function: aws:bedrock:getInferenceProfiles
      arguments: {}
Copy

Using getInferenceProfiles

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getInferenceProfiles(opts?: InvokeOptions): Promise<GetInferenceProfilesResult>
function getInferenceProfilesOutput(opts?: InvokeOptions): Output<GetInferenceProfilesResult>
Copy
def get_inference_profiles(opts: Optional[InvokeOptions] = None) -> GetInferenceProfilesResult
def get_inference_profiles_output(opts: Optional[InvokeOptions] = None) -> Output[GetInferenceProfilesResult]
Copy
func GetInferenceProfiles(ctx *Context, opts ...InvokeOption) (*GetInferenceProfilesResult, error)
func GetInferenceProfilesOutput(ctx *Context, opts ...InvokeOption) GetInferenceProfilesResultOutput
Copy

> Note: This function is named GetInferenceProfiles in the Go SDK.

public static class GetInferenceProfiles 
{
    public static Task<GetInferenceProfilesResult> InvokeAsync(InvokeOptions? opts = null)
    public static Output<GetInferenceProfilesResult> Invoke(InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetInferenceProfilesResult> getInferenceProfiles(InvokeOptions options)
public static Output<GetInferenceProfilesResult> getInferenceProfiles(InvokeOptions options)
Copy
fn::invoke:
  function: aws:bedrock/getInferenceProfiles:getInferenceProfiles
  arguments:
    # arguments dictionary
Copy

getInferenceProfiles Result

The following output properties are available:

Id string
The provider-assigned unique ID for this managed resource.
InferenceProfileSummaries List<GetInferenceProfilesInferenceProfileSummary>
List of inference profile summary objects. See inference_profile_summaries.
Id string
The provider-assigned unique ID for this managed resource.
InferenceProfileSummaries []GetInferenceProfilesInferenceProfileSummary
List of inference profile summary objects. See inference_profile_summaries.
id String
The provider-assigned unique ID for this managed resource.
inferenceProfileSummaries List<GetInferenceProfilesInferenceProfileSummary>
List of inference profile summary objects. See inference_profile_summaries.
id string
The provider-assigned unique ID for this managed resource.
inferenceProfileSummaries GetInferenceProfilesInferenceProfileSummary[]
List of inference profile summary objects. See inference_profile_summaries.
id str
The provider-assigned unique ID for this managed resource.
inference_profile_summaries Sequence[GetInferenceProfilesInferenceProfileSummary]
List of inference profile summary objects. See inference_profile_summaries.
id String
The provider-assigned unique ID for this managed resource.
inferenceProfileSummaries List<Property Map>
List of inference profile summary objects. See inference_profile_summaries.

Supporting Types

GetInferenceProfilesInferenceProfileSummary

CreatedAt This property is required. string
The time at which the inference profile was created.
Description This property is required. string
The description of the inference profile.
InferenceProfileArn This property is required. string
The Amazon Resource Name (ARN) of the inference profile.
InferenceProfileId This property is required. string
The unique identifier of the inference profile.
InferenceProfileName This property is required. string
The name of the inference profile.
Models This property is required. List<GetInferenceProfilesInferenceProfileSummaryModel>
A list of information about each model in the inference profile. See models.
Status This property is required. string
The status of the inference profile. ACTIVE means that the inference profile is available to use.
Type This property is required. string
The type of the inference profile. SYSTEM_DEFINED means that the inference profile is defined by Amazon Bedrock.
UpdatedAt This property is required. string
The time at which the inference profile was last updated.
CreatedAt This property is required. string
The time at which the inference profile was created.
Description This property is required. string
The description of the inference profile.
InferenceProfileArn This property is required. string
The Amazon Resource Name (ARN) of the inference profile.
InferenceProfileId This property is required. string
The unique identifier of the inference profile.
InferenceProfileName This property is required. string
The name of the inference profile.
Models This property is required. []GetInferenceProfilesInferenceProfileSummaryModel
A list of information about each model in the inference profile. See models.
Status This property is required. string
The status of the inference profile. ACTIVE means that the inference profile is available to use.
Type This property is required. string
The type of the inference profile. SYSTEM_DEFINED means that the inference profile is defined by Amazon Bedrock.
UpdatedAt This property is required. string
The time at which the inference profile was last updated.
createdAt This property is required. String
The time at which the inference profile was created.
description This property is required. String
The description of the inference profile.
inferenceProfileArn This property is required. String
The Amazon Resource Name (ARN) of the inference profile.
inferenceProfileId This property is required. String
The unique identifier of the inference profile.
inferenceProfileName This property is required. String
The name of the inference profile.
models This property is required. List<GetInferenceProfilesInferenceProfileSummaryModel>
A list of information about each model in the inference profile. See models.
status This property is required. String
The status of the inference profile. ACTIVE means that the inference profile is available to use.
type This property is required. String
The type of the inference profile. SYSTEM_DEFINED means that the inference profile is defined by Amazon Bedrock.
updatedAt This property is required. String
The time at which the inference profile was last updated.
createdAt This property is required. string
The time at which the inference profile was created.
description This property is required. string
The description of the inference profile.
inferenceProfileArn This property is required. string
The Amazon Resource Name (ARN) of the inference profile.
inferenceProfileId This property is required. string
The unique identifier of the inference profile.
inferenceProfileName This property is required. string
The name of the inference profile.
models This property is required. GetInferenceProfilesInferenceProfileSummaryModel[]
A list of information about each model in the inference profile. See models.
status This property is required. string
The status of the inference profile. ACTIVE means that the inference profile is available to use.
type This property is required. string
The type of the inference profile. SYSTEM_DEFINED means that the inference profile is defined by Amazon Bedrock.
updatedAt This property is required. string
The time at which the inference profile was last updated.
created_at This property is required. str
The time at which the inference profile was created.
description This property is required. str
The description of the inference profile.
inference_profile_arn This property is required. str
The Amazon Resource Name (ARN) of the inference profile.
inference_profile_id This property is required. str
The unique identifier of the inference profile.
inference_profile_name This property is required. str
The name of the inference profile.
models This property is required. Sequence[GetInferenceProfilesInferenceProfileSummaryModel]
A list of information about each model in the inference profile. See models.
status This property is required. str
The status of the inference profile. ACTIVE means that the inference profile is available to use.
type This property is required. str
The type of the inference profile. SYSTEM_DEFINED means that the inference profile is defined by Amazon Bedrock.
updated_at This property is required. str
The time at which the inference profile was last updated.
createdAt This property is required. String
The time at which the inference profile was created.
description This property is required. String
The description of the inference profile.
inferenceProfileArn This property is required. String
The Amazon Resource Name (ARN) of the inference profile.
inferenceProfileId This property is required. String
The unique identifier of the inference profile.
inferenceProfileName This property is required. String
The name of the inference profile.
models This property is required. List<Property Map>
A list of information about each model in the inference profile. See models.
status This property is required. String
The status of the inference profile. ACTIVE means that the inference profile is available to use.
type This property is required. String
The type of the inference profile. SYSTEM_DEFINED means that the inference profile is defined by Amazon Bedrock.
updatedAt This property is required. String
The time at which the inference profile was last updated.

GetInferenceProfilesInferenceProfileSummaryModel

ModelArn This property is required. string
The Amazon Resource Name (ARN) of the model.
ModelArn This property is required. string
The Amazon Resource Name (ARN) of the model.
modelArn This property is required. String
The Amazon Resource Name (ARN) of the model.
modelArn This property is required. string
The Amazon Resource Name (ARN) of the model.
model_arn This property is required. str
The Amazon Resource Name (ARN) of the model.
modelArn This property is required. String
The Amazon Resource Name (ARN) of the model.

Package Details

Repository
AWS Classic pulumi/pulumi-aws
License
Apache-2.0
Notes
This Pulumi package is based on the aws Terraform Provider.