Skip to content
v2.273.0

ForecastScenarioProperty Struct ​

The forecast scenario of a forecast in the line chart.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_quicksight as quicksight } from 'aws-cdk-lib';
const forecastScenarioProperty: quicksight.CfnTemplate.ForecastScenarioProperty = {
  whatIfPointScenario: {
    date: 'date',
    value: 123,
  },
  whatIfRangeScenario: {
    endDate: 'endDate',
    startDate: 'startDate',
    value: 123,
  },
};

Properties ​

whatIfPointScenarioIResolvable | CfnTemplate.WhatIfPointScenarioPropertywhat_if_point_scenariotyping.Union[IResolvable, WhatIfPointScenarioProperty]whatIfPointScenarioIResolvableWhatIfPointScenarioIResolvableWhatIfPointScenariointerface{}#
The what-if analysis forecast setup with the target date.
whatIfRangeScenarioIResolvable | CfnTemplate.WhatIfRangeScenarioPropertywhat_if_range_scenariotyping.Union[IResolvable, WhatIfRangeScenarioProperty]whatIfRangeScenarioIResolvableWhatIfRangeScenarioIResolvableWhatIfRangeScenariointerface{}#
The what-if analysis forecast setup with the date range.