Skip to content

Commit

Permalink
refactor: update to use @see flag (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukey-aleios committed Jun 26, 2023
1 parent a787bfb commit fd0a20f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions constructs/Lambda/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,35 +11,35 @@ export interface RestrictedLambdaConfig {

export interface RequiredLambdaConfig extends Partial<NodejsFunctionProps> {
/**
* Please look at https://aleios-cloud.github.io/sls-constructs/docs/Lambda#function-name for documentation
* @see https://aleios-cloud.github.io/sls-constructs/docs/Lambda#function-name
* @required true
*/
functionName: string;
/**
* Please look at https://aleios-cloud.github.io/sls-constructs/docs/Lambda#entry for documentation
* @see https://aleios-cloud.github.io/sls-constructs/docs/Lambda#entry
* @required true
*/
entry: string;
}

export interface AleiosLambdaProps extends RequiredLambdaConfig {
/**
* Please look at https://aleios-cloud.github.io/sls-constructs/docs/Lambda#runtime for documentation
* @see https://aleios-cloud.github.io/sls-constructs/docs/Lambda#runtime
* @default Runtime.NODEJS_18_X,
*/
runtime?: RestrictedLambdaConfig['runtime'];
/**
* Please look at https://aleios-cloud.github.io/sls-constructs/docs/Lambda#architecture for documentation
* @see https://aleios-cloud.github.io/sls-constructs/docs/Lambda#architecture
* @default Architecture.ARM_64
*/
architecture?: RestrictedLambdaConfig['architecture'];
/**
* Please look at https://aleios-cloud.github.io/sls-constructs/docs/Lambda#tracing for documentation
* @see https://aleios-cloud.github.io/sls-constructs/docs/Lambda#tracing
* @default Tracing.ACTIVE
*/
tracing?: RestrictedLambdaConfig['tracing'];
/**
* Please look at https://aleios-cloud.github.io/sls-constructs/docs/Lambda#retry-attempts for documentation
* @see https://aleios-cloud.github.io/sls-constructs/docs/Lambda#retry-attempts
* @default 2
*/
retryAttempts?: RestrictedLambdaConfig['retryAttempts'];
Expand Down

0 comments on commit fd0a20f

Please sign in to comment.