Skip to content
v2.277.0

MatchModelsProperty 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 matchModelsProperty: bedrockagentcore.CfnGatewayRule.MatchModelsProperty = {
  anyOf: [{
    value: 'value',

    // the properties below are optional
    operator: 'operator',
  }],
};
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

match_models_property = bedrockagentcore.CfnGatewayRule.MatchModelsProperty(
    any_of=[bedrockagentcore.CfnGatewayRule.MatchModelEntryProperty(
        value="value",

        # the properties below are optional
        operator="operator"
    )]
)
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.*;

MatchModelsProperty matchModelsProperty = MatchModelsProperty.builder()
        .anyOf(List.of(MatchModelEntryProperty.builder()
                .value("value")

                // the properties below are optional
                .operator("operator")
                .build()))
        .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 matchModelsProperty = new MatchModelsProperty {
    AnyOf = new [] { new MatchModelEntryProperty {
        Value = "value",

        // the properties below are optional
        Operator = "operator"
    } }
};
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"

matchModelsProperty := &MatchModelsProperty{
	AnyOf: []interface{}{
		&MatchModelEntryProperty{
			Value: jsii.String("value"),

			// the properties below are optional
			Operator: jsii.String("operator"),
		},
	},
}

Properties ​

anyOfIResolvable | IResolvable | CfnGatewayRule.MatchModelEntryProperty[]any_oftyping.Union[IResolvable, typing.List[typing.Union[IResolvable, MatchModelEntryProperty]]]anyOfIResolvableAnyOfIResolvableAnyOfinterface{} required #