Skip to content
v2.278.0

ValidationStrategyProperty Struct ​

The option to relax the validation that is required to create and update analyses, dashboards, and templates with definition objects.

When you set this value to LENIENT , validation is skipped for specific errors.

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 validationStrategyProperty: quicksight.CfnAnalysis.ValidationStrategyProperty = {
  mode: 'mode',
};
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

validation_strategy_property = quicksight.CfnAnalysis.ValidationStrategyProperty(
    mode="mode"
)
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.*;

ValidationStrategyProperty validationStrategyProperty = ValidationStrategyProperty.builder()
        .mode("mode")
        .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 validationStrategyProperty = new ValidationStrategyProperty {
    Mode = "mode"
};
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"

validationStrategyProperty := &ValidationStrategyProperty{
	Mode: jsii.String("mode"),
}

Properties ​

modestringmodestrmodeStringModestringMode*string required #
The mode of validation for the asset to be created or updated.

When you set this value to STRICT , strict validation for every error is enforced. When you set this value to LENIENT , validation is skipped for specific UI errors.