# RecordingConfig

Recording configuration for browser.

- Source: [`lib/tools/browser.ts`](https://github.com/aws/aws-cdk/blob/v2.278.0/packages/@aws-cdk/aws-bedrock-agentcore-alpha/lib/tools/browser.ts#L513)

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as bedrock_agentcore_alpha from '@aws-cdk/aws-bedrock-agentcore-alpha';
const recordingConfig: bedrock_agentcore_alpha.RecordingConfig = {
  enabled: false,
  s3Location: {
    bucketName: 'bucketName',
    objectKey: 'objectKey',

    // the properties below are optional
    objectVersion: 'objectVersion',
  },
};
```

Python:

```python
from aws_cdk.aws_s3 import Location
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_bedrock_agentcore_alpha as bedrock_agentcore_alpha

recording_config = bedrock_agentcore_alpha.RecordingConfig(
    enabled=False,
    s3_location=Location(
        bucket_name="bucketName",
        object_key="objectKey",

        # the properties below are optional
        object_version="objectVersion"
    )
)
```

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.agentcore.alpha.*;

RecordingConfig recordingConfig = RecordingConfig.builder()
        .enabled(false)
        .s3Location(Location.builder()
                .bucketName("bucketName")
                .objectKey("objectKey")

                // the properties below are optional
                .objectVersion("objectVersion")
                .build())
        .build();
```

C# / .NET:

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

var recordingConfig = new RecordingConfig {
    Enabled = false,
    S3Location = new Location {
        BucketName = "bucketName",
        ObjectKey = "objectKey",

        // the properties below are optional
        ObjectVersion = "objectVersion"
    }
};
```

Golang:

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

recordingConfig := &RecordingConfig{
	Enabled: jsii.Boolean(false),
	S3Location: &Location{
		BucketName: jsii.String("bucketName"),
		ObjectKey: jsii.String("objectKey"),

		// the properties below are optional
		ObjectVersion: jsii.String("objectVersion"),
	},
}
```

## Properties

- `enabled`: boolean = false — Whether recording is enabled.

- `s3Location`: [Location](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_s3.Location.html) = undefined — S3 Location Configuration.
