CfnMicrovmImageProps
- class aws_cdk.aws_lambda.CfnMicrovmImageProps(*, additional_os_capabilities, base_image_arn, base_image_version, build_role_arn, code_artifact, cpu_configurations, description, egress_network_connectors, environment_variables, hooks, logging, name, resources, tags=None)
Bases:
objectProperties for defining a
CfnMicrovmImage.- Parameters:
additional_os_capabilities (
Sequence[str])base_image_arn (
str) – ARN of the base MicroVM image.base_image_version (
str) – Specific version of the base MicroVM image to use.build_role_arn (
str) – ARN of the IAM build role.code_artifact (
Union[IResolvable,CodeArtifactProperty,Dict[str,Any]])cpu_configurations (
Union[IResolvable,Sequence[Union[IResolvable,CpuConfigurationProperty,Dict[str,Any]]]])description (
str) – Human-readable description of the MicroVM image and its purpose.egress_network_connectors (
Sequence[str])environment_variables (
Union[IResolvable,Sequence[Union[IResolvable,EnvironmentVariableProperty,Dict[str,Any]]]]) – Environment variables to set in the container during the snapshot build.hooks (
Union[IResolvable,HooksProperty,Dict[str,Any]])logging (
Union[IResolvable,LoggingProperty,Dict[str,Any]])name (
str) – Unique name for the MicroVM image within the account.resources (
Union[IResolvable,Sequence[Union[IResolvable,ResourcesProperty,Dict[str,Any]]]])tags (
Optional[Sequence[Union[CfnTag,Dict[str,Any]]]]) – Key-value pairs to associate with the MicroVM image for organization and management.
- See:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-microvmimage.html
- ExampleMetadata:
fixture=_generated
Example:
from aws_cdk import CfnTag # The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_lambda as lambda_ cfn_microvm_image_props = lambda.CfnMicrovmImageProps( additional_os_capabilities=["additionalOsCapabilities"], base_image_arn="baseImageArn", base_image_version="baseImageVersion", build_role_arn="buildRoleArn", code_artifact=lambda.CfnMicrovmImage.CodeArtifactProperty( uri="uri" ), cpu_configurations=[lambda.CfnMicrovmImage.CpuConfigurationProperty( architecture="architecture" )], description="description", egress_network_connectors=["egressNetworkConnectors"], environment_variables=[lambda.CfnMicrovmImage.EnvironmentVariableProperty( key="key", value="value" )], hooks=lambda.CfnMicrovmImage.HooksProperty( microvm_hooks=lambda.CfnMicrovmImage.MicrovmHooksProperty( resume="resume", resume_timeout_in_seconds=123, run="run", run_timeout_in_seconds=123, suspend="suspend", suspend_timeout_in_seconds=123, terminate="terminate", terminate_timeout_in_seconds=123 ), microvm_image_hooks=lambda.CfnMicrovmImage.MicrovmImageHooksProperty( ready="ready", ready_timeout_in_seconds=123, validate="validate", validate_timeout_in_seconds=123 ), port=123 ), logging=lambda.CfnMicrovmImage.LoggingProperty( cloud_watch=lambda.CfnMicrovmImage.CloudWatchLoggingProperty( log_group="logGroup", log_stream="logStream" ), disabled=False ), name="name", resources=[lambda.CfnMicrovmImage.ResourcesProperty( minimum_memory_in_mi_b=123 )], # the properties below are optional tags=[CfnTag( key="key", value="value" )] )
Attributes
- additional_os_capabilities
-
- Type:
see
- base_image_arn
ARN of the base MicroVM image.
- base_image_version
Specific version of the base MicroVM image to use.
- build_role_arn
ARN of the IAM build role.
- code_artifact
-
- Type:
see
- cpu_configurations
-
- Type:
see
- description
Human-readable description of the MicroVM image and its purpose.
- egress_network_connectors
-
- Type:
see
- environment_variables
Environment variables to set in the container during the snapshot build.
- hooks
-
- Type:
see
- logging
-
- Type:
see
- name
Unique name for the MicroVM image within the account.
- resources
-
- Type:
see
- tags
Key-value pairs to associate with the MicroVM image for organization and management.