# CfnDataAutomationLibraryProps

Properties for defining a `CfnDataAutomationLibrary`.

Used as props by: [CfnDataAutomationLibrary](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_bedrock.CfnDataAutomationLibrary.html)

- Source: Generated at build time
- Type last changed: v2.250.0 · 14 Apr 2026

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_bedrock as bedrock } from 'aws-cdk-lib';
const cfnDataAutomationLibraryProps: bedrock.CfnDataAutomationLibraryProps = {
  libraryName: 'libraryName',

  // the properties below are optional
  encryptionConfiguration: {
    kmsKeyId: 'kmsKeyId',

    // the properties below are optional
    kmsEncryptionContext: {
      kmsEncryptionContextKey: 'kmsEncryptionContext',
    },
  },
  libraryDescription: 'libraryDescription',
  tags: [{
    key: 'key',
    value: 'value',
  }],
};
```

Python:

```python
from aws_cdk import CfnTag
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_bedrock as bedrock

cfn_data_automation_library_props = bedrock.CfnDataAutomationLibraryProps(
    library_name="libraryName",

    # the properties below are optional
    encryption_configuration=bedrock.CfnDataAutomationLibrary.EncryptionConfigurationProperty(
        kms_key_id="kmsKeyId",

        # the properties below are optional
        kms_encryption_context={
            "kms_encryption_context_key": "kmsEncryptionContext"
        }
    ),
    library_description="libraryDescription",
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.bedrock.*;

CfnDataAutomationLibraryProps cfnDataAutomationLibraryProps = CfnDataAutomationLibraryProps.builder()
        .libraryName("libraryName")

        // the properties below are optional
        .encryptionConfiguration(EncryptionConfigurationProperty.builder()
                .kmsKeyId("kmsKeyId")

                // the properties below are optional
                .kmsEncryptionContext(Map.of(
                        "kmsEncryptionContextKey", "kmsEncryptionContext"))
                .build())
        .libraryDescription("libraryDescription")
        .tags(List.of(CfnTag.builder()
                .key("key")
                .value("value")
                .build()))
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Bedrock;

var cfnDataAutomationLibraryProps = new CfnDataAutomationLibraryProps {
    LibraryName = "libraryName",

    // the properties below are optional
    EncryptionConfiguration = new EncryptionConfigurationProperty {
        KmsKeyId = "kmsKeyId",

        // the properties below are optional
        KmsEncryptionContext = new Dictionary<string, string> {
            { "kmsEncryptionContextKey", "kmsEncryptionContext" }
        }
    },
    LibraryDescription = "libraryDescription",
    Tags = new [] { new CfnTag {
        Key = "key",
        Value = "value"
    } }
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

cfnDataAutomationLibraryProps := &CfnDataAutomationLibraryProps{
	LibraryName: jsii.String("libraryName"),

	// the properties below are optional
	EncryptionConfiguration: &EncryptionConfigurationProperty{
		KmsKeyId: jsii.String("kmsKeyId"),

		// the properties below are optional
		KmsEncryptionContext: map[string]*string{
			"kmsEncryptionContextKey": jsii.String("kmsEncryptionContext"),
		},
	},
	LibraryDescription: jsii.String("libraryDescription"),
	Tags: []CfnTag{
		&CfnTag{
			Key: jsii.String("key"),
			Value: jsii.String("value"),
		},
	},
}
```

## Properties

- `encryptionConfiguration`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnDataAutomationLibrary.EncryptionConfigurationProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_bedrock.CfnDataAutomationLibrary.EncryptionConfigurationProperty.html) — KMS Encryption Configuration.

- `libraryDescription`: string — Description of the DataAutomationLibrary.

- `libraryName`: string (required) — Name of the DataAutomationLibrary.

- `tags`: [CfnTag](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.CfnTag.html)[] — List of tags.
