Skip to content
v2.278.0

ValueRangeProperty Struct ​

A structure letting customers specify a relative time window over which over which data is included in the Calculated Attribute.

Use positive numbers to indicate that the endpoint is in the past, and negative numbers to indicate it is in the future. ValueRange overrides Value.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_customerprofiles as customerprofiles } from 'aws-cdk-lib';
const valueRangeProperty: customerprofiles.CfnCalculatedAttributeDefinition.ValueRangeProperty = {
  end: 123,
  start: 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_customerprofiles as customerprofiles

value_range_property = customerprofiles.CfnCalculatedAttributeDefinition.ValueRangeProperty(
    end=123,
    start=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.customerprofiles.*;

ValueRangeProperty valueRangeProperty = ValueRangeProperty.builder()
        .end(123)
        .start(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.CustomerProfiles;

var valueRangeProperty = new ValueRangeProperty {
    End = 123,
    Start = 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"

valueRangeProperty := &ValueRangeProperty{
	End: jsii.Number(123),
	Start: jsii.Number(123),
}

Properties ​

endnumberendint | floatendNumberEnddoubleEnd*float64 required #
The ending point for this overridden range.

Positive numbers indicate how many days in the past data should be included, and negative numbers indicate how many days in the future.

startnumberstartint | floatstartNumberStartdoubleStart*float64 required #
The starting point for this overridden range.

Positive numbers indicate how many days in the past data should be included, and negative numbers indicate how many days in the future.