-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Target group configuration could include better validation #3703
Copy link
Copy link
Closed
Labels
@aws-cdk/aws-elasticloadbalancingRelated to Amazon Elastic Load BalancingRelated to Amazon Elastic Load Balancingeffort/smallSmall work item – less than a day of effortSmall work item – less than a day of effortfeature-requestA feature should be added or improved.A feature should be added or improved.good first issueRelated to contributions. See CONTRIBUTING.mdRelated to contributions. See CONTRIBUTING.mdp2
Description
🚀 Feature Request
General Information
If user accidentally writes the following code, it will be rejected when deploying:
target.configureHealthCheck({
interval: cdk.Duration.seconds(60),
timeout: cdk.Duration.seconds(60),
healthyThresholdCount: 2,
unhealthyThresholdCount: 5,
})Health check interval must be greater than the timeout. (Service: AmazonElasticLoadBalancingV2; Status Code: 400; Error Code: ValidationError; Request
Proposed Solution
This kind of validations could be done already in CDK to speed up the development cycle.
Environment
- CDK CLI Version: 1.4.0
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
@aws-cdk/aws-elasticloadbalancingRelated to Amazon Elastic Load BalancingRelated to Amazon Elastic Load Balancingeffort/smallSmall work item – less than a day of effortSmall work item – less than a day of effortfeature-requestA feature should be added or improved.A feature should be added or improved.good first issueRelated to contributions. See CONTRIBUTING.mdRelated to contributions. See CONTRIBUTING.mdp2