Skip to content
v2.274.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 ​

whatIfPointScenariooptionalIResolvable | CfnTemplate.WhatIfPointScenarioPropertywhat_if_point_scenariooptionaltyping.Union[IResolvable, WhatIfPointScenarioProperty]whatIfPointScenariooptionalIResolvableWhatIfPointScenariooptionalIResolvableWhatIfPointScenariooptionalinterface{}#
The what-if analysis forecast setup with the target date.
whatIfRangeScenariooptionalIResolvable | CfnTemplate.WhatIfRangeScenarioPropertywhat_if_range_scenariooptionaltyping.Union[IResolvable, WhatIfRangeScenarioProperty]whatIfRangeScenariooptionalIResolvableWhatIfRangeScenariooptionalIResolvableWhatIfRangeScenariooptionalinterface{}#
The what-if analysis forecast setup with the date range.