# InlineExamplesSourceProperty

Struct · External

Inline examples provided directly in the request body.

- Source: Generated at build time
- Type last changed: v2.258.0 · 4 Jun 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_bedrockagentcore as bedrockagentcore } from 'aws-cdk-lib';

declare const examples: any;
const inlineExamplesSourceProperty: bedrockagentcore.CfnDataset.InlineExamplesSourceProperty = {
  examples: [examples],
};
```

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

# examples: Any

inline_examples_source_property = bedrockagentcore.CfnDataset.InlineExamplesSourceProperty(
    examples=[examples]
)
```

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

Object examples;

InlineExamplesSourceProperty inlineExamplesSourceProperty = InlineExamplesSourceProperty.builder()
        .examples(List.of(examples))
        .build();
```

C#:

```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 examples;

var inlineExamplesSourceProperty = new InlineExamplesSourceProperty {
    Examples = new [] { examples }
};
```

Go:

```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"

var examples interface{}

inlineExamplesSourceProperty := &InlineExamplesSourceProperty{
	Examples: []interface{}{
		examples,
	},
}
```

## Properties

- `examples`: any[] | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) (required) — Examples to add.

  Each example is a free-form JSON document validated against the declared schemaType.
