NatInstanceImage

class aws_cdk.aws_ec2.NatInstanceImage

Bases: LookupMachineImage

Machine image representing the latest NAT instance image.

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_ec2 as ec2

nat_instance_image = ec2.NatInstanceImage()
Parameters:
  • name – Name of the image (may contain wildcards).

  • filters – Additional filters on the AMI. Default: - No additional filters

  • owners – Owner account IDs or aliases. Default: - All owners

  • user_data – Custom userdata for this image. Default: - Empty user data appropriate for the platform type

  • windows – Look for Windows images. Default: false

Methods

get_image(scope)

Return the image to use in the given context.

Parameters:

scope (Construct) –

Return type:

MachineImageConfig