class NatInstanceImage
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.EC2.NatInstanceImage |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsec2#NatInstanceImage |
![]() | software.amazon.awscdk.services.ec2.NatInstanceImage |
![]() | aws_cdk.aws_ec2.NatInstanceImage |
![]() | aws-cdk-lib » 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 { aws_ec2 as ec2 } from 'aws-cdk-lib';
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.