Class: Aws::LambdaWeb::Types::ServiceConfig
- Inherits:
-
Struct
- Object
- Struct
- Aws::LambdaWeb::Types::ServiceConfig
- Defined in:
- gems/aws-sdk-lambdaweb/lib/aws-sdk-lambdaweb/types.rb
Overview
The service configuration for a web function revision, including execution role, timeout, concurrency, and telemetry settings.
Constant Summary collapse
- SENSITIVE =
[:environment_variables]
Instance Attribute Summary collapse
-
#environment_variables ⇒ Hash<String,String>
A map of environment variable key-value pairs available to the web function at runtime.
-
#execution_role_arn ⇒ String
The ARN of the IAM role that the web function assumes when it runs.
-
#max_concurrency_per_environment ⇒ Integer
The maximum number of concurrent requests handled per execution environment.
-
#telemetry_config ⇒ Types::TelemetryConfig
The telemetry configuration for the web function, including logging settings.
-
#timeout_seconds ⇒ Integer
The amount of time (in seconds) that Lambda allows the web function to run before stopping it.
Instance Attribute Details
#environment_variables ⇒ Hash<String,String>
A map of environment variable key-value pairs available to the web function at runtime. Environment variable values are sensitive.
1757 1758 1759 1760 1761 1762 1763 1764 1765 |
# File 'gems/aws-sdk-lambdaweb/lib/aws-sdk-lambdaweb/types.rb', line 1757 class ServiceConfig < Struct.new( :execution_role_arn, :timeout_seconds, :max_concurrency_per_environment, :environment_variables, :telemetry_config) SENSITIVE = [:environment_variables] include Aws::Structure end |
#execution_role_arn ⇒ String
The ARN of the IAM role that the web function assumes when it runs. This role provides permissions to access AWS services and resources.
1757 1758 1759 1760 1761 1762 1763 1764 1765 |
# File 'gems/aws-sdk-lambdaweb/lib/aws-sdk-lambdaweb/types.rb', line 1757 class ServiceConfig < Struct.new( :execution_role_arn, :timeout_seconds, :max_concurrency_per_environment, :environment_variables, :telemetry_config) SENSITIVE = [:environment_variables] include Aws::Structure end |
#max_concurrency_per_environment ⇒ Integer
The maximum number of concurrent requests handled per execution environment. Minimum value of 1, maximum value of 128. If you don't specify a value, the default is 64, and this default is returned in the response.
1757 1758 1759 1760 1761 1762 1763 1764 1765 |
# File 'gems/aws-sdk-lambdaweb/lib/aws-sdk-lambdaweb/types.rb', line 1757 class ServiceConfig < Struct.new( :execution_role_arn, :timeout_seconds, :max_concurrency_per_environment, :environment_variables, :telemetry_config) SENSITIVE = [:environment_variables] include Aws::Structure end |
#telemetry_config ⇒ Types::TelemetryConfig
The telemetry configuration for the web function, including logging settings.
1757 1758 1759 1760 1761 1762 1763 1764 1765 |
# File 'gems/aws-sdk-lambdaweb/lib/aws-sdk-lambdaweb/types.rb', line 1757 class ServiceConfig < Struct.new( :execution_role_arn, :timeout_seconds, :max_concurrency_per_environment, :environment_variables, :telemetry_config) SENSITIVE = [:environment_variables] include Aws::Structure end |
#timeout_seconds ⇒ Integer
The amount of time (in seconds) that Lambda allows the web function to run before stopping it. Minimum value of 3, maximum value of 900. If you don't specify a value, the default is 30, and this default is returned in the response.
1757 1758 1759 1760 1761 1762 1763 1764 1765 |
# File 'gems/aws-sdk-lambdaweb/lib/aws-sdk-lambdaweb/types.rb', line 1757 class ServiceConfig < Struct.new( :execution_role_arn, :timeout_seconds, :max_concurrency_per_environment, :environment_variables, :telemetry_config) SENSITIVE = [:environment_variables] include Aws::Structure end |