1. Registry
  2. Packages
  3. AWS
  4. API Docs
  5. bedrockdataautomation
  6. Library
Viewing docs for AWS v7.55.0
published on Friday, Nov 13, 2026 by Pulumi
aws logo aws logo
Viewing docs for AWS v7.55.0
published on Friday, Nov 13, 2026 by Pulumi

    Manages an Amazon Bedrock Data Automation Library. A library holds entities, such as custom vocabulary, that a project uses when it processes files.

    Example Usage

    Basic Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const example = new aws.bedrockdataautomation.Library("example", {
        name: "example",
        description: "Medical vocabulary",
    });
    
    import pulumi
    import pulumi_aws as aws
    
    example = aws.bedrockdataautomation.Library("example",
        name="example",
        description="Medical vocabulary")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/bedrockdataautomation"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := bedrockdataautomation.NewLibrary(ctx, "example", &bedrockdataautomation.LibraryArgs{
    			Name:        pulumi.String("example"),
    			Description: pulumi.String("Medical vocabulary"),
    		})
    		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.BedrockDataAutomation.Library("example", new()
        {
            Name = "example",
            Description = "Medical vocabulary",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.bedrockdataautomation.Library;
    import com.pulumi.aws.bedrockdataautomation.LibraryArgs;
    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 Library("example", LibraryArgs.builder()
                .name("example")
                .description("Medical vocabulary")
                .build());
    
        }
    }
    
    resources:
      example:
        type: aws:bedrockdataautomation:Library
        properties:
          name: example
          description: Medical vocabulary
    
    terraform {
      required_providers {
        aws = {
          source = "pulumi/aws"
        }
      }
    }
    
    resource "aws_bedrockdataautomation_library" "example" {
      lifecycle {
        create_before_destroy = true
      }
      name        = "example"
      description = "Medical vocabulary"
    }
    

    Use With a Project

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const example = new aws.bedrockdataautomation.Library("example", {name: "example"});
    const exampleProject = new aws.bedrockdataautomation.Project("example", {
        dataAutomationLibraryConfiguration: {
            library: {
                libraryArn: example.arn,
            },
        },
        name: "example",
    });
    
    import pulumi
    import pulumi_aws as aws
    
    example = aws.bedrockdataautomation.Library("example", name="example")
    example_project = aws.bedrockdataautomation.Project("example",
        data_automation_library_configuration={
            "library": {
                "library_arn": example.arn,
            },
        },
        name="example")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/bedrockdataautomation"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		example, err := bedrockdataautomation.NewLibrary(ctx, "example", &bedrockdataautomation.LibraryArgs{
    			Name: pulumi.String("example"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = bedrockdataautomation.NewProject(ctx, "example", &bedrockdataautomation.ProjectArgs{
    			DataAutomationLibraryConfiguration: &bedrockdataautomation.ProjectDataAutomationLibraryConfigurationArgs{
    				Library: &bedrockdataautomation.ProjectDataAutomationLibraryConfigurationLibraryArgs{
    					LibraryArn: example.Arn,
    				},
    			},
    			Name: pulumi.String("example"),
    		})
    		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.BedrockDataAutomation.Library("example", new()
        {
            Name = "example",
        });
    
        var exampleProject = new Aws.BedrockDataAutomation.Project("example", new()
        {
            DataAutomationLibraryConfiguration = new Aws.BedrockDataAutomation.Inputs.ProjectDataAutomationLibraryConfigurationArgs
            {
                Library = new Aws.BedrockDataAutomation.Inputs.ProjectDataAutomationLibraryConfigurationLibraryArgs
                {
                    LibraryArn = example.Arn,
                },
            },
            Name = "example",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.bedrockdataautomation.Library;
    import com.pulumi.aws.bedrockdataautomation.LibraryArgs;
    import com.pulumi.aws.bedrockdataautomation.Project;
    import com.pulumi.aws.bedrockdataautomation.ProjectArgs;
    import com.pulumi.aws.bedrockdataautomation.inputs.ProjectDataAutomationLibraryConfigurationArgs;
    import com.pulumi.aws.bedrockdataautomation.inputs.ProjectDataAutomationLibraryConfigurationLibraryArgs;
    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 Library("example", LibraryArgs.builder()
                .name("example")
                .build());
    
            var exampleProject = new Project("exampleProject", ProjectArgs.builder()
                .dataAutomationLibraryConfiguration(ProjectDataAutomationLibraryConfigurationArgs.builder()
                    .library(ProjectDataAutomationLibraryConfigurationLibraryArgs.builder()
                        .libraryArn(example.arn())
                        .build())
                    .build())
                .name("example")
                .build());
    
        }
    }
    
    resources:
      example:
        type: aws:bedrockdataautomation:Library
        properties:
          name: example
      exampleProject:
        type: aws:bedrockdataautomation:Project
        name: example
        properties:
          dataAutomationLibraryConfiguration:
            library:
              libraryArn: ${example.arn}
          name: example
    
    terraform {
      required_providers {
        aws = {
          source = "pulumi/aws"
        }
      }
    }
    
    resource "aws_bedrockdataautomation_library" "example" {
      lifecycle {
        create_before_destroy = true
      }
      name = "example"
    }
    resource "aws_bedrockdataautomation_project" "example" {
      lifecycle {
        create_before_destroy = true
      }
      data_automation_library_configuration {
        library {
          library_arn = aws_bedrockdataautomation_library.example.arn
        }
      }
      name = "example"
    }
    

    Create Library Resource

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

    Constructor syntax

    new Library(name: string, args?: LibraryArgs, opts?: CustomResourceOptions);
    @overload
    def Library(resource_name: str,
                args: Optional[LibraryArgs] = None,
                opts: Optional[ResourceOptions] = None)
    
    @overload
    def Library(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                description: Optional[str] = None,
                encryption_configuration: Optional[LibraryEncryptionConfigurationArgs] = None,
                name: Optional[str] = None,
                region: Optional[str] = None,
                tags: Optional[Mapping[str, str]] = None,
                timeouts: Optional[LibraryTimeoutsArgs] = None)
    func NewLibrary(ctx *Context, name string, args *LibraryArgs, opts ...ResourceOption) (*Library, error)
    public Library(string name, LibraryArgs? args = null, CustomResourceOptions? opts = null)
    public Library(String name, LibraryArgs args)
    public Library(String name, LibraryArgs args, CustomResourceOptions options)
    
    type: aws:bedrockdataautomation:Library
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "aws_bedrockdataautomation_library" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args LibraryArgs
    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 LibraryArgs
    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 LibraryArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args LibraryArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args LibraryArgs
    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 libraryResource = new Aws.BedrockDataAutomation.Library("libraryResource", new()
    {
        Description = "string",
        EncryptionConfiguration = new Aws.BedrockDataAutomation.Inputs.LibraryEncryptionConfigurationArgs
        {
            KmsKeyId = "string",
            KmsEncryptionContext = 
            {
                { "string", "string" },
            },
        },
        Name = "string",
        Region = "string",
        Tags = 
        {
            { "string", "string" },
        },
        Timeouts = new Aws.BedrockDataAutomation.Inputs.LibraryTimeoutsArgs
        {
            Delete = "string",
        },
    });
    
    example, err := bedrockdataautomation.NewLibrary(ctx, "libraryResource", &bedrockdataautomation.LibraryArgs{
    	Description: pulumi.String("string"),
    	EncryptionConfiguration: &bedrockdataautomation.LibraryEncryptionConfigurationArgs{
    		KmsKeyId: pulumi.String("string"),
    		KmsEncryptionContext: pulumi.StringMap{
    			"string": pulumi.String("string"),
    		},
    	},
    	Name:   pulumi.String("string"),
    	Region: pulumi.String("string"),
    	Tags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Timeouts: &bedrockdataautomation.LibraryTimeoutsArgs{
    		Delete: pulumi.String("string"),
    	},
    })
    
    resource "aws_bedrockdataautomation_library" "libraryResource" {
      lifecycle {
        create_before_destroy = true
      }
      description = "string"
      encryption_configuration = {
        kms_key_id = "string"
        kms_encryption_context = {
          "string" = "string"
        }
      }
      name   = "string"
      region = "string"
      tags = {
        "string" = "string"
      }
      _ {
        timeouts = {
          delete = "string"
        }
      }
    }
    
    var libraryResource = new Library("libraryResource", LibraryArgs.builder()
        .description("string")
        .encryptionConfiguration(LibraryEncryptionConfigurationArgs.builder()
            .kmsKeyId("string")
            .kmsEncryptionContext(Map.of("string", "string"))
            .build())
        .name("string")
        .region("string")
        .tags(Map.of("string", "string"))
        .timeouts(LibraryTimeoutsArgs.builder()
            .delete("string")
            .build())
        .build());
    
    library_resource = aws.bedrockdataautomation.Library("libraryResource",
        description="string",
        encryption_configuration={
            "kms_key_id": "string",
            "kms_encryption_context": {
                "string": "string",
            },
        },
        name="string",
        region="string",
        tags={
            "string": "string",
        },
        timeouts={
            "delete": "string",
        })
    
    const libraryResource = new aws.bedrockdataautomation.Library("libraryResource", {
        description: "string",
        encryptionConfiguration: {
            kmsKeyId: "string",
            kmsEncryptionContext: {
                string: "string",
            },
        },
        name: "string",
        region: "string",
        tags: {
            string: "string",
        },
        timeouts: {
            "delete": "string",
        },
    });
    
    type: aws:bedrockdataautomation:Library
    properties:
        description: string
        encryptionConfiguration:
            kmsEncryptionContext:
                string: string
            kmsKeyId: string
        name: string
        region: string
        tags:
            string: string
        timeouts:
            delete: string
    

    Library 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 Library resource accepts the following input properties:

    Description string
    Description of the library. Removing the description forces a new resource, because the service can't remove a description from an existing library.
    EncryptionConfiguration LibraryEncryptionConfiguration
    Encryption settings for the library. Changing this block forces a new resource. See encryptionConfiguration Block below.
    Name string

    Name of the library. Changing this value forces a new resource.

    The following arguments are optional:

    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    Tags Dictionary<string, string>
    Map of tags assigned to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    Timeouts LibraryTimeouts
    Description string
    Description of the library. Removing the description forces a new resource, because the service can't remove a description from an existing library.
    EncryptionConfiguration LibraryEncryptionConfigurationArgs
    Encryption settings for the library. Changing this block forces a new resource. See encryptionConfiguration Block below.
    Name string

    Name of the library. Changing this value forces a new resource.

    The following arguments are optional:

    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    Tags map[string]string
    Map of tags assigned to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    Timeouts LibraryTimeoutsArgs
    description string
    Description of the library. Removing the description forces a new resource, because the service can't remove a description from an existing library.
    encryption_configuration object
    Encryption settings for the library. Changing this block forces a new resource. See encryptionConfiguration Block below.
    name string

    Name of the library. Changing this value forces a new resource.

    The following arguments are optional:

    region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    tags map(string)
    Map of tags assigned to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    timeouts object
    description String
    Description of the library. Removing the description forces a new resource, because the service can't remove a description from an existing library.
    encryptionConfiguration LibraryEncryptionConfiguration
    Encryption settings for the library. Changing this block forces a new resource. See encryptionConfiguration Block below.
    name String

    Name of the library. Changing this value forces a new resource.

    The following arguments are optional:

    region String
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    tags Map<String,String>
    Map of tags assigned to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    timeouts LibraryTimeouts
    description string
    Description of the library. Removing the description forces a new resource, because the service can't remove a description from an existing library.
    encryptionConfiguration LibraryEncryptionConfiguration
    Encryption settings for the library. Changing this block forces a new resource. See encryptionConfiguration Block below.
    name string

    Name of the library. Changing this value forces a new resource.

    The following arguments are optional:

    region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    tags {[key: string]: string}
    Map of tags assigned to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    timeouts LibraryTimeouts
    description str
    Description of the library. Removing the description forces a new resource, because the service can't remove a description from an existing library.
    encryption_configuration LibraryEncryptionConfigurationArgs
    Encryption settings for the library. Changing this block forces a new resource. See encryptionConfiguration Block below.
    name str

    Name of the library. Changing this value forces a new resource.

    The following arguments are optional:

    region str
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    tags Mapping[str, str]
    Map of tags assigned to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    timeouts LibraryTimeoutsArgs
    description String
    Description of the library. Removing the description forces a new resource, because the service can't remove a description from an existing library.
    encryptionConfiguration Property Map
    Encryption settings for the library. Changing this block forces a new resource. See encryptionConfiguration Block below.
    name String

    Name of the library. Changing this value forces a new resource.

    The following arguments are optional:

    region String
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    tags Map<String>
    Map of tags assigned to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    timeouts Property Map

    Outputs

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

    Arn string
    ARN of the library.
    CreationTime string
    Time the library was created, in RFC3339 format.
    EntityTypes List<LibraryEntityType>
    Entity types in the library. See entityTypes Block below.
    Id string
    The provider-assigned unique ID for this managed resource.
    Status string
    Status of the library.
    TagsAll Dictionary<string, string>
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    Arn string
    ARN of the library.
    CreationTime string
    Time the library was created, in RFC3339 format.
    EntityTypes []LibraryEntityType
    Entity types in the library. See entityTypes Block below.
    Id string
    The provider-assigned unique ID for this managed resource.
    Status string
    Status of the library.
    TagsAll map[string]string
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    arn string
    ARN of the library.
    creation_time string
    Time the library was created, in RFC3339 format.
    entity_types list(object)
    Entity types in the library. See entityTypes Block below.
    id string
    The provider-assigned unique ID for this managed resource.
    status string
    Status of the library.
    tags_all map(string)
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    arn String
    ARN of the library.
    creationTime String
    Time the library was created, in RFC3339 format.
    entityTypes List<LibraryEntityType>
    Entity types in the library. See entityTypes Block below.
    id String
    The provider-assigned unique ID for this managed resource.
    status String
    Status of the library.
    tagsAll Map<String,String>
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    arn string
    ARN of the library.
    creationTime string
    Time the library was created, in RFC3339 format.
    entityTypes LibraryEntityType[]
    Entity types in the library. See entityTypes Block below.
    id string
    The provider-assigned unique ID for this managed resource.
    status string
    Status of the library.
    tagsAll {[key: string]: string}
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    arn str
    ARN of the library.
    creation_time str
    Time the library was created, in RFC3339 format.
    entity_types Sequence[LibraryEntityType]
    Entity types in the library. See entityTypes Block below.
    id str
    The provider-assigned unique ID for this managed resource.
    status str
    Status of the library.
    tags_all Mapping[str, str]
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    arn String
    ARN of the library.
    creationTime String
    Time the library was created, in RFC3339 format.
    entityTypes List<Property Map>
    Entity types in the library. See entityTypes Block below.
    id String
    The provider-assigned unique ID for this managed resource.
    status String
    Status of the library.
    tagsAll Map<String>
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.

    Look up Existing Library Resource

    Get an existing Library 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?: LibraryState, opts?: CustomResourceOptions): Library
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            arn: Optional[str] = None,
            creation_time: Optional[str] = None,
            description: Optional[str] = None,
            encryption_configuration: Optional[LibraryEncryptionConfigurationArgs] = None,
            entity_types: Optional[Sequence[LibraryEntityTypeArgs]] = None,
            name: Optional[str] = None,
            region: Optional[str] = None,
            status: Optional[str] = None,
            tags: Optional[Mapping[str, str]] = None,
            tags_all: Optional[Mapping[str, str]] = None,
            timeouts: Optional[LibraryTimeoutsArgs] = None) -> Library
    func GetLibrary(ctx *Context, name string, id IDInput, state *LibraryState, opts ...ResourceOption) (*Library, error)
    public static Library Get(string name, Input<string> id, LibraryState? state, CustomResourceOptions? opts = null)
    public static Library get(String name, Output<String> id, LibraryState state, CustomResourceOptions options)
    resources:  existingLibrary:    type: aws:bedrockdataautomation:Library    get:      id: ${id}
    import {
      to = aws_bedrockdataautomation_library.example
      id = "${id}"
    }
    
    name string
    The unique name of the resulting resource.
    id Input<ID>
    The unique provider ID of the resource to look up.
    state LibraryState
    Known property values the provider needs, along with the ID, to find the resource. Usually not required.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resulting resource.
    id str
    The unique provider ID of the resource to look up.
    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 resulting resource.
    id IDInput
    The unique provider ID of the resource to look up.
    state LibraryState
    Known property values the provider needs, along with the ID, to find the resource. Usually not required.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resulting resource.
    id Input<string>
    The unique provider ID of the resource to look up.
    state LibraryState
    Known property values the provider needs, along with the ID, to find the resource. Usually not required.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resulting resource.
    id Output<String>
    The unique provider ID of the resource to look up.
    state LibraryState
    Known property values the provider needs, along with the ID, to find the resource. Usually not required.
    options CustomResourceOptions
    Bag of options to control resource's behavior.
    The following state arguments are supported:
    Arn string
    ARN of the library.
    CreationTime string
    Time the library was created, in RFC3339 format.
    Description string
    Description of the library. Removing the description forces a new resource, because the service can't remove a description from an existing library.
    EncryptionConfiguration LibraryEncryptionConfiguration
    Encryption settings for the library. Changing this block forces a new resource. See encryptionConfiguration Block below.
    EntityTypes List<LibraryEntityType>
    Entity types in the library. See entityTypes Block below.
    Name string

    Name of the library. Changing this value forces a new resource.

    The following arguments are optional:

    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    Status string
    Status of the library.
    Tags Dictionary<string, string>
    Map of tags assigned to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    TagsAll Dictionary<string, string>
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    Timeouts LibraryTimeouts
    Arn string
    ARN of the library.
    CreationTime string
    Time the library was created, in RFC3339 format.
    Description string
    Description of the library. Removing the description forces a new resource, because the service can't remove a description from an existing library.
    EncryptionConfiguration LibraryEncryptionConfigurationArgs
    Encryption settings for the library. Changing this block forces a new resource. See encryptionConfiguration Block below.
    EntityTypes []LibraryEntityTypeArgs
    Entity types in the library. See entityTypes Block below.
    Name string

    Name of the library. Changing this value forces a new resource.

    The following arguments are optional:

    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    Status string
    Status of the library.
    Tags map[string]string
    Map of tags assigned to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    TagsAll map[string]string
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    Timeouts LibraryTimeoutsArgs
    arn string
    ARN of the library.
    creation_time string
    Time the library was created, in RFC3339 format.
    description string
    Description of the library. Removing the description forces a new resource, because the service can't remove a description from an existing library.
    encryption_configuration object
    Encryption settings for the library. Changing this block forces a new resource. See encryptionConfiguration Block below.
    entity_types list(object)
    Entity types in the library. See entityTypes Block below.
    name string

    Name of the library. Changing this value forces a new resource.

    The following arguments are optional:

    region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    status string
    Status of the library.
    tags map(string)
    Map of tags assigned to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    tags_all map(string)
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    timeouts object
    arn String
    ARN of the library.
    creationTime String
    Time the library was created, in RFC3339 format.
    description String
    Description of the library. Removing the description forces a new resource, because the service can't remove a description from an existing library.
    encryptionConfiguration LibraryEncryptionConfiguration
    Encryption settings for the library. Changing this block forces a new resource. See encryptionConfiguration Block below.
    entityTypes List<LibraryEntityType>
    Entity types in the library. See entityTypes Block below.
    name String

    Name of the library. Changing this value forces a new resource.

    The following arguments are optional:

    region String
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    status String
    Status of the library.
    tags Map<String,String>
    Map of tags assigned to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    tagsAll Map<String,String>
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    timeouts LibraryTimeouts
    arn string
    ARN of the library.
    creationTime string
    Time the library was created, in RFC3339 format.
    description string
    Description of the library. Removing the description forces a new resource, because the service can't remove a description from an existing library.
    encryptionConfiguration LibraryEncryptionConfiguration
    Encryption settings for the library. Changing this block forces a new resource. See encryptionConfiguration Block below.
    entityTypes LibraryEntityType[]
    Entity types in the library. See entityTypes Block below.
    name string

    Name of the library. Changing this value forces a new resource.

    The following arguments are optional:

    region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    status string
    Status of the library.
    tags {[key: string]: string}
    Map of tags assigned to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    tagsAll {[key: string]: string}
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    timeouts LibraryTimeouts
    arn str
    ARN of the library.
    creation_time str
    Time the library was created, in RFC3339 format.
    description str
    Description of the library. Removing the description forces a new resource, because the service can't remove a description from an existing library.
    encryption_configuration LibraryEncryptionConfigurationArgs
    Encryption settings for the library. Changing this block forces a new resource. See encryptionConfiguration Block below.
    entity_types Sequence[LibraryEntityTypeArgs]
    Entity types in the library. See entityTypes Block below.
    name str

    Name of the library. Changing this value forces a new resource.

    The following arguments are optional:

    region str
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    status str
    Status of the library.
    tags Mapping[str, str]
    Map of tags assigned to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    tags_all Mapping[str, str]
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    timeouts LibraryTimeoutsArgs
    arn String
    ARN of the library.
    creationTime String
    Time the library was created, in RFC3339 format.
    description String
    Description of the library. Removing the description forces a new resource, because the service can't remove a description from an existing library.
    encryptionConfiguration Property Map
    Encryption settings for the library. Changing this block forces a new resource. See encryptionConfiguration Block below.
    entityTypes List<Property Map>
    Entity types in the library. See entityTypes Block below.
    name String

    Name of the library. Changing this value forces a new resource.

    The following arguments are optional:

    region String
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    status String
    Status of the library.
    tags Map<String>
    Map of tags assigned to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    tagsAll Map<String>
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    timeouts Property Map

    Supporting Types

    LibraryEncryptionConfiguration, LibraryEncryptionConfigurationArgs

    KmsKeyId string
    Identifier of the KMS key used to encrypt the library.
    KmsEncryptionContext Dictionary<string, string>
    Map of key-value pairs to use as the KMS encryption context.
    KmsKeyId string
    Identifier of the KMS key used to encrypt the library.
    KmsEncryptionContext map[string]string
    Map of key-value pairs to use as the KMS encryption context.
    kms_key_id string
    Identifier of the KMS key used to encrypt the library.
    kms_encryption_context map(string)
    Map of key-value pairs to use as the KMS encryption context.
    kmsKeyId String
    Identifier of the KMS key used to encrypt the library.
    kmsEncryptionContext Map<String,String>
    Map of key-value pairs to use as the KMS encryption context.
    kmsKeyId string
    Identifier of the KMS key used to encrypt the library.
    kmsEncryptionContext {[key: string]: string}
    Map of key-value pairs to use as the KMS encryption context.
    kms_key_id str
    Identifier of the KMS key used to encrypt the library.
    kms_encryption_context Mapping[str, str]
    Map of key-value pairs to use as the KMS encryption context.
    kmsKeyId String
    Identifier of the KMS key used to encrypt the library.
    kmsEncryptionContext Map<String>
    Map of key-value pairs to use as the KMS encryption context.

    LibraryEntityType, LibraryEntityTypeArgs

    EntityMetadata string
    JSON metadata for the entity type.
    EntityType string
    Entity type, such as VOCABULARY.
    EntityMetadata string
    JSON metadata for the entity type.
    EntityType string
    Entity type, such as VOCABULARY.
    entity_metadata string
    JSON metadata for the entity type.
    entity_type string
    Entity type, such as VOCABULARY.
    entityMetadata String
    JSON metadata for the entity type.
    entityType String
    Entity type, such as VOCABULARY.
    entityMetadata string
    JSON metadata for the entity type.
    entityType string
    Entity type, such as VOCABULARY.
    entity_metadata str
    JSON metadata for the entity type.
    entity_type str
    Entity type, such as VOCABULARY.
    entityMetadata String
    JSON metadata for the entity type.
    entityType String
    Entity type, such as VOCABULARY.

    LibraryTimeouts, LibraryTimeoutsArgs

    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.
    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.
    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.
    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.
    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.
    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.
    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.

    Import

    Identity Schema

    Required

    • arn (String) ARN of the library.

    Using pulumi import, import Bedrock Data Automation Library using the arn. For example:

    $ pulumi import aws:bedrockdataautomation/library:Library example arn:aws:bedrock:us-west-2:123456789012:data-automation-library/abcd1234efgh
    

    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.55.0
    published on Friday, Nov 13, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial