# RecordingConfigProperty

The recording configuration.

- Source: Generated at build time
- Type last changed: v2.217.0 · 25 Sep 2025

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_bedrockagentcore as bedrockagentcore } from 'aws-cdk-lib';
const recordingConfigProperty: bedrockagentcore.CfnBrowserCustom.RecordingConfigProperty = {
  enabled: false,
  s3Location: {
    bucket: 'bucket',
    prefix: 'prefix',
  },
};
```

Python:

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

recording_config_property = bedrockagentcore.CfnBrowserCustom.RecordingConfigProperty(
    enabled=False,
    s3_location=bedrockagentcore.CfnBrowserCustom.S3LocationProperty(
        bucket="bucket",
        prefix="prefix"
    )
)
```

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.bedrockagentcore.*;

RecordingConfigProperty recordingConfigProperty = RecordingConfigProperty.builder()
        .enabled(false)
        .s3Location(S3LocationProperty.builder()
                .bucket("bucket")
                .prefix("prefix")
                .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.BedrockAgentCore;

var recordingConfigProperty = new RecordingConfigProperty {
    Enabled = false,
    S3Location = new S3LocationProperty {
        Bucket = "bucket",
        Prefix = "prefix"
    }
};
```

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"

recordingConfigProperty := &RecordingConfigProperty{
	Enabled: jsii.Boolean(false),
	S3Location: &S3LocationProperty{
		Bucket: jsii.String("bucket"),
		Prefix: jsii.String("prefix"),
	},
}
```

## Properties

- `enabled`: boolean | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) = false — The recording configuration for a browser.

  This structure defines how browser sessions are recorded.

- `s3Location`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnBrowserCustom.S3LocationProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_bedrockagentcore.CfnBrowserCustom.S3LocationProperty.html) — The S3 location.
