interface CfnMicrovmImageMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.Lambda.CfnMicrovmImageMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awslambda#CfnMicrovmImageMixinProps |
Java | software.amazon.awscdk.cfnpropertymixins.services.lambda.CfnMicrovmImageMixinProps |
Python | aws_cdk.cfn_property_mixins.aws_lambda.CfnMicrovmImageMixinProps |
TypeScript | @aws-cdk/cfn-property-mixins » aws_lambda » CfnMicrovmImageMixinProps |
Properties for CfnMicrovmImagePropsMixin.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-microvmimage.html
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_lambda as lambda } from '@aws-cdk/cfn-property-mixins';
const cfnMicrovmImageMixinProps: lambda.CfnMicrovmImageMixinProps = {
additionalOsCapabilities: ['additionalOsCapabilities'],
baseImageArn: 'baseImageArn',
baseImageVersion: 'baseImageVersion',
buildRoleArn: 'buildRoleArn',
codeArtifact: {
uri: 'uri',
},
cpuConfigurations: [{
architecture: 'architecture',
}],
description: 'description',
egressNetworkConnectors: ['egressNetworkConnectors'],
environmentVariables: [{
key: 'key',
value: 'value',
}],
hooks: {
microvmHooks: {
resume: 'resume',
resumeTimeoutInSeconds: 123,
run: 'run',
runTimeoutInSeconds: 123,
suspend: 'suspend',
suspendTimeoutInSeconds: 123,
terminate: 'terminate',
terminateTimeoutInSeconds: 123,
},
microvmImageHooks: {
ready: 'ready',
readyTimeoutInSeconds: 123,
validate: 'validate',
validateTimeoutInSeconds: 123,
},
port: 123,
},
logging: {
cloudWatch: {
logGroup: 'logGroup',
logStream: 'logStream',
},
disabled: false,
},
name: 'name',
resources: [{
minimumMemoryInMiB: 123,
}],
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| additional | string[] | |
| base | string | ARN of the base MicroVM image. |
| base | string | Specific version of the base MicroVM image to use. |
| build | string | ARN of the IAM build role. |
| code | IResolvable | Code | |
| cpu | IResolvable | (IResolvable | Cpu)[] | |
| description? | string | Human-readable description of the MicroVM image and its purpose. |
| egress | string[] | |
| environment | IResolvable | (IResolvable | Environment)[] | Environment variables to set in the container during the snapshot build. |
| hooks? | IResolvable | Hooks | |
| logging? | IResolvable | Logging | |
| name? | string | Unique name for the MicroVM image within the account. |
| resources? | IResolvable | (IResolvable | Resources)[] | |
| tags? | Cfn[] | Key-value pairs to associate with the MicroVM image for organization and management. |
additionalOsCapabilities?
Type:
string[]
(optional)
baseImageArn?
Type:
string
(optional)
ARN of the base MicroVM image.
baseImageVersion?
Type:
string
(optional)
Specific version of the base MicroVM image to use.
buildRoleArn?
Type:
string
(optional)
ARN of the IAM build role.
codeArtifact?
Type:
IResolvable | Code
(optional)
cpuConfigurations?
Type:
IResolvable | (IResolvable | Cpu)[]
(optional)
description?
Type:
string
(optional)
Human-readable description of the MicroVM image and its purpose.
egressNetworkConnectors?
Type:
string[]
(optional)
environmentVariables?
Type:
IResolvable | (IResolvable | Environment)[]
(optional)
Environment variables to set in the container during the snapshot build.
hooks?
Type:
IResolvable | Hooks
(optional)
logging?
Type:
IResolvable | Logging
(optional)
name?
Type:
string
(optional)
Unique name for the MicroVM image within the account.
resources?
Type:
IResolvable | (IResolvable | Resources)[]
(optional)
tags?
Type:
Cfn[]
(optional)
Key-value pairs to associate with the MicroVM image for organization and management.

.NET
Go
Java
Python
TypeScript