aws_cdk.aws_ec2

Package Overview

AclCidr

(experimental) Either an IPv4 or an IPv6 CIDR.

AclCidrConfig

AclIcmp

AclPortRange

AclTraffic

(experimental) The traffic that is configured using a Network ACL entry.

AclTrafficConfig

Action

(experimental) What action to apply to traffic matching the ACL.

AddRouteOptions

AmazonLinuxCpuType

CPU type.

AmazonLinuxEdition

Amazon Linux edition.

AmazonLinuxGeneration

What generation of Amazon Linux to use.

AmazonLinuxImage

Selects the latest version of Amazon Linux.

AmazonLinuxImageProps

AmazonLinuxStorage

An enumeration.

AmazonLinuxVirt

Virtualization type for Amazon Linux.

ApplyCloudFormationInitOptions

AttachInitOptions

BastionHostLinux

(experimental) This creates a linux bastion host you can use to connect to other instances or services in your VPC.

BastionHostLinuxProps

BlockDevice

BlockDeviceVolume

Describes a block device mapping for an EC2 instance or Auto Scaling group.

CfnCapacityReservation

A CloudFormation AWS::EC2::CapacityReservation.

CfnCapacityReservationProps

CfnCarrierGateway

A CloudFormation AWS::EC2::CarrierGateway.

CfnCarrierGatewayProps

CfnClientVpnAuthorizationRule

A CloudFormation AWS::EC2::ClientVpnAuthorizationRule.

CfnClientVpnAuthorizationRuleProps

CfnClientVpnEndpoint

A CloudFormation AWS::EC2::ClientVpnEndpoint.

CfnClientVpnEndpointProps

CfnClientVpnRoute

A CloudFormation AWS::EC2::ClientVpnRoute.

CfnClientVpnRouteProps

CfnClientVpnTargetNetworkAssociation

A CloudFormation AWS::EC2::ClientVpnTargetNetworkAssociation.

CfnClientVpnTargetNetworkAssociationProps

CfnCustomerGateway

A CloudFormation AWS::EC2::CustomerGateway.

CfnCustomerGatewayProps

CfnDHCPOptions

A CloudFormation AWS::EC2::DHCPOptions.

CfnDHCPOptionsProps

CfnEC2Fleet

A CloudFormation AWS::EC2::EC2Fleet.

CfnEC2FleetProps

CfnEIP

A CloudFormation AWS::EC2::EIP.

CfnEIPAssociation

A CloudFormation AWS::EC2::EIPAssociation.

CfnEIPAssociationProps

CfnEIPProps

CfnEgressOnlyInternetGateway

A CloudFormation AWS::EC2::EgressOnlyInternetGateway.

CfnEgressOnlyInternetGatewayProps

CfnFlowLog

A CloudFormation AWS::EC2::FlowLog.

CfnFlowLogProps

CfnGatewayRouteTableAssociation

A CloudFormation AWS::EC2::GatewayRouteTableAssociation.

CfnGatewayRouteTableAssociationProps

CfnHost

A CloudFormation AWS::EC2::Host.

CfnHostProps

CfnInstance

A CloudFormation AWS::EC2::Instance.

CfnInstanceProps

CfnInternetGateway

A CloudFormation AWS::EC2::InternetGateway.

CfnInternetGatewayProps

CfnLaunchTemplate

A CloudFormation AWS::EC2::LaunchTemplate.

CfnLaunchTemplateProps

CfnLocalGatewayRoute

A CloudFormation AWS::EC2::LocalGatewayRoute.

CfnLocalGatewayRouteProps

CfnLocalGatewayRouteTableVPCAssociation

A CloudFormation AWS::EC2::LocalGatewayRouteTableVPCAssociation.

CfnLocalGatewayRouteTableVPCAssociationProps

CfnNatGateway

A CloudFormation AWS::EC2::NatGateway.

CfnNatGatewayProps

CfnNetworkAcl

A CloudFormation AWS::EC2::NetworkAcl.

CfnNetworkAclEntry

A CloudFormation AWS::EC2::NetworkAclEntry.

CfnNetworkAclEntryProps

CfnNetworkAclProps

CfnNetworkInsightsAnalysis

A CloudFormation AWS::EC2::NetworkInsightsAnalysis.

CfnNetworkInsightsAnalysisProps

CfnNetworkInsightsPath

A CloudFormation AWS::EC2::NetworkInsightsPath.

CfnNetworkInsightsPathProps

CfnNetworkInterface

A CloudFormation AWS::EC2::NetworkInterface.

CfnNetworkInterfaceAttachment

A CloudFormation AWS::EC2::NetworkInterfaceAttachment.

CfnNetworkInterfaceAttachmentProps

CfnNetworkInterfacePermission

A CloudFormation AWS::EC2::NetworkInterfacePermission.

CfnNetworkInterfacePermissionProps

CfnNetworkInterfaceProps

CfnPlacementGroup

A CloudFormation AWS::EC2::PlacementGroup.

CfnPlacementGroupProps

CfnPrefixList

A CloudFormation AWS::EC2::PrefixList.

CfnPrefixListProps

CfnRoute

A CloudFormation AWS::EC2::Route.

CfnRouteProps

CfnRouteTable

A CloudFormation AWS::EC2::RouteTable.

CfnRouteTableProps

CfnSecurityGroup

A CloudFormation AWS::EC2::SecurityGroup.

CfnSecurityGroupEgress

A CloudFormation AWS::EC2::SecurityGroupEgress.

CfnSecurityGroupEgressProps

CfnSecurityGroupIngress

A CloudFormation AWS::EC2::SecurityGroupIngress.

CfnSecurityGroupIngressProps

CfnSecurityGroupProps

CfnSpotFleet

A CloudFormation AWS::EC2::SpotFleet.

CfnSpotFleetProps

CfnSubnet

A CloudFormation AWS::EC2::Subnet.

CfnSubnetCidrBlock

A CloudFormation AWS::EC2::SubnetCidrBlock.

CfnSubnetCidrBlockProps

CfnSubnetNetworkAclAssociation

A CloudFormation AWS::EC2::SubnetNetworkAclAssociation.

CfnSubnetNetworkAclAssociationProps

CfnSubnetProps

CfnSubnetRouteTableAssociation

A CloudFormation AWS::EC2::SubnetRouteTableAssociation.

CfnSubnetRouteTableAssociationProps

CfnTrafficMirrorFilter

A CloudFormation AWS::EC2::TrafficMirrorFilter.

CfnTrafficMirrorFilterProps

CfnTrafficMirrorFilterRule

A CloudFormation AWS::EC2::TrafficMirrorFilterRule.

CfnTrafficMirrorFilterRuleProps

CfnTrafficMirrorSession

A CloudFormation AWS::EC2::TrafficMirrorSession.

CfnTrafficMirrorSessionProps

CfnTrafficMirrorTarget

A CloudFormation AWS::EC2::TrafficMirrorTarget.

CfnTrafficMirrorTargetProps

CfnTransitGateway

A CloudFormation AWS::EC2::TransitGateway.

CfnTransitGatewayAttachment

A CloudFormation AWS::EC2::TransitGatewayAttachment.

CfnTransitGatewayAttachmentProps

CfnTransitGatewayConnect

A CloudFormation AWS::EC2::TransitGatewayConnect.

CfnTransitGatewayConnectProps

CfnTransitGatewayMulticastDomain

A CloudFormation AWS::EC2::TransitGatewayMulticastDomain.

CfnTransitGatewayMulticastDomainAssociation

A CloudFormation AWS::EC2::TransitGatewayMulticastDomainAssociation.

CfnTransitGatewayMulticastDomainAssociationProps

CfnTransitGatewayMulticastDomainProps

CfnTransitGatewayMulticastGroupMember

A CloudFormation AWS::EC2::TransitGatewayMulticastGroupMember.

CfnTransitGatewayMulticastGroupMemberProps

CfnTransitGatewayMulticastGroupSource

A CloudFormation AWS::EC2::TransitGatewayMulticastGroupSource.

CfnTransitGatewayMulticastGroupSourceProps

CfnTransitGatewayProps

CfnTransitGatewayRoute

A CloudFormation AWS::EC2::TransitGatewayRoute.

CfnTransitGatewayRouteProps

CfnTransitGatewayRouteTable

A CloudFormation AWS::EC2::TransitGatewayRouteTable.

CfnTransitGatewayRouteTableAssociation

A CloudFormation AWS::EC2::TransitGatewayRouteTableAssociation.

CfnTransitGatewayRouteTableAssociationProps

CfnTransitGatewayRouteTablePropagation

A CloudFormation AWS::EC2::TransitGatewayRouteTablePropagation.

CfnTransitGatewayRouteTablePropagationProps

CfnTransitGatewayRouteTableProps

CfnVPC

A CloudFormation AWS::EC2::VPC.

CfnVPCCidrBlock

A CloudFormation AWS::EC2::VPCCidrBlock.

CfnVPCCidrBlockProps

CfnVPCDHCPOptionsAssociation

A CloudFormation AWS::EC2::VPCDHCPOptionsAssociation.

CfnVPCDHCPOptionsAssociationProps

CfnVPCEndpoint

A CloudFormation AWS::EC2::VPCEndpoint.

CfnVPCEndpointConnectionNotification

A CloudFormation AWS::EC2::VPCEndpointConnectionNotification.

CfnVPCEndpointConnectionNotificationProps

CfnVPCEndpointProps

CfnVPCEndpointService

A CloudFormation AWS::EC2::VPCEndpointService.

CfnVPCEndpointServicePermissions

A CloudFormation AWS::EC2::VPCEndpointServicePermissions.

CfnVPCEndpointServicePermissionsProps

CfnVPCEndpointServiceProps

CfnVPCGatewayAttachment

A CloudFormation AWS::EC2::VPCGatewayAttachment.

CfnVPCGatewayAttachmentProps

CfnVPCPeeringConnection

A CloudFormation AWS::EC2::VPCPeeringConnection.

CfnVPCPeeringConnectionProps

CfnVPCProps

CfnVPNConnection

A CloudFormation AWS::EC2::VPNConnection.

CfnVPNConnectionProps

CfnVPNConnectionRoute

A CloudFormation AWS::EC2::VPNConnectionRoute.

CfnVPNConnectionRouteProps

CfnVPNGateway

A CloudFormation AWS::EC2::VPNGateway.

CfnVPNGatewayProps

CfnVPNGatewayRoutePropagation

A CloudFormation AWS::EC2::VPNGatewayRoutePropagation.

CfnVPNGatewayRoutePropagationProps

CfnVolume

A CloudFormation AWS::EC2::Volume.

CfnVolumeAttachment

A CloudFormation AWS::EC2::VolumeAttachment.

CfnVolumeAttachmentProps

CfnVolumeProps

ClientVpnAuthorizationRule

A client VPN authorization rule.

ClientVpnAuthorizationRuleOptions

ClientVpnAuthorizationRuleProps

ClientVpnEndpoint

A client VPN connnection.

ClientVpnEndpointAttributes

ClientVpnEndpointOptions

ClientVpnEndpointProps

ClientVpnRoute

A client VPN route.

ClientVpnRouteOptions

ClientVpnRouteProps

ClientVpnRouteTarget

Target for a client VPN route.

ClientVpnUserBasedAuthentication

User-based authentication for a client VPN endpoint.

CloudFormationInit

A CloudFormation-init configuration.

CommonNetworkAclEntryOptions

ConfigSetProps

ConfigureNatOptions

ConnectionRule

Connections

Manage the allowed network connections for constructs with Security Groups.

ConnectionsProps

CpuCredits

Provides the options for specifying the CPU credit type for burstable EC2 instance types (T2, T3, T3a, etc).

DefaultInstanceTenancy

The default tenancy of instances launched into the VPC.

EbsDeviceOptions

EbsDeviceOptionsBase

EbsDeviceProps

EbsDeviceSnapshotOptions

EbsDeviceVolumeType

Supported EBS volume types for blockDevices.

EnableVpnGatewayOptions

ExecuteFileOptions

FlowLog

(experimental) A VPC flow log.

FlowLogDestination

(experimental) The destination type for the flow log.

FlowLogDestinationConfig

FlowLogDestinationType

(experimental) The available destination types for Flow Logs.

FlowLogOptions

FlowLogProps

FlowLogResourceType

(experimental) The type of resource to create the flow log for.

FlowLogTrafficType

(experimental) The type of VPC traffic to log.

GatewayConfig

GatewayVpcEndpoint

A gateway VPC endpoint.

GatewayVpcEndpointAwsService

An AWS service for a gateway VPC endpoint.

GatewayVpcEndpointOptions

GatewayVpcEndpointProps

GenericLinuxImage

Construct a Linux machine image from an AMI map.

GenericLinuxImageProps

GenericSSMParameterImage

Select the image based on a given SSM parameter.

GenericWindowsImage

Construct a Windows machine image from an AMI map.

GenericWindowsImageProps

IClientVpnConnectionHandler

A connection handler for client VPN endpoints.

IClientVpnEndpoint

A client VPN endpoint.

IConnectable

An object that has a Connections object.

IFlowLog

(experimental) A FlowLog.

IGatewayVpcEndpoint

A gateway VPC endpoint.

IGatewayVpcEndpointService

A service for a gateway VPC endpoint.

IInstance

IInterfaceVpcEndpoint

An interface VPC endpoint.

IInterfaceVpcEndpointService

A service for an interface VPC endpoint.

ILaunchTemplate

Interface for LaunchTemplate-like objects.

IMachineImage

Interface for classes that can select an appropriate machine image to use.

INetworkAcl

(experimental) A NetworkAcl.

INetworkAclEntry

(experimental) A NetworkAclEntry.

IPeer

Interface for classes that provide the peer-specification parts of a security group rule.

IPrivateSubnet

IPublicSubnet

IRouteTable

An abstract route table.

ISecurityGroup

Interface for security group-like objects.

ISubnet

ISubnetNetworkAclAssociation

(experimental) A SubnetNetworkAclAssociation.

IVolume

An EBS Volume in AWS EC2.

IVpc

IVpcEndpoint

A VPC endpoint.

IVpcEndpointService

(experimental) A VPC endpoint service.

IVpcEndpointServiceLoadBalancer

A load balancer that can host a VPC Endpoint Service.

IVpnConnection

IVpnGateway

The virtual private gateway interface.

InitCommand

Command to execute on the instance.

InitCommandOptions

InitCommandWaitDuration

Represents a duration to wait after a command has finished, in case of a reboot (Windows only).

InitConfig

A collection of configuration elements.

InitElement

Base class for all CloudFormation Init elements.

InitFile

Create files on the EC2 instance.

InitFileAssetOptions

InitFileOptions

InitGroup

Create Linux/UNIX groups and assign group IDs.

InitPackage

A package to be installed during cfn-init time.

InitService

A services that be enabled, disabled or restarted when the instance is launched.

InitServiceOptions

InitServiceRestartHandle

An object that represents reasons to restart an InitService.

InitSource

Extract an archive into a directory.

InitSourceAssetOptions

InitSourceOptions

InitUser

Create Linux/UNIX users and to assign user IDs.

InitUserOptions

Instance

This represents a single EC2 instance.

InstanceArchitecture

Identifies an instance’s CPU architecture.

InstanceClass

What class and generation of instance to use.

InstanceInitiatedShutdownBehavior

Provides the options for specifying the instance initiated shutdown behavior.

InstanceProps

InstanceSize

What size of instance to use.

InstanceType

Instance type for EC2 instances.

InterfaceVpcEndpoint

A interface VPC endpoint.

InterfaceVpcEndpointAttributes

InterfaceVpcEndpointAwsService

An AWS service for an interface VPC endpoint.

InterfaceVpcEndpointOptions

InterfaceVpcEndpointProps

InterfaceVpcEndpointService

A custom-hosted service for an interface VPC endpoint.

LaunchTemplate

This represents an EC2 LaunchTemplate.

LaunchTemplateAttributes

LaunchTemplateProps

LaunchTemplateSpecialVersions

A class that provides convenient access to special version tokens for LaunchTemplate versions.

LaunchTemplateSpotOptions

LinuxUserDataOptions

LocationPackageOptions

LookupMachineImage

A machine image whose AMI ID will be searched using DescribeImages.

LookupMachineImageProps

MachineImage

Factory functions for standard Amazon Machine Image objects.

MachineImageConfig

MultipartBody

The base class for all classes which can be used as {@link MultipartUserData}.

MultipartBodyOptions

MultipartUserData

Mime multipart user data.

MultipartUserDataOptions

NamedPackageOptions

NatInstanceImage

(experimental) Machine image representing the latest NAT instance image.

NatInstanceProps

NatInstanceProvider

NAT provider which uses NAT Instances.

NatProvider

(experimental) NAT providers.

NatTrafficDirection

Direction of traffic to allow all by default.

NetworkAcl

(experimental) Define a new custom network ACL.

NetworkAclEntry

(experimental) Define an entry in a Network ACL table.

NetworkAclEntryProps

NetworkAclProps

OperatingSystemType

The OS type of a particular image.

Peer

Peer object factories (to be used in Security Group management).

Port

Interface for classes that provide the connection-specification parts of a security group rule.

PortProps

PrivateSubnet

Represents a private VPC subnet resource.

PrivateSubnetAttributes

PrivateSubnetProps

Protocol

Protocol for use in Connection Rules.

PublicSubnet

Represents a public VPC subnet resource.

PublicSubnetAttributes

PublicSubnetProps

RouterType

Type of router used in route.

S3DownloadOptions

SecurityGroup

Creates an Amazon EC2 security group within a VPC.

SecurityGroupImportOptions

SecurityGroupProps

SelectedSubnets

SpotInstanceInterruption

Provides the options for the types of interruption for spot instances.

SpotRequestType

The Spot Instance request type.

Subnet

Represents a new VPC subnet resource.

SubnetAttributes

SubnetConfiguration

SubnetFilter

Contains logic which chooses a set of subnets from a larger list, in conjunction with SubnetSelection, to determine where to place AWS resources such as VPC endpoints, EC2 instances, etc.

SubnetNetworkAclAssociation

SubnetNetworkAclAssociationProps

SubnetProps

SubnetSelection

SubnetType

The type of Subnet.

TrafficDirection

(experimental) Direction of traffic the AclEntry applies to.

TransportProtocol

Transport protocol for client VPN.

UserData

Instance User Data.

Volume

Creates a new EBS Volume in AWS EC2.

VolumeAttributes

VolumeProps

Vpc

Define an AWS Virtual Private Cloud.

VpcAttributes

VpcEndpoint

VpcEndpointService

(experimental) A VPC endpoint service.

VpcEndpointServiceProps

VpcEndpointType

The type of VPC endpoint.

VpcLookupOptions

VpcProps

VpnConnection

Define a VPN Connection.

VpnConnectionOptions

VpnConnectionProps

VpnConnectionType

The VPN connection type.

VpnGateway

The VPN Gateway that shall be added to the VPC.

VpnGatewayProps

VpnPort

Port for client VPN.

VpnTunnelOption

WindowsImage

Select the latest version of the indicated Windows version.

WindowsImageProps

WindowsVersion

The Windows version to use for the WindowsImage.