# GuardrailConfigurationProperty

Configuration information for a guardrail that you use with the [Converse](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_Converse.html) operation.

- Source: Generated at build time
- Type last changed: v2.166.0 · 7 Nov 2024

## 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 guardrailConfigurationProperty: bedrock.CfnFlow.GuardrailConfigurationProperty = {
  guardrailIdentifier: 'guardrailIdentifier',
  guardrailVersion: 'guardrailVersion',
};
```

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_bedrock as bedrock

guardrail_configuration_property = bedrock.CfnFlow.GuardrailConfigurationProperty(
    guardrail_identifier="guardrailIdentifier",
    guardrail_version="guardrailVersion"
)
```

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

GuardrailConfigurationProperty guardrailConfigurationProperty = GuardrailConfigurationProperty.builder()
        .guardrailIdentifier("guardrailIdentifier")
        .guardrailVersion("guardrailVersion")
        .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 guardrailConfigurationProperty = new GuardrailConfigurationProperty {
    GuardrailIdentifier = "guardrailIdentifier",
    GuardrailVersion = "guardrailVersion"
};
```

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"

guardrailConfigurationProperty := &GuardrailConfigurationProperty{
	GuardrailIdentifier: jsii.String("guardrailIdentifier"),
	GuardrailVersion: jsii.String("guardrailVersion"),
}
```

## Properties

- `guardrailIdentifier`: string — The identifier for the guardrail.

- `guardrailVersion`: string — The version of the guardrail.
