Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(ec2): backfill missing enums for ec2 #33642

Closed
wants to merge 5 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions packages/aws-cdk-lib/aws-ec2/lib/instance-types.ts
Original file line number Diff line number Diff line change
@@ -1481,6 +1481,21 @@ export enum InstanceArchitecture {
* x86-64 architecture
*/
X86_64 = 'x86_64',

/**
* [PLACEHOLDER FOR: TO BE FILLED OUT]
*/
I386 = 'i386',

/**
* [PLACEHOLDER FOR: TO BE FILLED OUT]
*/
X86_64_MAC = 'x86_64_mac',

/**
* [PLACEHOLDER FOR: TO BE FILLED OUT]
*/
ARM64_MAC = 'arm64_mac',
}

/**
5 changes: 5 additions & 0 deletions packages/aws-cdk-lib/aws-ec2/lib/launch-template.ts
Original file line number Diff line number Diff line change
@@ -67,6 +67,11 @@ export enum InstanceInitiatedShutdownBehavior {
* The instance will be terminated when it initiates a shutdown.
*/
TERMINATE = 'terminate',

/**
* [PLACEHOLDER FOR: TO BE FILLED OUT]
*/
HIBERNATE = 'hibernate',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

}

/**
15 changes: 15 additions & 0 deletions packages/aws-cdk-lib/aws-ec2/lib/machine-image/common.ts
Original file line number Diff line number Diff line change
@@ -163,6 +163,21 @@ export enum AmazonLinuxCpuType {
* x86_64 CPU type
*/
X86_64 = 'x86_64',

/**
* [PLACEHOLDER FOR: TO BE FILLED OUT]
*/
I386 = 'i386',

/**
* [PLACEHOLDER FOR: TO BE FILLED OUT]
*/
X86_64_MAC = 'x86_64_mac',

/**
* [PLACEHOLDER FOR: TO BE FILLED OUT]
*/
ARM64_MAC = 'arm64_mac',
}

/**
15 changes: 15 additions & 0 deletions packages/aws-cdk-lib/aws-ec2/lib/vpc-endpoint.ts
Original file line number Diff line number Diff line change
@@ -75,6 +75,21 @@ export enum VpcEndpointType {
* your route table, used for traffic destined to a supported AWS service.
*/
GATEWAY = 'Gateway',

/**
* [PLACEHOLDER FOR: TO BE FILLED OUT]
*/
GATEWAYLOADBALANCER = 'GatewayLoadBalancer',

/**
* [PLACEHOLDER FOR: TO BE FILLED OUT]
*/
RESOURCE = 'Resource',

/**
* [PLACEHOLDER FOR: TO BE FILLED OUT]
*/
SERVICENETWORK = 'ServiceNetwork',
}

/**
Loading
Oops, something went wrong.