> **Experimental**
>
> `@aws-cdk/aws-bedrock-alpha` is an [**experimental**](/stability) (alpha) package: its API may change in any release, without a major version bump.
# FunctionParameter

Represents a function parameter in a function schema.

- Stability: [Experimental](/cdk/api/stability.html)
- Source: [`bedrock/agents/function-schema.ts`](https://github.com/aws/aws-cdk/blob/v2.277.0/packages/@aws-cdk/aws-bedrock-alpha/bedrock/agents/function-schema.ts#L119)

## 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_alpha from '@aws-cdk/aws-bedrock-alpha';
const functionParameter = new bedrock_alpha.FunctionParameter({
  type: bedrock_alpha.ParameterType.STRING,

  // the properties below are optional
  description: 'description',
  required: false,
});
```

Python:

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

function_parameter = bedrock_alpha.FunctionParameter(
    type=bedrock_alpha.ParameterType.STRING,

    # the properties below are optional
    description="description",
    required=False
)
```

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

FunctionParameter functionParameter = FunctionParameter.Builder.create()
        .type(ParameterType.STRING)

        // the properties below are optional
        .description("description")
        .required(false)
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.AWS.Bedrock.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.Alpha;

var functionParameter = new FunctionParameter(new FunctionParameterProps {
    Type = ParameterType.STRING,

    // the properties below are optional
    Description = "description",
    Required = false
});
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awsbedrockalpha/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/awsbedrockalpha"

functionParameter := bedrock_alpha.NewFunctionParameter(&FunctionParameterProps{
	Type: bedrock_alpha.ParameterType_STRING,

	// the properties below are optional
	Description: jsii.String("description"),
	Required: jsii.Boolean(false),
})
```

## Initializer

TypeScript:

```ts
new FunctionParameter(props: FunctionParameterProps)
```

Python:

```python
FunctionParameter(props: FunctionParameterProps)
```

Java:

```java
new FunctionParameter(FunctionParameterProps props)
```

C# / .NET:

```csharp
new FunctionParameter(FunctionParameterProps props)
```

Golang:

```go
NewFunctionParameter(Props FunctionParameterProps)
```

## Properties

- `description`: string — Description of the parameter.

  **Default:** undefined no description will be present

- `required`: boolean — Whether the parameter is required.

- `type`: [ParameterType](/cdk/api/v2/docs/@aws-cdk_aws-bedrock-alpha.ParameterType.html) — The type of the parameter.
