Viewing docs for AWS v7.22.0
published on Wednesday, Mar 11, 2026 by Pulumi
published on Wednesday, Mar 11, 2026 by Pulumi
Viewing docs for AWS v7.22.0
published on Wednesday, Mar 11, 2026 by Pulumi
published on Wednesday, Mar 11, 2026 by Pulumi
Returns a list of Amazon Bedrock custom models.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const test = aws.bedrock.getCustomModels({});
import pulumi
import pulumi_aws as aws
test = aws.bedrock.get_custom_models()
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/bedrock"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := bedrock.GetCustomModels(ctx, &bedrock.GetCustomModelsArgs{}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var test = Aws.Bedrock.GetCustomModels.Invoke();
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.bedrock.BedrockFunctions;
import com.pulumi.aws.bedrock.inputs.GetCustomModelsArgs;
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.getCustomModels(GetCustomModelsArgs.builder()
.build());
}
}
variables:
test:
fn::invoke:
function: aws:bedrock:getCustomModels
arguments: {}
Using getCustomModels
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 getCustomModels(args: GetCustomModelsArgs, opts?: InvokeOptions): Promise<GetCustomModelsResult>
function getCustomModelsOutput(args: GetCustomModelsOutputArgs, opts?: InvokeOptions): Output<GetCustomModelsResult>def get_custom_models(region: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetCustomModelsResult
def get_custom_models_output(region: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetCustomModelsResult]func GetCustomModels(ctx *Context, args *GetCustomModelsArgs, opts ...InvokeOption) (*GetCustomModelsResult, error)
func GetCustomModelsOutput(ctx *Context, args *GetCustomModelsOutputArgs, opts ...InvokeOption) GetCustomModelsResultOutput> Note: This function is named GetCustomModels in the Go SDK.
public static class GetCustomModels
{
public static Task<GetCustomModelsResult> InvokeAsync(GetCustomModelsArgs args, InvokeOptions? opts = null)
public static Output<GetCustomModelsResult> Invoke(GetCustomModelsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetCustomModelsResult> getCustomModels(GetCustomModelsArgs args, InvokeOptions options)
public static Output<GetCustomModelsResult> getCustomModels(GetCustomModelsArgs args, InvokeOptions options)
fn::invoke:
function: aws:bedrock/getCustomModels:getCustomModels
arguments:
# arguments dictionaryThe following arguments are supported:
getCustomModels Result
The following output properties are available:
- Id string
- Model
Summaries List<GetCustom Models Model Summary> - Model summaries.
- Region string
- Id string
- Model
Summaries []GetCustom Models Model Summary - Model summaries.
- Region string
- id String
- model
Summaries List<GetCustom Models Model Summary> - Model summaries.
- region String
- id string
- model
Summaries GetCustom Models Model Summary[] - Model summaries.
- region string
- id str
- model_
summaries Sequence[GetCustom Models Model Summary] - Model summaries.
- region str
- id String
- model
Summaries List<Property Map> - Model summaries.
- region String
Supporting Types
GetCustomModelsModelSummary
- Creation
Time string - Creation time of the model.
- Model
Arn string - The ARN of the custom model.
- Model
Name string - The name of the custom model.
- Creation
Time string - Creation time of the model.
- Model
Arn string - The ARN of the custom model.
- Model
Name string - The name of the custom model.
- creation
Time String - Creation time of the model.
- model
Arn String - The ARN of the custom model.
- model
Name String - The name of the custom model.
- creation
Time string - Creation time of the model.
- model
Arn string - The ARN of the custom model.
- model
Name string - The name of the custom model.
- creation_
time str - Creation time of the model.
- model_
arn str - The ARN of the custom model.
- model_
name str - The name of the custom model.
- creation
Time String - Creation time of the model.
- model
Arn String - The ARN of the custom model.
- model
Name String - The name of the custom model.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
awsTerraform Provider.
Viewing docs for AWS v7.22.0
published on Wednesday, Mar 11, 2026 by Pulumi
published on Wednesday, Mar 11, 2026 by Pulumi
