Skip to content
v2.276.0

AnchorDateConfigurationProperty Struct ​

The date configuration of the filter.

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 anchorDateConfigurationProperty: quicksight.CfnDashboard.AnchorDateConfigurationProperty = {
  anchorOption: 'anchorOption',
  parameterName: 'parameterName',
};
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_quicksight as quicksight

anchor_date_configuration_property = quicksight.CfnDashboard.AnchorDateConfigurationProperty(
    anchor_option="anchorOption",
    parameter_name="parameterName"
)
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.quicksight.*;

AnchorDateConfigurationProperty anchorDateConfigurationProperty = AnchorDateConfigurationProperty.builder()
        .anchorOption("anchorOption")
        .parameterName("parameterName")
        .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.QuickSight;

var anchorDateConfigurationProperty = new AnchorDateConfigurationProperty {
    AnchorOption = "anchorOption",
    ParameterName = "parameterName"
};
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"

anchorDateConfigurationProperty := &AnchorDateConfigurationProperty{
	AnchorOption: jsii.String("anchorOption"),
	ParameterName: jsii.String("parameterName"),
}

Properties ​

anchorOptionoptionalstringanchor_optionoptionalstranchorOptionoptionalStringAnchorOptionoptionalstringAnchorOptionoptional*string#
The options for the date configuration. Choose one of the options below:.
  • NOW
parameterNameoptionalstringparameter_nameoptionalstrparameterNameoptionalStringParameterNameoptionalstringParameterNameoptional*string#
The name of the parameter that is used for the anchor date configuration.