class NatInstanceImage
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.EC2.NatInstanceImage |
![]() | software.amazon.awscdk.services.ec2.NatInstanceImage |
![]() | aws_cdk.aws_ec2.NatInstanceImage |
![]() | @aws-cdk/aws-ec2 » NatInstanceImage |
Implements
IMachine
Extends
Lookup
Machine image representing the latest NAT instance image.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as ec2 from '@aws-cdk/aws-ec2';
const natInstanceImage = new ec2.NatInstanceImage();
Initializer
new NatInstanceImage()
Methods
Name | Description |
---|---|
get | Return the image to use in the given context. |
getImage(scope)
public getImage(scope: Construct): MachineImageConfig
Parameters
- scope
Construct
Returns
Return the image to use in the given context.