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(lambda): backfill missing enums for lambda #33651

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 2 commits
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
4 changes: 4 additions & 0 deletions packages/aws-cdk-lib/aws-lambda/lib/event-source-mapping.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@ export class SourceAccessConfigurationType {
* The Secrets Manager ARN of your secret key containing the root CA certificate (X.509 PEM) used for TLS encryption of your Apache Kafka brokers.
*/
public static readonly SERVER_ROOT_CA_CERTIFICATE = new SourceAccessConfigurationType('SERVER_ROOT_CA_CERTIFICATE');
/**
* The name of the virtual host in your RabbitMQ broker. Lambda uses this RabbitMQ host as the event source.
*/
public static readonly VIRTUAL_HOST = new SourceAccessConfigurationType('VIRTUAL_HOST');

/** A custom source access configuration property */
public static of(name: string): SourceAccessConfigurationType {
Expand Down
5 changes: 5 additions & 0 deletions packages/aws-cdk-lib/aws-lambda/lib/runtime-management.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ export class RuntimeManagementMode {
* When using this mode, you must regularly update your functions to keep their runtime up to date.
*/
public static readonly FUNCTION_UPDATE = new RuntimeManagementMode('FunctionUpdate');
/**
* [PLACEHOLDER COMMENT: TO BE FILLED OUT]
*/
public static readonly MANUAL = new RuntimeManagementMode('Manual');

/**
* You specify a runtime version in your function configuration.
* The function uses this runtime version indefinitely.
Expand Down