Skip to content
v2.278.0

NumberValidationProperty 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 numberValidationProperty: bedrockagentcore.CfnMemory.NumberValidationProperty = {
  maxValue: 123,
  minValue: 123,
};
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

number_validation_property = bedrockagentcore.CfnMemory.NumberValidationProperty(
    max_value=123,
    min_value=123
)
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.*;

NumberValidationProperty numberValidationProperty = NumberValidationProperty.builder()
        .maxValue(123)
        .minValue(123)
        .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 numberValidationProperty = new NumberValidationProperty {
    MaxValue = 123,
    MinValue = 123
};
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"

numberValidationProperty := &NumberValidationProperty{
	MaxValue: jsii.Number(123),
	MinValue: jsii.Number(123),
}

Properties ​

maxValueoptionalnumbermax_valueoptionalint | floatmaxValueoptionalNumberMaxValueoptionaldoubleMaxValueoptional*float64 #
minValueoptionalnumbermin_valueoptionalint | floatminValueoptionalNumberMinValueoptionaldoubleMinValueoptional*float64 #