(aws-opensearchservice): support DeploymentStrategyOptions on Domain
- Dominant language
- TypeScript
- Stars
- 12.9k
- Forks
- 4.6k
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 83
Description
### Describe the feature
Expose `DeploymentStrategyOptions` on the L2 `Domain` construct in `aws-cdk-lib/aws-opensearchservice`. Allowed values: `Default`, `CapacityOptimized`.
### Use Case
Users want to configure capacity-optimized deployments at the L2 level without falling back to `defaultChild` escape hatches.
### Proposed Solution
Add an optional `deploymentStrategy?: DeploymentStrategy` prop on `DomainProps` and wire it through to `CfnDomain.deploymentStrategyOptions`.
### Other Information
L1 (`CfnDomain`) already supports this property.
### Acknowledgements
- [x] I may be able to implement this feature request
- [ ] This feature might incur a breaking change
### AWS CDK Library version (aws-cdk-lib)
2.257.0
### AWS CDK CLI version
2.1123.0
### Environment details (OS name and version, etc.)
macOS
Contributor guide
Research direction
Start at the L2 Domain construct and its DomainProps definition, then inspect how properties are wired to the L1 CfnDomain. Use the existing CfnDomain deploymentStrategyOptions support as the reference; done means an optional DeploymentStrategy prop accepts Default or CapacityOptimized and reaches the L1 construct without requiring defaultChild escape hatches.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, typescript
- Domain
- cloud, infrastructure
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Clearly specified
- Newbie friendliness
- 72/100