-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Closed
Labels
@aws-cdk/aws-ec2Related to Amazon Elastic Compute CloudRelated to Amazon Elastic Compute Cloudeffort/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.p2
Description
Description
Support configuring credit specification on NAT instance.
Use Case
I want to deploy a NAT instance with standard credit specification. The default for t4g.nano is unlimited.
Proposed Solution
Pass a creditSpecification property from NatInstanceProvider down to CfnInstance.
Other information
idea
- Add a creditSpecification property to NatInstanceProps for NatInstanceProvider.
- Add a creditSpecification property to InstanceProps for Instance.
- Use the existing creditSpecification property on CfnInstanceProps for CfnInstance.
links
- https://github.com/aws/aws-cdk/blob/v2.14.0/packages/@aws-cdk/aws-ec2/lib/nat.ts#L303
- https://github.com/aws/aws-cdk/blob/v2.14.0/packages/@aws-cdk/aws-ec2/lib/instance.ts#L371
Acknowledge
- I may be able to implement this feature request
- This feature might incur a breaking change
hgad
Metadata
Metadata
Assignees
Labels
@aws-cdk/aws-ec2Related to Amazon Elastic Compute CloudRelated to Amazon Elastic Compute Cloudeffort/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.p2