# FallbackTriggersProperty

- Source: Generated at build time
- Type last changed: v2.276.0 · 10 Nov 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';
const fallbackTriggersProperty: bedrockagentcore.CfnGatewayRule.FallbackTriggersProperty = {
  errors: ['errors'],
  statusCodes: ['statusCodes'],
};
```

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

fallback_triggers_property = bedrockagentcore.CfnGatewayRule.FallbackTriggersProperty(
    errors=["errors"],
    status_codes=["statusCodes"]
)
```

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

FallbackTriggersProperty fallbackTriggersProperty = FallbackTriggersProperty.builder()
        .errors(List.of("errors"))
        .statusCodes(List.of("statusCodes"))
        .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 fallbackTriggersProperty = new FallbackTriggersProperty {
    Errors = new [] { "errors" },
    StatusCodes = new [] { "statusCodes" }
};
```

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"

fallbackTriggersProperty := &FallbackTriggersProperty{
	Errors: []*string{
		jsii.String("errors"),
	},
	StatusCodes: []*string{
		jsii.String("statusCodes"),
	},
}
```

## Properties

- `errors`: string[]

- `statusCodes`: string[]
