Skip to content
v2.277.0

FallbackTriggersProperty Struct ​

Example ​

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
# 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
// 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();
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" }
};
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 ​

errorsoptionalstring[]errorsoptionaltyping.List[str]errorsoptionalList<String>Errorsoptionalstring[]Errorsoptional*[]*string #
statusCodesoptionalstring[]status_codesoptionaltyping.List[str]statusCodesoptionalList<String>StatusCodesoptionalstring[]StatusCodesoptional*[]*string #