commit
5ab3339d94
|
|
@ -232,7 +232,7 @@ export class CreateCheckPointApi {
|
|||
handler: 'handler',
|
||||
timeout: Duration.seconds(900),
|
||||
role: this.role,
|
||||
memorySize: 3070,
|
||||
memorySize: 3000,
|
||||
tracing: aws_lambda.Tracing.ACTIVE,
|
||||
environment: {
|
||||
CHECKPOINT_TABLE: this.checkpointTable.tableName,
|
||||
|
|
@ -252,7 +252,7 @@ export class CreateCheckPointApi {
|
|||
handler: 'handler',
|
||||
timeout: Duration.seconds(900),
|
||||
role: this.role,
|
||||
memorySize: 3070,
|
||||
memorySize: 3000,
|
||||
tracing: aws_lambda.Tracing.ACTIVE,
|
||||
ephemeralStorageSize: Size.mebibytes(10240),
|
||||
environment: {
|
||||
|
|
|
|||
|
|
@ -305,7 +305,7 @@ export class UpdateCheckPointApi {
|
|||
handler: 'handler',
|
||||
timeout: Duration.seconds(900),
|
||||
role: this.role,
|
||||
memorySize: 3070,
|
||||
memorySize: 3000,
|
||||
tracing: aws_lambda.Tracing.ACTIVE,
|
||||
ephemeralStorageSize: Size.mebibytes(10240),
|
||||
environment: {
|
||||
|
|
@ -324,7 +324,7 @@ export class UpdateCheckPointApi {
|
|||
handler: 'handler',
|
||||
timeout: Duration.seconds(900),
|
||||
role: this.role,
|
||||
memorySize: 3070,
|
||||
memorySize: 3000,
|
||||
tracing: aws_lambda.Tracing.ACTIVE,
|
||||
environment: {
|
||||
CHECKPOINT_TABLE: this.checkpointTable.tableName,
|
||||
|
|
|
|||
|
|
@ -256,7 +256,7 @@ export class CreateExecuteApi {
|
|||
handler: 'handler',
|
||||
timeout: Duration.seconds(900),
|
||||
role: this.iamRole(),
|
||||
memorySize: 3070,
|
||||
memorySize: 3000,
|
||||
tracing: aws_lambda.Tracing.ACTIVE,
|
||||
ephemeralStorageSize: Size.gibibytes(10),
|
||||
environment: {
|
||||
|
|
|
|||
|
|
@ -118,7 +118,7 @@ export class DeleteExecutesApi {
|
|||
handler: 'handler',
|
||||
timeout: Duration.seconds(900),
|
||||
role: this.iamRole(),
|
||||
memorySize: 3070,
|
||||
memorySize: 3000,
|
||||
tracing: aws_lambda.Tracing.ACTIVE,
|
||||
ephemeralStorageSize: Size.gibibytes(10),
|
||||
environment: {
|
||||
|
|
|
|||
|
|
@ -136,7 +136,7 @@ export class MergeExecuteApi {
|
|||
handler: 'handler',
|
||||
timeout: Duration.seconds(900),
|
||||
role: this.iamRole(),
|
||||
memorySize: 3070,
|
||||
memorySize: 3000,
|
||||
tracing: aws_lambda.Tracing.ACTIVE,
|
||||
ephemeralStorageSize: Size.gibibytes(10),
|
||||
environment: {
|
||||
|
|
|
|||
|
|
@ -328,7 +328,7 @@ export class CreateInferenceJobApi {
|
|||
runtime: Runtime.PYTHON_3_10,
|
||||
index: 'create_inference_job.py',
|
||||
handler: 'handler',
|
||||
memorySize: 3070,
|
||||
memorySize: 3000,
|
||||
tracing: aws_lambda.Tracing.ACTIVE,
|
||||
ephemeralStorageSize: Size.gibibytes(10),
|
||||
timeout: Duration.seconds(900),
|
||||
|
|
|
|||
|
|
@ -184,7 +184,7 @@ export class StartInferenceJobApi {
|
|||
runtime: Runtime.PYTHON_3_10,
|
||||
index: 'start_inference_job.py',
|
||||
handler: 'handler',
|
||||
memorySize: 3070,
|
||||
memorySize: 3000,
|
||||
tracing: aws_lambda.Tracing.ACTIVE,
|
||||
ephemeralStorageSize: Size.gibibytes(10),
|
||||
timeout: Duration.seconds(900),
|
||||
|
|
|
|||
|
|
@ -349,7 +349,7 @@ export class CreateTrainingJobApi {
|
|||
handler: 'handler',
|
||||
timeout: Duration.seconds(900),
|
||||
role: this.lambdaRole(),
|
||||
memorySize: 3070,
|
||||
memorySize: 3000,
|
||||
tracing: Tracing.ACTIVE,
|
||||
environment: {
|
||||
TRAIN_TABLE: this.props.trainTable.tableName,
|
||||
|
|
|
|||
|
|
@ -196,7 +196,7 @@ export class ComfyApiStack extends Construct {
|
|||
runtime: lambda.Runtime.PYTHON_3_10,
|
||||
handler: 'handler',
|
||||
index: 'execute_async_events.py',
|
||||
memorySize: 3070,
|
||||
memorySize: 3000,
|
||||
tracing: aws_lambda.Tracing.ACTIVE,
|
||||
ephemeralStorageSize: Size.gibibytes(10),
|
||||
timeout: Duration.seconds(900),
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@ export class EndpointsCloudwatchEvents {
|
|||
handler: 'handler',
|
||||
timeout: Duration.seconds(900),
|
||||
role: this.iamRole(),
|
||||
memorySize: 3070,
|
||||
memorySize: 3000,
|
||||
tracing: aws_lambda.Tracing.ACTIVE,
|
||||
layers: [this.layer],
|
||||
});
|
||||
|
|
|
|||
|
|
@ -103,7 +103,7 @@ export class SagemakerEndpointEvents {
|
|||
handler: 'handler',
|
||||
timeout: Duration.seconds(900),
|
||||
role: this.iamRole(),
|
||||
memorySize: 3070,
|
||||
memorySize: 3000,
|
||||
tracing: aws_lambda.Tracing.ACTIVE,
|
||||
layers: [this.layer],
|
||||
});
|
||||
|
|
|
|||
|
|
@ -154,7 +154,7 @@ export class Inference {
|
|||
runtime: lambda.Runtime.PYTHON_3_10,
|
||||
handler: 'handler',
|
||||
index: 'inference_async_events.py',
|
||||
memorySize: 3070,
|
||||
memorySize: 3000,
|
||||
tracing: aws_lambda.Tracing.ACTIVE,
|
||||
ephemeralStorageSize: Size.gibibytes(10),
|
||||
timeout: Duration.seconds(900),
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@ export class ResourceProvider extends Construct {
|
|||
},
|
||||
timeout: Duration.seconds(900),
|
||||
role: this.role,
|
||||
memorySize: 3070,
|
||||
memorySize: 3000,
|
||||
tracing: aws_lambda.Tracing.ACTIVE,
|
||||
environment: {
|
||||
ROLE_ARN: this.role.roleArn,
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ export class ResourceWaiter extends Construct {
|
|||
},
|
||||
timeout: Duration.seconds(900),
|
||||
role: role,
|
||||
memorySize: 3070,
|
||||
memorySize: 3000,
|
||||
tracing: aws_lambda.Tracing.ACTIVE,
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue