CfnMicrovmImageMixinProps
- class aws_cdk.cfn_property_mixins.aws_lambda.CfnMicrovmImageMixinProps(*, additional_os_capabilities=None, base_image_arn=None, base_image_version=None, build_role_arn=None, code_artifact=None, cpu_configurations=None, description=None, egress_network_connectors=None, environment_variables=None, hooks=None, logging=None, name=None, resources=None, tags=None)
Bases:
objectProperties for CfnMicrovmImagePropsMixin.
- Parameters:
additional_os_capabilities (
Optional[Sequence[str]])base_image_arn (
Optional[str]) – ARN of the base MicroVM image.base_image_version (
Optional[str]) – Specific version of the base MicroVM image to use.build_role_arn (
Optional[str]) – ARN of the IAM build role.code_artifact (
Union[IResolvable,CodeArtifactProperty,Dict[str,Any],None])cpu_configurations (
Union[IResolvable,Sequence[Union[IResolvable,CpuConfigurationProperty,Dict[str,Any]]],None])description (
Optional[str]) – Human-readable description of the MicroVM image and its purpose.egress_network_connectors (
Optional[Sequence[str]])environment_variables (
Union[IResolvable,Sequence[Union[IResolvable,EnvironmentVariableProperty,Dict[str,Any]]],None]) – Environment variables to set in the container during the snapshot build.hooks (
Union[IResolvable,HooksProperty,Dict[str,Any],None])logging (
Union[IResolvable,LoggingProperty,Dict[str,Any],None])name (
Optional[str]) – Unique name for the MicroVM image within the account.resources (
Union[IResolvable,Sequence[Union[IResolvable,ResourcesProperty,Dict[str,Any]]],None])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.cfn_property_mixins import aws_lambda as lambda_ cfn_microvm_image_mixin_props = lambda.CfnMicrovmImageMixinProps( additional_os_capabilities=["additionalOsCapabilities"], base_image_arn="baseImageArn", base_image_version="baseImageVersion", build_role_arn="buildRoleArn", code_artifact=lambda.CfnMicrovmImagePropsMixin.CodeArtifactProperty( uri="uri" ), cpu_configurations=[lambda.CfnMicrovmImagePropsMixin.CpuConfigurationProperty( architecture="architecture" )], description="description", egress_network_connectors=["egressNetworkConnectors"], environment_variables=[lambda.CfnMicrovmImagePropsMixin.EnvironmentVariableProperty( key="key", value="value" )], hooks=lambda.CfnMicrovmImagePropsMixin.HooksProperty( microvm_hooks=lambda.CfnMicrovmImagePropsMixin.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.CfnMicrovmImagePropsMixin.MicrovmImageHooksProperty( ready="ready", ready_timeout_in_seconds=123, validate="validate", validate_timeout_in_seconds=123 ), port=123 ), logging=lambda.CfnMicrovmImagePropsMixin.LoggingProperty( cloud_watch=lambda.CfnMicrovmImagePropsMixin.CloudWatchLoggingProperty( log_group="logGroup", log_stream="logStream" ), disabled=False ), name="name", resources=[lambda.CfnMicrovmImagePropsMixin.ResourcesProperty( minimum_memory_in_mi_b=123 )], 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.