Class: Aws::LambdaWeb::Types::ServiceConfig

Inherits:
Struct
  • Object
show all
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, VPC network access, concurrency, and telemetry settings.

Constant Summary collapse

SENSITIVE =
[:environment_variables]

Instance Attribute Summary collapse

Instance Attribute Details

#egress_network_connector_arn ⇒ String

The Amazon Resource Name (ARN) of the Lambda network connector that gives the web function access to resources in your VPC. You must specify the fully qualified ARN, including the connector version, which pins the revision to that version. If the network connector is deleted, invocations of revisions that reference it fail. Revisions that specify a network connector support only HomeRegion endpoints, not MultiRegion or PerRegion.

Returns:

  • (String)


1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
# File 'gems/aws-sdk-lambdaweb/lib/aws-sdk-lambdaweb/types.rb', line 1957

class ServiceConfig < Struct.new(
  :execution_role_arn,
  :timeout_seconds,
  :egress_network_connector_arn,
  :max_concurrency_per_environment,
  :environment_variables,
  :telemetry_config)
  SENSITIVE = [:environment_variables]
  include Aws::Structure
end

#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.

Returns:

  • (Hash<String,String>)


1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
# File 'gems/aws-sdk-lambdaweb/lib/aws-sdk-lambdaweb/types.rb', line 1957

class ServiceConfig < Struct.new(
  :execution_role_arn,
  :timeout_seconds,
  :egress_network_connector_arn,
  :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.

Returns:

  • (String)


1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
# File 'gems/aws-sdk-lambdaweb/lib/aws-sdk-lambdaweb/types.rb', line 1957

class ServiceConfig < Struct.new(
  :execution_role_arn,
  :timeout_seconds,
  :egress_network_connector_arn,
  :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.

Returns:

  • (Integer)


1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
# File 'gems/aws-sdk-lambdaweb/lib/aws-sdk-lambdaweb/types.rb', line 1957

class ServiceConfig < Struct.new(
  :execution_role_arn,
  :timeout_seconds,
  :egress_network_connector_arn,
  :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.



1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
# File 'gems/aws-sdk-lambdaweb/lib/aws-sdk-lambdaweb/types.rb', line 1957

class ServiceConfig < Struct.new(
  :execution_role_arn,
  :timeout_seconds,
  :egress_network_connector_arn,
  :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.

Returns:

  • (Integer)


1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
# File 'gems/aws-sdk-lambdaweb/lib/aws-sdk-lambdaweb/types.rb', line 1957

class ServiceConfig < Struct.new(
  :execution_role_arn,
  :timeout_seconds,
  :egress_network_connector_arn,
  :max_concurrency_per_environment,
  :environment_variables,
  :telemetry_config)
  SENSITIVE = [:environment_variables]
  include Aws::Structure
end