1. Registry
  2. Packages
  3. AWS
  4. API Docs
  5. bedrockmodel
  6. InvocationJob
Viewing docs for AWS v7.46.0
published on Thursday, Sep 10, 2026 by Pulumi
aws logo aws logo
Viewing docs for AWS v7.46.0
published on Thursday, Sep 10, 2026 by Pulumi

    Manages an Amazon Bedrock model invocation job. A model invocation job runs a foundation model, or a model accessed through an inference profile, against multiple prompts read from Amazon S3, and writes the results back to Amazon S3.

    Amazon Bedrock does not support permanently deleting a model invocation job. Destroying this resource stops the job (if it hasn’t already reached a terminal state) using the StopModelInvocationJob API, then removes it from Terraform state. Set skipDestroy to leave the job in its current state instead.

    This resource does not support tags. Amazon Bedrock does not allow retrieving tags for a batch inference job that has already finished running, which would cause errors when importing or listing existing jobs.

    Example Usage

    Basic Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const example = new aws.bedrockmodel.InvocationJob("example", {
        inputDataConfig: {
            s3InputDataConfig: {
                s3Uri: `s3://${exampleAwsS3Bucket.id}/input/`,
            },
        },
        outputDataConfig: {
            s3OutputDataConfig: {
                s3Uri: `s3://${exampleAwsS3Bucket.id}/output/`,
            },
        },
        jobName: "example-job",
        modelId: "us.amazon.nova-2-lite-v1:0",
        roleArn: exampleAwsIamRole.arn,
    });
    
    import pulumi
    import pulumi_aws as aws
    
    example = aws.bedrockmodel.InvocationJob("example",
        input_data_config={
            "s3_input_data_config": {
                "s3_uri": f"s3://{example_aws_s3_bucket['id']}/input/",
            },
        },
        output_data_config={
            "s3_output_data_config": {
                "s3_uri": f"s3://{example_aws_s3_bucket['id']}/output/",
            },
        },
        job_name="example-job",
        model_id="us.amazon.nova-2-lite-v1:0",
        role_arn=example_aws_iam_role["arn"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/bedrockmodel"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := bedrockmodel.NewInvocationJob(ctx, "example", &bedrockmodel.InvocationJobArgs{
    			InputDataConfig: &bedrockmodel.InvocationJobInputDataConfigArgs{
    				S3InputDataConfig: &bedrockmodel.InvocationJobInputDataConfigS3InputDataConfigArgs{
    					S3Uri: pulumi.Sprintf("s3://%v/input/", exampleAwsS3Bucket.Id),
    				},
    			},
    			OutputDataConfig: &bedrockmodel.InvocationJobOutputDataConfigArgs{
    				S3OutputDataConfig: &bedrockmodel.InvocationJobOutputDataConfigS3OutputDataConfigArgs{
    					S3Uri: pulumi.Sprintf("s3://%v/output/", exampleAwsS3Bucket.Id),
    				},
    			},
    			JobName: pulumi.String("example-job"),
    			ModelId: pulumi.String("us.amazon.nova-2-lite-v1:0"),
    			RoleArn: pulumi.Any(exampleAwsIamRole.Arn),
    		})
    		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 example = new Aws.BedrockModel.InvocationJob("example", new()
        {
            InputDataConfig = new Aws.BedrockModel.Inputs.InvocationJobInputDataConfigArgs
            {
                S3InputDataConfig = new Aws.BedrockModel.Inputs.InvocationJobInputDataConfigS3InputDataConfigArgs
                {
                    S3Uri = $"s3://{exampleAwsS3Bucket.Id}/input/",
                },
            },
            OutputDataConfig = new Aws.BedrockModel.Inputs.InvocationJobOutputDataConfigArgs
            {
                S3OutputDataConfig = new Aws.BedrockModel.Inputs.InvocationJobOutputDataConfigS3OutputDataConfigArgs
                {
                    S3Uri = $"s3://{exampleAwsS3Bucket.Id}/output/",
                },
            },
            JobName = "example-job",
            ModelId = "us.amazon.nova-2-lite-v1:0",
            RoleArn = exampleAwsIamRole.Arn,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.bedrockmodel.InvocationJob;
    import com.pulumi.aws.bedrockmodel.InvocationJobArgs;
    import com.pulumi.aws.bedrockmodel.inputs.InvocationJobInputDataConfigArgs;
    import com.pulumi.aws.bedrockmodel.inputs.InvocationJobInputDataConfigS3InputDataConfigArgs;
    import com.pulumi.aws.bedrockmodel.inputs.InvocationJobOutputDataConfigArgs;
    import com.pulumi.aws.bedrockmodel.inputs.InvocationJobOutputDataConfigS3OutputDataConfigArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    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) {
            var example = new InvocationJob("example", InvocationJobArgs.builder()
                .inputDataConfig(InvocationJobInputDataConfigArgs.builder()
                    .s3InputDataConfig(InvocationJobInputDataConfigS3InputDataConfigArgs.builder()
                        .s3Uri(String.format("s3://%s/input/", exampleAwsS3Bucket.id()))
                        .build())
                    .build())
                .outputDataConfig(InvocationJobOutputDataConfigArgs.builder()
                    .s3OutputDataConfig(InvocationJobOutputDataConfigS3OutputDataConfigArgs.builder()
                        .s3Uri(String.format("s3://%s/output/", exampleAwsS3Bucket.id()))
                        .build())
                    .build())
                .jobName("example-job")
                .modelId("us.amazon.nova-2-lite-v1:0")
                .roleArn(exampleAwsIamRole.arn())
                .build());
    
        }
    }
    
    resources:
      example:
        type: aws:bedrockmodel:InvocationJob
        properties:
          inputDataConfig:
            s3InputDataConfig:
              s3Uri: s3://${exampleAwsS3Bucket.id}/input/
          outputDataConfig:
            s3OutputDataConfig:
              s3Uri: s3://${exampleAwsS3Bucket.id}/output/
          jobName: example-job
          modelId: us.amazon.nova-2-lite-v1:0
          roleArn: ${exampleAwsIamRole.arn}
    
    pulumi {
      required_providers {
        aws = {
          source = "pulumi/aws"
        }
      }
    }
    
    resource "aws_bedrockmodel_invocationjob" "example" {
      input_data_config = {
        s3_input_data_config = {
          s3_uri ="s3://${exampleAwsS3Bucket.id}/input/"
        }
      }
      output_data_config = {
        s3_output_data_config = {
          s3_uri ="s3://${exampleAwsS3Bucket.id}/output/"
        }
      }
      job_name = "example-job"
      model_id = "us.amazon.nova-2-lite-v1:0"
      role_arn = exampleAwsIamRole.arn
    }
    

    Create InvocationJob Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new InvocationJob(name: string, args: InvocationJobArgs, opts?: CustomResourceOptions);
    @overload
    def InvocationJob(resource_name: str,
                      args: InvocationJobArgs,
                      opts: Optional[ResourceOptions] = None)
    
    @overload
    def InvocationJob(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      input_data_config: Optional[InvocationJobInputDataConfigArgs] = None,
                      job_name: Optional[str] = None,
                      model_id: Optional[str] = None,
                      output_data_config: Optional[InvocationJobOutputDataConfigArgs] = None,
                      role_arn: Optional[str] = None,
                      region: Optional[str] = None,
                      skip_destroy: Optional[bool] = None,
                      timeout_duration_in_hours: Optional[int] = None,
                      timeouts: Optional[InvocationJobTimeoutsArgs] = None,
                      vpc_config: Optional[InvocationJobVpcConfigArgs] = None)
    func NewInvocationJob(ctx *Context, name string, args InvocationJobArgs, opts ...ResourceOption) (*InvocationJob, error)
    public InvocationJob(string name, InvocationJobArgs args, CustomResourceOptions? opts = null)
    public InvocationJob(String name, InvocationJobArgs args)
    public InvocationJob(String name, InvocationJobArgs args, CustomResourceOptions options)
    
    type: aws:bedrockmodel:InvocationJob
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "aws_bedrockmodel_invocation_job" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args InvocationJobArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args InvocationJobArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args InvocationJobArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args InvocationJobArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args InvocationJobArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var invocationJobResource = new Aws.BedrockModel.InvocationJob("invocationJobResource", new()
    {
        InputDataConfig = new Aws.BedrockModel.Inputs.InvocationJobInputDataConfigArgs
        {
            S3InputDataConfig = new Aws.BedrockModel.Inputs.InvocationJobInputDataConfigS3InputDataConfigArgs
            {
                S3Uri = "string",
                S3BucketOwner = "string",
                S3InputFormat = "string",
            },
        },
        JobName = "string",
        ModelId = "string",
        OutputDataConfig = new Aws.BedrockModel.Inputs.InvocationJobOutputDataConfigArgs
        {
            S3OutputDataConfig = new Aws.BedrockModel.Inputs.InvocationJobOutputDataConfigS3OutputDataConfigArgs
            {
                S3Uri = "string",
                S3BucketOwner = "string",
                S3EncryptionKeyId = "string",
            },
        },
        RoleArn = "string",
        Region = "string",
        SkipDestroy = false,
        TimeoutDurationInHours = 0,
        Timeouts = new Aws.BedrockModel.Inputs.InvocationJobTimeoutsArgs
        {
            Create = "string",
            Delete = "string",
        },
        VpcConfig = new Aws.BedrockModel.Inputs.InvocationJobVpcConfigArgs
        {
            SecurityGroupIds = new[]
            {
                "string",
            },
            SubnetIds = new[]
            {
                "string",
            },
        },
    });
    
    example, err := bedrockmodel.NewInvocationJob(ctx, "invocationJobResource", &bedrockmodel.InvocationJobArgs{
    	InputDataConfig: &bedrockmodel.InvocationJobInputDataConfigArgs{
    		S3InputDataConfig: &bedrockmodel.InvocationJobInputDataConfigS3InputDataConfigArgs{
    			S3Uri:         pulumi.String("string"),
    			S3BucketOwner: pulumi.String("string"),
    			S3InputFormat: pulumi.String("string"),
    		},
    	},
    	JobName: pulumi.String("string"),
    	ModelId: pulumi.String("string"),
    	OutputDataConfig: &bedrockmodel.InvocationJobOutputDataConfigArgs{
    		S3OutputDataConfig: &bedrockmodel.InvocationJobOutputDataConfigS3OutputDataConfigArgs{
    			S3Uri:             pulumi.String("string"),
    			S3BucketOwner:     pulumi.String("string"),
    			S3EncryptionKeyId: pulumi.String("string"),
    		},
    	},
    	RoleArn:                pulumi.String("string"),
    	Region:                 pulumi.String("string"),
    	SkipDestroy:            pulumi.Bool(false),
    	TimeoutDurationInHours: pulumi.Int(0),
    	Timeouts: &bedrockmodel.InvocationJobTimeoutsArgs{
    		Create: pulumi.String("string"),
    		Delete: pulumi.String("string"),
    	},
    	VpcConfig: &bedrockmodel.InvocationJobVpcConfigArgs{
    		SecurityGroupIds: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		SubnetIds: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    	},
    })
    
    resource "aws_bedrockmodel_invocation_job" "invocationJobResource" {
      lifecycle {
        create_before_destroy = true
      }
      input_data_config = {
        s3_input_data_config = {
          s3_uri          = "string"
          s3_bucket_owner = "string"
          s3_input_format = "string"
        }
      }
      job_name = "string"
      model_id = "string"
      output_data_config = {
        s3_output_data_config = {
          s3_uri               = "string"
          s3_bucket_owner      = "string"
          s3_encryption_key_id = "string"
        }
      }
      role_arn                  = "string"
      region                    = "string"
      skip_destroy              = false
      timeout_duration_in_hours = 0
      timeouts = {
        create = "string"
        delete = "string"
      }
      vpc_config = {
        security_group_ids = ["string"]
        subnet_ids         = ["string"]
      }
    }
    
    var invocationJobResource = new InvocationJob("invocationJobResource", InvocationJobArgs.builder()
        .inputDataConfig(InvocationJobInputDataConfigArgs.builder()
            .s3InputDataConfig(InvocationJobInputDataConfigS3InputDataConfigArgs.builder()
                .s3Uri("string")
                .s3BucketOwner("string")
                .s3InputFormat("string")
                .build())
            .build())
        .jobName("string")
        .modelId("string")
        .outputDataConfig(InvocationJobOutputDataConfigArgs.builder()
            .s3OutputDataConfig(InvocationJobOutputDataConfigS3OutputDataConfigArgs.builder()
                .s3Uri("string")
                .s3BucketOwner("string")
                .s3EncryptionKeyId("string")
                .build())
            .build())
        .roleArn("string")
        .region("string")
        .skipDestroy(false)
        .timeoutDurationInHours(0)
        .timeouts(InvocationJobTimeoutsArgs.builder()
            .create("string")
            .delete("string")
            .build())
        .vpcConfig(InvocationJobVpcConfigArgs.builder()
            .securityGroupIds("string")
            .subnetIds("string")
            .build())
        .build());
    
    invocation_job_resource = aws.bedrockmodel.InvocationJob("invocationJobResource",
        input_data_config={
            "s3_input_data_config": {
                "s3_uri": "string",
                "s3_bucket_owner": "string",
                "s3_input_format": "string",
            },
        },
        job_name="string",
        model_id="string",
        output_data_config={
            "s3_output_data_config": {
                "s3_uri": "string",
                "s3_bucket_owner": "string",
                "s3_encryption_key_id": "string",
            },
        },
        role_arn="string",
        region="string",
        skip_destroy=False,
        timeout_duration_in_hours=0,
        timeouts={
            "create": "string",
            "delete": "string",
        },
        vpc_config={
            "security_group_ids": ["string"],
            "subnet_ids": ["string"],
        })
    
    const invocationJobResource = new aws.bedrockmodel.InvocationJob("invocationJobResource", {
        inputDataConfig: {
            s3InputDataConfig: {
                s3Uri: "string",
                s3BucketOwner: "string",
                s3InputFormat: "string",
            },
        },
        jobName: "string",
        modelId: "string",
        outputDataConfig: {
            s3OutputDataConfig: {
                s3Uri: "string",
                s3BucketOwner: "string",
                s3EncryptionKeyId: "string",
            },
        },
        roleArn: "string",
        region: "string",
        skipDestroy: false,
        timeoutDurationInHours: 0,
        timeouts: {
            create: "string",
            "delete": "string",
        },
        vpcConfig: {
            securityGroupIds: ["string"],
            subnetIds: ["string"],
        },
    });
    
    type: aws:bedrockmodel:InvocationJob
    properties:
        inputDataConfig:
            s3InputDataConfig:
                s3BucketOwner: string
                s3InputFormat: string
                s3Uri: string
        jobName: string
        modelId: string
        outputDataConfig:
            s3OutputDataConfig:
                s3BucketOwner: string
                s3EncryptionKeyId: string
                s3Uri: string
        region: string
        roleArn: string
        skipDestroy: false
        timeoutDurationInHours: 0
        timeouts:
            create: string
            delete: string
        vpcConfig:
            securityGroupIds:
                - string
            subnetIds:
                - string
    

    InvocationJob Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The InvocationJob resource accepts the following input properties:

    InputDataConfig InvocationJobInputDataConfig
    Location of the input data for the batch inference job. See inputDataConfig Block below.
    JobName string
    Name for the batch inference job.
    ModelId string
    Identifier of the foundation model, or inference profile, to use for the batch inference job.
    OutputDataConfig InvocationJobOutputDataConfig
    Location where the results of the batch inference job are stored. See outputDataConfig Block below.
    RoleArn string

    ARN of the IAM service role that Amazon Bedrock can assume to carry out and manage the batch inference job. See Create a service role for batch inference.

    The following arguments are optional:

    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    SkipDestroy bool
    Whether to leave the batch inference job in its current state when destroying the resource, instead of stopping it.
    TimeoutDurationInHours int
    Number of hours after which to force the batch inference job to time out.
    Timeouts InvocationJobTimeouts
    VpcConfig InvocationJobVpcConfig
    VPC configuration for the data used by the batch inference job. See vpcConfig Block below.
    InputDataConfig InvocationJobInputDataConfigArgs
    Location of the input data for the batch inference job. See inputDataConfig Block below.
    JobName string
    Name for the batch inference job.
    ModelId string
    Identifier of the foundation model, or inference profile, to use for the batch inference job.
    OutputDataConfig InvocationJobOutputDataConfigArgs
    Location where the results of the batch inference job are stored. See outputDataConfig Block below.
    RoleArn string

    ARN of the IAM service role that Amazon Bedrock can assume to carry out and manage the batch inference job. See Create a service role for batch inference.

    The following arguments are optional:

    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    SkipDestroy bool
    Whether to leave the batch inference job in its current state when destroying the resource, instead of stopping it.
    TimeoutDurationInHours int
    Number of hours after which to force the batch inference job to time out.
    Timeouts InvocationJobTimeoutsArgs
    VpcConfig InvocationJobVpcConfigArgs
    VPC configuration for the data used by the batch inference job. See vpcConfig Block below.
    input_data_config object
    Location of the input data for the batch inference job. See inputDataConfig Block below.
    job_name string
    Name for the batch inference job.
    model_id string
    Identifier of the foundation model, or inference profile, to use for the batch inference job.
    output_data_config object
    Location where the results of the batch inference job are stored. See outputDataConfig Block below.
    role_arn string

    ARN of the IAM service role that Amazon Bedrock can assume to carry out and manage the batch inference job. See Create a service role for batch inference.

    The following arguments are optional:

    region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    skip_destroy bool
    Whether to leave the batch inference job in its current state when destroying the resource, instead of stopping it.
    timeout_duration_in_hours number
    Number of hours after which to force the batch inference job to time out.
    timeouts object
    vpc_config object
    VPC configuration for the data used by the batch inference job. See vpcConfig Block below.
    inputDataConfig InvocationJobInputDataConfig
    Location of the input data for the batch inference job. See inputDataConfig Block below.
    jobName String
    Name for the batch inference job.
    modelId String
    Identifier of the foundation model, or inference profile, to use for the batch inference job.
    outputDataConfig InvocationJobOutputDataConfig
    Location where the results of the batch inference job are stored. See outputDataConfig Block below.
    roleArn String

    ARN of the IAM service role that Amazon Bedrock can assume to carry out and manage the batch inference job. See Create a service role for batch inference.

    The following arguments are optional:

    region String
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    skipDestroy Boolean
    Whether to leave the batch inference job in its current state when destroying the resource, instead of stopping it.
    timeoutDurationInHours Integer
    Number of hours after which to force the batch inference job to time out.
    timeouts InvocationJobTimeouts
    vpcConfig InvocationJobVpcConfig
    VPC configuration for the data used by the batch inference job. See vpcConfig Block below.
    inputDataConfig InvocationJobInputDataConfig
    Location of the input data for the batch inference job. See inputDataConfig Block below.
    jobName string
    Name for the batch inference job.
    modelId string
    Identifier of the foundation model, or inference profile, to use for the batch inference job.
    outputDataConfig InvocationJobOutputDataConfig
    Location where the results of the batch inference job are stored. See outputDataConfig Block below.
    roleArn string

    ARN of the IAM service role that Amazon Bedrock can assume to carry out and manage the batch inference job. See Create a service role for batch inference.

    The following arguments are optional:

    region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    skipDestroy boolean
    Whether to leave the batch inference job in its current state when destroying the resource, instead of stopping it.
    timeoutDurationInHours number
    Number of hours after which to force the batch inference job to time out.
    timeouts InvocationJobTimeouts
    vpcConfig InvocationJobVpcConfig
    VPC configuration for the data used by the batch inference job. See vpcConfig Block below.
    input_data_config InvocationJobInputDataConfigArgs
    Location of the input data for the batch inference job. See inputDataConfig Block below.
    job_name str
    Name for the batch inference job.
    model_id str
    Identifier of the foundation model, or inference profile, to use for the batch inference job.
    output_data_config InvocationJobOutputDataConfigArgs
    Location where the results of the batch inference job are stored. See outputDataConfig Block below.
    role_arn str

    ARN of the IAM service role that Amazon Bedrock can assume to carry out and manage the batch inference job. See Create a service role for batch inference.

    The following arguments are optional:

    region str
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    skip_destroy bool
    Whether to leave the batch inference job in its current state when destroying the resource, instead of stopping it.
    timeout_duration_in_hours int
    Number of hours after which to force the batch inference job to time out.
    timeouts InvocationJobTimeoutsArgs
    vpc_config InvocationJobVpcConfigArgs
    VPC configuration for the data used by the batch inference job. See vpcConfig Block below.
    inputDataConfig Property Map
    Location of the input data for the batch inference job. See inputDataConfig Block below.
    jobName String
    Name for the batch inference job.
    modelId String
    Identifier of the foundation model, or inference profile, to use for the batch inference job.
    outputDataConfig Property Map
    Location where the results of the batch inference job are stored. See outputDataConfig Block below.
    roleArn String

    ARN of the IAM service role that Amazon Bedrock can assume to carry out and manage the batch inference job. See Create a service role for batch inference.

    The following arguments are optional:

    region String
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    skipDestroy Boolean
    Whether to leave the batch inference job in its current state when destroying the resource, instead of stopping it.
    timeoutDurationInHours Number
    Number of hours after which to force the batch inference job to time out.
    timeouts Property Map
    vpcConfig Property Map
    VPC configuration for the data used by the batch inference job. See vpcConfig Block below.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the InvocationJob resource produces the following output properties:

    EndTime string
    Time at which the batch inference job ended.
    ErrorRecordCount int
    Number of records that failed to process in the batch inference job.
    Id string
    The provider-assigned unique ID for this managed resource.
    JobArn string
    ARN of the batch inference job.
    JobExpirationTime string
    Time at which the batch inference job times or timed out.
    ModelInvocationType string
    Invocation endpoint used for the batch inference job.
    ProcessedRecordCount int
    Number of records that have been processed in the batch inference job.
    Status string
    Status of the batch inference job.
    SubmitTime string
    Time at which the batch inference job was submitted.
    SuccessRecordCount int
    Number of records that were successfully processed in the batch inference job.
    TotalRecordCount int
    Total number of records in the batch inference job.
    EndTime string
    Time at which the batch inference job ended.
    ErrorRecordCount int
    Number of records that failed to process in the batch inference job.
    Id string
    The provider-assigned unique ID for this managed resource.
    JobArn string
    ARN of the batch inference job.
    JobExpirationTime string
    Time at which the batch inference job times or timed out.
    ModelInvocationType string
    Invocation endpoint used for the batch inference job.
    ProcessedRecordCount int
    Number of records that have been processed in the batch inference job.
    Status string
    Status of the batch inference job.
    SubmitTime string
    Time at which the batch inference job was submitted.
    SuccessRecordCount int
    Number of records that were successfully processed in the batch inference job.
    TotalRecordCount int
    Total number of records in the batch inference job.
    end_time string
    Time at which the batch inference job ended.
    error_record_count number
    Number of records that failed to process in the batch inference job.
    id string
    The provider-assigned unique ID for this managed resource.
    job_arn string
    ARN of the batch inference job.
    job_expiration_time string
    Time at which the batch inference job times or timed out.
    model_invocation_type string
    Invocation endpoint used for the batch inference job.
    processed_record_count number
    Number of records that have been processed in the batch inference job.
    status string
    Status of the batch inference job.
    submit_time string
    Time at which the batch inference job was submitted.
    success_record_count number
    Number of records that were successfully processed in the batch inference job.
    total_record_count number
    Total number of records in the batch inference job.
    endTime String
    Time at which the batch inference job ended.
    errorRecordCount Integer
    Number of records that failed to process in the batch inference job.
    id String
    The provider-assigned unique ID for this managed resource.
    jobArn String
    ARN of the batch inference job.
    jobExpirationTime String
    Time at which the batch inference job times or timed out.
    modelInvocationType String
    Invocation endpoint used for the batch inference job.
    processedRecordCount Integer
    Number of records that have been processed in the batch inference job.
    status String
    Status of the batch inference job.
    submitTime String
    Time at which the batch inference job was submitted.
    successRecordCount Integer
    Number of records that were successfully processed in the batch inference job.
    totalRecordCount Integer
    Total number of records in the batch inference job.
    endTime string
    Time at which the batch inference job ended.
    errorRecordCount number
    Number of records that failed to process in the batch inference job.
    id string
    The provider-assigned unique ID for this managed resource.
    jobArn string
    ARN of the batch inference job.
    jobExpirationTime string
    Time at which the batch inference job times or timed out.
    modelInvocationType string
    Invocation endpoint used for the batch inference job.
    processedRecordCount number
    Number of records that have been processed in the batch inference job.
    status string
    Status of the batch inference job.
    submitTime string
    Time at which the batch inference job was submitted.
    successRecordCount number
    Number of records that were successfully processed in the batch inference job.
    totalRecordCount number
    Total number of records in the batch inference job.
    end_time str
    Time at which the batch inference job ended.
    error_record_count int
    Number of records that failed to process in the batch inference job.
    id str
    The provider-assigned unique ID for this managed resource.
    job_arn str
    ARN of the batch inference job.
    job_expiration_time str
    Time at which the batch inference job times or timed out.
    model_invocation_type str
    Invocation endpoint used for the batch inference job.
    processed_record_count int
    Number of records that have been processed in the batch inference job.
    status str
    Status of the batch inference job.
    submit_time str
    Time at which the batch inference job was submitted.
    success_record_count int
    Number of records that were successfully processed in the batch inference job.
    total_record_count int
    Total number of records in the batch inference job.
    endTime String
    Time at which the batch inference job ended.
    errorRecordCount Number
    Number of records that failed to process in the batch inference job.
    id String
    The provider-assigned unique ID for this managed resource.
    jobArn String
    ARN of the batch inference job.
    jobExpirationTime String
    Time at which the batch inference job times or timed out.
    modelInvocationType String
    Invocation endpoint used for the batch inference job.
    processedRecordCount Number
    Number of records that have been processed in the batch inference job.
    status String
    Status of the batch inference job.
    submitTime String
    Time at which the batch inference job was submitted.
    successRecordCount Number
    Number of records that were successfully processed in the batch inference job.
    totalRecordCount Number
    Total number of records in the batch inference job.

    Look up Existing InvocationJob Resource

    Get an existing InvocationJob resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: InvocationJobState, opts?: CustomResourceOptions): InvocationJob
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            end_time: Optional[str] = None,
            error_record_count: Optional[int] = None,
            input_data_config: Optional[InvocationJobInputDataConfigArgs] = None,
            job_arn: Optional[str] = None,
            job_expiration_time: Optional[str] = None,
            job_name: Optional[str] = None,
            model_id: Optional[str] = None,
            model_invocation_type: Optional[str] = None,
            output_data_config: Optional[InvocationJobOutputDataConfigArgs] = None,
            processed_record_count: Optional[int] = None,
            region: Optional[str] = None,
            role_arn: Optional[str] = None,
            skip_destroy: Optional[bool] = None,
            status: Optional[str] = None,
            submit_time: Optional[str] = None,
            success_record_count: Optional[int] = None,
            timeout_duration_in_hours: Optional[int] = None,
            timeouts: Optional[InvocationJobTimeoutsArgs] = None,
            total_record_count: Optional[int] = None,
            vpc_config: Optional[InvocationJobVpcConfigArgs] = None) -> InvocationJob
    func GetInvocationJob(ctx *Context, name string, id IDInput, state *InvocationJobState, opts ...ResourceOption) (*InvocationJob, error)
    public static InvocationJob Get(string name, Input<string> id, InvocationJobState? state, CustomResourceOptions? opts = null)
    public static InvocationJob get(String name, Output<String> id, InvocationJobState state, CustomResourceOptions options)
    resources:  _:    type: aws:bedrockmodel:InvocationJob    get:      id: ${id}
    import {
      to = aws_bedrockmodel_invocation_job.example
      id = "${id}"
    }
    
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    EndTime string
    Time at which the batch inference job ended.
    ErrorRecordCount int
    Number of records that failed to process in the batch inference job.
    InputDataConfig InvocationJobInputDataConfig
    Location of the input data for the batch inference job. See inputDataConfig Block below.
    JobArn string
    ARN of the batch inference job.
    JobExpirationTime string
    Time at which the batch inference job times or timed out.
    JobName string
    Name for the batch inference job.
    ModelId string
    Identifier of the foundation model, or inference profile, to use for the batch inference job.
    ModelInvocationType string
    Invocation endpoint used for the batch inference job.
    OutputDataConfig InvocationJobOutputDataConfig
    Location where the results of the batch inference job are stored. See outputDataConfig Block below.
    ProcessedRecordCount int
    Number of records that have been processed in the batch inference job.
    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    RoleArn string

    ARN of the IAM service role that Amazon Bedrock can assume to carry out and manage the batch inference job. See Create a service role for batch inference.

    The following arguments are optional:

    SkipDestroy bool
    Whether to leave the batch inference job in its current state when destroying the resource, instead of stopping it.
    Status string
    Status of the batch inference job.
    SubmitTime string
    Time at which the batch inference job was submitted.
    SuccessRecordCount int
    Number of records that were successfully processed in the batch inference job.
    TimeoutDurationInHours int
    Number of hours after which to force the batch inference job to time out.
    Timeouts InvocationJobTimeouts
    TotalRecordCount int
    Total number of records in the batch inference job.
    VpcConfig InvocationJobVpcConfig
    VPC configuration for the data used by the batch inference job. See vpcConfig Block below.
    EndTime string
    Time at which the batch inference job ended.
    ErrorRecordCount int
    Number of records that failed to process in the batch inference job.
    InputDataConfig InvocationJobInputDataConfigArgs
    Location of the input data for the batch inference job. See inputDataConfig Block below.
    JobArn string
    ARN of the batch inference job.
    JobExpirationTime string
    Time at which the batch inference job times or timed out.
    JobName string
    Name for the batch inference job.
    ModelId string
    Identifier of the foundation model, or inference profile, to use for the batch inference job.
    ModelInvocationType string
    Invocation endpoint used for the batch inference job.
    OutputDataConfig InvocationJobOutputDataConfigArgs
    Location where the results of the batch inference job are stored. See outputDataConfig Block below.
    ProcessedRecordCount int
    Number of records that have been processed in the batch inference job.
    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    RoleArn string

    ARN of the IAM service role that Amazon Bedrock can assume to carry out and manage the batch inference job. See Create a service role for batch inference.

    The following arguments are optional:

    SkipDestroy bool
    Whether to leave the batch inference job in its current state when destroying the resource, instead of stopping it.
    Status string
    Status of the batch inference job.
    SubmitTime string
    Time at which the batch inference job was submitted.
    SuccessRecordCount int
    Number of records that were successfully processed in the batch inference job.
    TimeoutDurationInHours int
    Number of hours after which to force the batch inference job to time out.
    Timeouts InvocationJobTimeoutsArgs
    TotalRecordCount int
    Total number of records in the batch inference job.
    VpcConfig InvocationJobVpcConfigArgs
    VPC configuration for the data used by the batch inference job. See vpcConfig Block below.
    end_time string
    Time at which the batch inference job ended.
    error_record_count number
    Number of records that failed to process in the batch inference job.
    input_data_config object
    Location of the input data for the batch inference job. See inputDataConfig Block below.
    job_arn string
    ARN of the batch inference job.
    job_expiration_time string
    Time at which the batch inference job times or timed out.
    job_name string
    Name for the batch inference job.
    model_id string
    Identifier of the foundation model, or inference profile, to use for the batch inference job.
    model_invocation_type string
    Invocation endpoint used for the batch inference job.
    output_data_config object
    Location where the results of the batch inference job are stored. See outputDataConfig Block below.
    processed_record_count number
    Number of records that have been processed in the batch inference job.
    region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    role_arn string

    ARN of the IAM service role that Amazon Bedrock can assume to carry out and manage the batch inference job. See Create a service role for batch inference.

    The following arguments are optional:

    skip_destroy bool
    Whether to leave the batch inference job in its current state when destroying the resource, instead of stopping it.
    status string
    Status of the batch inference job.
    submit_time string
    Time at which the batch inference job was submitted.
    success_record_count number
    Number of records that were successfully processed in the batch inference job.
    timeout_duration_in_hours number
    Number of hours after which to force the batch inference job to time out.
    timeouts object
    total_record_count number
    Total number of records in the batch inference job.
    vpc_config object
    VPC configuration for the data used by the batch inference job. See vpcConfig Block below.
    endTime String
    Time at which the batch inference job ended.
    errorRecordCount Integer
    Number of records that failed to process in the batch inference job.
    inputDataConfig InvocationJobInputDataConfig
    Location of the input data for the batch inference job. See inputDataConfig Block below.
    jobArn String
    ARN of the batch inference job.
    jobExpirationTime String
    Time at which the batch inference job times or timed out.
    jobName String
    Name for the batch inference job.
    modelId String
    Identifier of the foundation model, or inference profile, to use for the batch inference job.
    modelInvocationType String
    Invocation endpoint used for the batch inference job.
    outputDataConfig InvocationJobOutputDataConfig
    Location where the results of the batch inference job are stored. See outputDataConfig Block below.
    processedRecordCount Integer
    Number of records that have been processed in the batch inference job.
    region String
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    roleArn String

    ARN of the IAM service role that Amazon Bedrock can assume to carry out and manage the batch inference job. See Create a service role for batch inference.

    The following arguments are optional:

    skipDestroy Boolean
    Whether to leave the batch inference job in its current state when destroying the resource, instead of stopping it.
    status String
    Status of the batch inference job.
    submitTime String
    Time at which the batch inference job was submitted.
    successRecordCount Integer
    Number of records that were successfully processed in the batch inference job.
    timeoutDurationInHours Integer
    Number of hours after which to force the batch inference job to time out.
    timeouts InvocationJobTimeouts
    totalRecordCount Integer
    Total number of records in the batch inference job.
    vpcConfig InvocationJobVpcConfig
    VPC configuration for the data used by the batch inference job. See vpcConfig Block below.
    endTime string
    Time at which the batch inference job ended.
    errorRecordCount number
    Number of records that failed to process in the batch inference job.
    inputDataConfig InvocationJobInputDataConfig
    Location of the input data for the batch inference job. See inputDataConfig Block below.
    jobArn string
    ARN of the batch inference job.
    jobExpirationTime string
    Time at which the batch inference job times or timed out.
    jobName string
    Name for the batch inference job.
    modelId string
    Identifier of the foundation model, or inference profile, to use for the batch inference job.
    modelInvocationType string
    Invocation endpoint used for the batch inference job.
    outputDataConfig InvocationJobOutputDataConfig
    Location where the results of the batch inference job are stored. See outputDataConfig Block below.
    processedRecordCount number
    Number of records that have been processed in the batch inference job.
    region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    roleArn string

    ARN of the IAM service role that Amazon Bedrock can assume to carry out and manage the batch inference job. See Create a service role for batch inference.

    The following arguments are optional:

    skipDestroy boolean
    Whether to leave the batch inference job in its current state when destroying the resource, instead of stopping it.
    status string
    Status of the batch inference job.
    submitTime string
    Time at which the batch inference job was submitted.
    successRecordCount number
    Number of records that were successfully processed in the batch inference job.
    timeoutDurationInHours number
    Number of hours after which to force the batch inference job to time out.
    timeouts InvocationJobTimeouts
    totalRecordCount number
    Total number of records in the batch inference job.
    vpcConfig InvocationJobVpcConfig
    VPC configuration for the data used by the batch inference job. See vpcConfig Block below.
    end_time str
    Time at which the batch inference job ended.
    error_record_count int
    Number of records that failed to process in the batch inference job.
    input_data_config InvocationJobInputDataConfigArgs
    Location of the input data for the batch inference job. See inputDataConfig Block below.
    job_arn str
    ARN of the batch inference job.
    job_expiration_time str
    Time at which the batch inference job times or timed out.
    job_name str
    Name for the batch inference job.
    model_id str
    Identifier of the foundation model, or inference profile, to use for the batch inference job.
    model_invocation_type str
    Invocation endpoint used for the batch inference job.
    output_data_config InvocationJobOutputDataConfigArgs
    Location where the results of the batch inference job are stored. See outputDataConfig Block below.
    processed_record_count int
    Number of records that have been processed in the batch inference job.
    region str
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    role_arn str

    ARN of the IAM service role that Amazon Bedrock can assume to carry out and manage the batch inference job. See Create a service role for batch inference.

    The following arguments are optional:

    skip_destroy bool
    Whether to leave the batch inference job in its current state when destroying the resource, instead of stopping it.
    status str
    Status of the batch inference job.
    submit_time str
    Time at which the batch inference job was submitted.
    success_record_count int
    Number of records that were successfully processed in the batch inference job.
    timeout_duration_in_hours int
    Number of hours after which to force the batch inference job to time out.
    timeouts InvocationJobTimeoutsArgs
    total_record_count int
    Total number of records in the batch inference job.
    vpc_config InvocationJobVpcConfigArgs
    VPC configuration for the data used by the batch inference job. See vpcConfig Block below.
    endTime String
    Time at which the batch inference job ended.
    errorRecordCount Number
    Number of records that failed to process in the batch inference job.
    inputDataConfig Property Map
    Location of the input data for the batch inference job. See inputDataConfig Block below.
    jobArn String
    ARN of the batch inference job.
    jobExpirationTime String
    Time at which the batch inference job times or timed out.
    jobName String
    Name for the batch inference job.
    modelId String
    Identifier of the foundation model, or inference profile, to use for the batch inference job.
    modelInvocationType String
    Invocation endpoint used for the batch inference job.
    outputDataConfig Property Map
    Location where the results of the batch inference job are stored. See outputDataConfig Block below.
    processedRecordCount Number
    Number of records that have been processed in the batch inference job.
    region String
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    roleArn String

    ARN of the IAM service role that Amazon Bedrock can assume to carry out and manage the batch inference job. See Create a service role for batch inference.

    The following arguments are optional:

    skipDestroy Boolean
    Whether to leave the batch inference job in its current state when destroying the resource, instead of stopping it.
    status String
    Status of the batch inference job.
    submitTime String
    Time at which the batch inference job was submitted.
    successRecordCount Number
    Number of records that were successfully processed in the batch inference job.
    timeoutDurationInHours Number
    Number of hours after which to force the batch inference job to time out.
    timeouts Property Map
    totalRecordCount Number
    Total number of records in the batch inference job.
    vpcConfig Property Map
    VPC configuration for the data used by the batch inference job. See vpcConfig Block below.

    Supporting Types

    InvocationJobInputDataConfig, InvocationJobInputDataConfigArgs

    S3InputDataConfig InvocationJobInputDataConfigS3InputDataConfig
    Location of the S3 input data. See s3InputDataConfig Block below.
    S3InputDataConfig InvocationJobInputDataConfigS3InputDataConfig
    Location of the S3 input data. See s3InputDataConfig Block below.
    s3_input_data_config object
    Location of the S3 input data. See s3InputDataConfig Block below.
    s3InputDataConfig InvocationJobInputDataConfigS3InputDataConfig
    Location of the S3 input data. See s3InputDataConfig Block below.
    s3InputDataConfig InvocationJobInputDataConfigS3InputDataConfig
    Location of the S3 input data. See s3InputDataConfig Block below.
    s3_input_data_config InvocationJobInputDataConfigS3InputDataConfig
    Location of the S3 input data. See s3InputDataConfig Block below.
    s3InputDataConfig Property Map
    Location of the S3 input data. See s3InputDataConfig Block below.

    InvocationJobInputDataConfigS3InputDataConfig, InvocationJobInputDataConfigS3InputDataConfigArgs

    S3Uri string
    S3 location of the input data.
    S3BucketOwner string
    ID of the AWS account that owns the S3 bucket containing the input data.
    S3InputFormat string
    Format of the input data. Valid values: JSONL.
    S3Uri string
    S3 location of the input data.
    S3BucketOwner string
    ID of the AWS account that owns the S3 bucket containing the input data.
    S3InputFormat string
    Format of the input data. Valid values: JSONL.
    s3_uri string
    S3 location of the input data.
    s3_bucket_owner string
    ID of the AWS account that owns the S3 bucket containing the input data.
    s3_input_format string
    Format of the input data. Valid values: JSONL.
    s3Uri String
    S3 location of the input data.
    s3BucketOwner String
    ID of the AWS account that owns the S3 bucket containing the input data.
    s3InputFormat String
    Format of the input data. Valid values: JSONL.
    s3Uri string
    S3 location of the input data.
    s3BucketOwner string
    ID of the AWS account that owns the S3 bucket containing the input data.
    s3InputFormat string
    Format of the input data. Valid values: JSONL.
    s3_uri str
    S3 location of the input data.
    s3_bucket_owner str
    ID of the AWS account that owns the S3 bucket containing the input data.
    s3_input_format str
    Format of the input data. Valid values: JSONL.
    s3Uri String
    S3 location of the input data.
    s3BucketOwner String
    ID of the AWS account that owns the S3 bucket containing the input data.
    s3InputFormat String
    Format of the input data. Valid values: JSONL.

    InvocationJobOutputDataConfig, InvocationJobOutputDataConfigArgs

    S3OutputDataConfig InvocationJobOutputDataConfigS3OutputDataConfig
    Location of the S3 output data. See s3OutputDataConfig Block below.
    S3OutputDataConfig InvocationJobOutputDataConfigS3OutputDataConfig
    Location of the S3 output data. See s3OutputDataConfig Block below.
    s3_output_data_config object
    Location of the S3 output data. See s3OutputDataConfig Block below.
    s3OutputDataConfig InvocationJobOutputDataConfigS3OutputDataConfig
    Location of the S3 output data. See s3OutputDataConfig Block below.
    s3OutputDataConfig InvocationJobOutputDataConfigS3OutputDataConfig
    Location of the S3 output data. See s3OutputDataConfig Block below.
    s3_output_data_config InvocationJobOutputDataConfigS3OutputDataConfig
    Location of the S3 output data. See s3OutputDataConfig Block below.
    s3OutputDataConfig Property Map
    Location of the S3 output data. See s3OutputDataConfig Block below.

    InvocationJobOutputDataConfigS3OutputDataConfig, InvocationJobOutputDataConfigS3OutputDataConfigArgs

    S3Uri string
    S3 location where the results of the batch inference job are stored.
    S3BucketOwner string
    ID of the AWS account that owns the S3 bucket containing the output data.
    S3EncryptionKeyId string
    ARN of the KMS key that encrypts the S3 location of the output data.
    S3Uri string
    S3 location where the results of the batch inference job are stored.
    S3BucketOwner string
    ID of the AWS account that owns the S3 bucket containing the output data.
    S3EncryptionKeyId string
    ARN of the KMS key that encrypts the S3 location of the output data.
    s3_uri string
    S3 location where the results of the batch inference job are stored.
    s3_bucket_owner string
    ID of the AWS account that owns the S3 bucket containing the output data.
    s3_encryption_key_id string
    ARN of the KMS key that encrypts the S3 location of the output data.
    s3Uri String
    S3 location where the results of the batch inference job are stored.
    s3BucketOwner String
    ID of the AWS account that owns the S3 bucket containing the output data.
    s3EncryptionKeyId String
    ARN of the KMS key that encrypts the S3 location of the output data.
    s3Uri string
    S3 location where the results of the batch inference job are stored.
    s3BucketOwner string
    ID of the AWS account that owns the S3 bucket containing the output data.
    s3EncryptionKeyId string
    ARN of the KMS key that encrypts the S3 location of the output data.
    s3_uri str
    S3 location where the results of the batch inference job are stored.
    s3_bucket_owner str
    ID of the AWS account that owns the S3 bucket containing the output data.
    s3_encryption_key_id str
    ARN of the KMS key that encrypts the S3 location of the output data.
    s3Uri String
    S3 location where the results of the batch inference job are stored.
    s3BucketOwner String
    ID of the AWS account that owns the S3 bucket containing the output data.
    s3EncryptionKeyId String
    ARN of the KMS key that encrypts the S3 location of the output data.

    InvocationJobTimeouts, InvocationJobTimeoutsArgs

    Create string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    Delete string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    Create string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    Delete string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    create string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    delete string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    create String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    delete String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    create string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    delete string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    create str
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    delete str
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    create String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    delete String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.

    InvocationJobVpcConfig, InvocationJobVpcConfigArgs

    SecurityGroupIds List<string>
    IDs of the security groups in the VPC to use.
    SubnetIds List<string>
    IDs of the subnets in the VPC to use.
    SecurityGroupIds []string
    IDs of the security groups in the VPC to use.
    SubnetIds []string
    IDs of the subnets in the VPC to use.
    security_group_ids list(string)
    IDs of the security groups in the VPC to use.
    subnet_ids list(string)
    IDs of the subnets in the VPC to use.
    securityGroupIds List<String>
    IDs of the security groups in the VPC to use.
    subnetIds List<String>
    IDs of the subnets in the VPC to use.
    securityGroupIds string[]
    IDs of the security groups in the VPC to use.
    subnetIds string[]
    IDs of the subnets in the VPC to use.
    security_group_ids Sequence[str]
    IDs of the security groups in the VPC to use.
    subnet_ids Sequence[str]
    IDs of the subnets in the VPC to use.
    securityGroupIds List<String>
    IDs of the security groups in the VPC to use.
    subnetIds List<String>
    IDs of the subnets in the VPC to use.

    Import

    Identity Schema

    Required

    • jobArn (String) ARN of the batch inference job.

    Using pulumi import, import Bedrock Model Invocation Job using the jobArn. For example:

    $ pulumi import aws:bedrockmodel/invocationJob:InvocationJob example arn:aws:bedrock:us-west-2:123456789012:model-invocation-job/abcdefgh1234
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    AWS Classic pulumi/pulumi-aws
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the aws Terraform Provider.
    aws logo aws logo
    Viewing docs for AWS v7.46.0
    published on Thursday, Sep 10, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial