Class: Aws::LambdaMicrovms::Types::RunMicrovmRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-lambdamicrovms/lib/aws-sdk-lambdamicrovms/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[:run_hook_payload]

Instance Attribute Summary collapse

Instance Attribute Details

#client_token ⇒ String

A unique, case-sensitive identifier you provide to ensure the idempotency of the request.

A suitable default value is auto-generated. You should normally not need to pass this option.

Returns:

  • (String)


1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
# File 'gems/aws-sdk-lambdamicrovms/lib/aws-sdk-lambdamicrovms/types.rb', line 1884

class RunMicrovmRequest < Struct.new(
  :ingress_network_connectors,
  :egress_network_connectors,
  :image_identifier,
  :image_version,
  :execution_role_arn,
  :idle_policy,
  :logging,
  :kms_key_identifier,
  :run_hook_payload,
  :maximum_duration_in_seconds,
  :client_token)
  SENSITIVE = [:run_hook_payload]
  include Aws::Structure
end

#egress_network_connectors ⇒ Array<String>

The list of egress network connectors available to the MicroVM at runtime.

Returns:

  • (Array<String>)


1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
# File 'gems/aws-sdk-lambdamicrovms/lib/aws-sdk-lambdamicrovms/types.rb', line 1884

class RunMicrovmRequest < Struct.new(
  :ingress_network_connectors,
  :egress_network_connectors,
  :image_identifier,
  :image_version,
  :execution_role_arn,
  :idle_policy,
  :logging,
  :kms_key_identifier,
  :run_hook_payload,
  :maximum_duration_in_seconds,
  :client_token)
  SENSITIVE = [:run_hook_payload]
  include Aws::Structure
end

#execution_role_arn ⇒ String

The ARN of the IAM role to be assumed by the MicroVM during execution.

Returns:

  • (String)


1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
# File 'gems/aws-sdk-lambdamicrovms/lib/aws-sdk-lambdamicrovms/types.rb', line 1884

class RunMicrovmRequest < Struct.new(
  :ingress_network_connectors,
  :egress_network_connectors,
  :image_identifier,
  :image_version,
  :execution_role_arn,
  :idle_policy,
  :logging,
  :kms_key_identifier,
  :run_hook_payload,
  :maximum_duration_in_seconds,
  :client_token)
  SENSITIVE = [:run_hook_payload]
  include Aws::Structure
end

#idle_policy ⇒ Types::IdlePolicy

Configuration to control auto-suspend and auto-resume behavior.

Returns:



1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
# File 'gems/aws-sdk-lambdamicrovms/lib/aws-sdk-lambdamicrovms/types.rb', line 1884

class RunMicrovmRequest < Struct.new(
  :ingress_network_connectors,
  :egress_network_connectors,
  :image_identifier,
  :image_version,
  :execution_role_arn,
  :idle_policy,
  :logging,
  :kms_key_identifier,
  :run_hook_payload,
  :maximum_duration_in_seconds,
  :client_token)
  SENSITIVE = [:run_hook_payload]
  include Aws::Structure
end

#image_identifier ⇒ String

The identifier (ARN or ID) of the MicroVM image to run.

Returns:

  • (String)


1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
# File 'gems/aws-sdk-lambdamicrovms/lib/aws-sdk-lambdamicrovms/types.rb', line 1884

class RunMicrovmRequest < Struct.new(
  :ingress_network_connectors,
  :egress_network_connectors,
  :image_identifier,
  :image_version,
  :execution_role_arn,
  :idle_policy,
  :logging,
  :kms_key_identifier,
  :run_hook_payload,
  :maximum_duration_in_seconds,
  :client_token)
  SENSITIVE = [:run_hook_payload]
  include Aws::Structure
end

#image_version ⇒ String

The version of the MicroVM image to run.

Returns:

  • (String)


1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
# File 'gems/aws-sdk-lambdamicrovms/lib/aws-sdk-lambdamicrovms/types.rb', line 1884

class RunMicrovmRequest < Struct.new(
  :ingress_network_connectors,
  :egress_network_connectors,
  :image_identifier,
  :image_version,
  :execution_role_arn,
  :idle_policy,
  :logging,
  :kms_key_identifier,
  :run_hook_payload,
  :maximum_duration_in_seconds,
  :client_token)
  SENSITIVE = [:run_hook_payload]
  include Aws::Structure
end

#ingress_network_connectors ⇒ Array<String>

The list of ingress network connectors to configure for the MicroVM.

Returns:

  • (Array<String>)


1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
# File 'gems/aws-sdk-lambdamicrovms/lib/aws-sdk-lambdamicrovms/types.rb', line 1884

class RunMicrovmRequest < Struct.new(
  :ingress_network_connectors,
  :egress_network_connectors,
  :image_identifier,
  :image_version,
  :execution_role_arn,
  :idle_policy,
  :logging,
  :kms_key_identifier,
  :run_hook_payload,
  :maximum_duration_in_seconds,
  :client_token)
  SENSITIVE = [:run_hook_payload]
  include Aws::Structure
end

#kms_key_identifier ⇒ String

The customer managed Amazon Web Services Key Management Service (Amazon Web Services KMS) key that encrypts your MicroVM configuration at rest. To use this operation, you must have permission to use the key. Specify the key ARN or the alias ARN.

If you don't specify a key, your MicroVM uses an Amazon Web Services owned key.

Returns:

  • (String)


1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
# File 'gems/aws-sdk-lambdamicrovms/lib/aws-sdk-lambdamicrovms/types.rb', line 1884

class RunMicrovmRequest < Struct.new(
  :ingress_network_connectors,
  :egress_network_connectors,
  :image_identifier,
  :image_version,
  :execution_role_arn,
  :idle_policy,
  :logging,
  :kms_key_identifier,
  :run_hook_payload,
  :maximum_duration_in_seconds,
  :client_token)
  SENSITIVE = [:run_hook_payload]
  include Aws::Structure
end

#logging ⇒ Types::Logging

The logging configuration for this MicroVM instance. Specify {"logGroup": "..."} to stream application logs to a custom CloudWatch log group, or {} to turn off logging.

Returns:



1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
# File 'gems/aws-sdk-lambdamicrovms/lib/aws-sdk-lambdamicrovms/types.rb', line 1884

class RunMicrovmRequest < Struct.new(
  :ingress_network_connectors,
  :egress_network_connectors,
  :image_identifier,
  :image_version,
  :execution_role_arn,
  :idle_policy,
  :logging,
  :kms_key_identifier,
  :run_hook_payload,
  :maximum_duration_in_seconds,
  :client_token)
  SENSITIVE = [:run_hook_payload]
  include Aws::Structure
end

#maximum_duration_in_seconds ⇒ Integer

The maximum duration in seconds that the MicroVM can exist before being terminated by the platform. Valid range: 1–28,800 (8 hours).

Returns:

  • (Integer)


1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
# File 'gems/aws-sdk-lambdamicrovms/lib/aws-sdk-lambdamicrovms/types.rb', line 1884

class RunMicrovmRequest < Struct.new(
  :ingress_network_connectors,
  :egress_network_connectors,
  :image_identifier,
  :image_version,
  :execution_role_arn,
  :idle_policy,
  :logging,
  :kms_key_identifier,
  :run_hook_payload,
  :maximum_duration_in_seconds,
  :client_token)
  SENSITIVE = [:run_hook_payload]
  include Aws::Structure
end

#run_hook_payload ⇒ String

Per-MicroVM initialization data delivered as the request body of the /run lifecycle hook. Use to pass tenant-specific configuration such as session IDs or secret references. Maximum: 16,384 bytes.

Returns:

  • (String)


1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
# File 'gems/aws-sdk-lambdamicrovms/lib/aws-sdk-lambdamicrovms/types.rb', line 1884

class RunMicrovmRequest < Struct.new(
  :ingress_network_connectors,
  :egress_network_connectors,
  :image_identifier,
  :image_version,
  :execution_role_arn,
  :idle_policy,
  :logging,
  :kms_key_identifier,
  :run_hook_payload,
  :maximum_duration_in_seconds,
  :client_token)
  SENSITIVE = [:run_hook_payload]
  include Aws::Structure
end