ServiceConfigProperty Struct
The service configuration for the revision.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_lambda as lambda } from 'aws-cdk-lib';
const serviceConfigProperty: lambda.CfnWebFunctionRevision.ServiceConfigProperty = {
executionRoleArn: 'executionRoleArn',
// the properties below are optional
egressNetworkConnectorArn: 'egressNetworkConnectorArn',
environmentVariables: {
environmentVariablesKey: 'environmentVariables',
},
maxConcurrencyPerEnvironment: 123,
telemetryConfig: {
loggingConfig: {
applicationLogLevel: 'applicationLogLevel',
logGroup: 'logGroup',
systemLogLevel: 'systemLogLevel',
},
},
timeoutSeconds: 123,
};
Properties
egressNetworkConnectorArnstringegress_network_connector_arnstregressNetworkConnectorArnStringEgressNetworkConnectorArnstringEgressNetworkConnectorArn*string#The versioned ARN of the network connector used for outbound network access from the revision.
environmentVariablesIResolvable | { [key: string]: string }environment_variablestyping.Union[IResolvable, typing.Mapping[str, str]]environmentVariablesIResolvableEnvironmentVariablesIResolvableEnvironmentVariablesinterface{}#Environment variables for the function.
executionRoleArnstringexecution_role_arnstrexecutionRoleArnStringExecutionRoleArnstringExecutionRoleArn*stringrequired#The ARN of the execution role.
maxConcurrencyPerEnvironmentnumbermax_concurrency_per_environmentint | floatmaxConcurrencyPerEnvironmentNumberMaxConcurrencyPerEnvironmentdoubleMaxConcurrencyPerEnvironment*float64#The maximum concurrency per environment.
telemetryConfigIResolvable | CfnWebFunctionRevision.TelemetryConfigPropertytelemetry_configtyping.Union[IResolvable, TelemetryConfigProperty]telemetryConfigIResolvableTelemetryConfigIResolvableTelemetryConfiginterface{}#The telemetry configuration.
timeoutSecondsnumbertimeout_secondsint | floattimeoutSecondsNumberTimeoutSecondsdoubleTimeoutSeconds*float64#The function timeout in seconds.