Show / Hide Table of Contents

Class CfnMicrovmImageProps

Properties for defining a CfnMicrovmImage.

Inheritance
object
CfnMicrovmImageProps
Implements
ICfnMicrovmImageProps
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.Lambda
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnMicrovmImageProps : ICfnMicrovmImageProps
Syntax (vb)
Public Class CfnMicrovmImageProps Implements ICfnMicrovmImageProps
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-microvmimage.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.AWS.Lambda;

             var cfnMicrovmImageProps = new CfnMicrovmImageProps {
                 AdditionalOsCapabilities = new [] { "additionalOsCapabilities" },
                 BaseImageArn = "baseImageArn",
                 BaseImageVersion = "baseImageVersion",
                 BuildRoleArn = "buildRoleArn",
                 CodeArtifact = new CodeArtifactProperty {
                     Uri = "uri"
                 },
                 CpuConfigurations = new [] { new CpuConfigurationProperty {
                     Architecture = "architecture"
                 } },
                 Description = "description",
                 EgressNetworkConnectors = new [] { "egressNetworkConnectors" },
                 EnvironmentVariables = new [] { new EnvironmentVariableProperty {
                     Key = "key",
                     Value = "value"
                 } },
                 Hooks = new HooksProperty {
                     MicrovmHooks = new MicrovmHooksProperty {
                         Resume = "resume",
                         ResumeTimeoutInSeconds = 123,
                         Run = "run",
                         RunTimeoutInSeconds = 123,
                         Suspend = "suspend",
                         SuspendTimeoutInSeconds = 123,
                         Terminate = "terminate",
                         TerminateTimeoutInSeconds = 123
                     },
                     MicrovmImageHooks = new MicrovmImageHooksProperty {
                         Ready = "ready",
                         ReadyTimeoutInSeconds = 123,
                         Validate = "validate",
                         ValidateTimeoutInSeconds = 123
                     },
                     Port = 123
                 },
                 Logging = new LoggingProperty {
                     CloudWatch = new CloudWatchLoggingProperty {
                         LogGroup = "logGroup",
                         LogStream = "logStream"
                     },
                     Disabled = false
                 },
                 Name = "name",
                 Resources = new [] { new ResourcesProperty {
                     MinimumMemoryInMiB = 123
                 } },

                 // the properties below are optional
                 Tags = new [] { new CfnTag {
                     Key = "key",
                     Value = "value"
                 } }
             };

Synopsis

Constructors

CfnMicrovmImageProps()

Properties for defining a CfnMicrovmImage.

Properties

AdditionalOsCapabilities

Properties for defining a CfnMicrovmImage.

BaseImageArn

ARN of the base MicroVM image.

BaseImageVersion

Specific version of the base MicroVM image to use.

BuildRoleArn

ARN of the IAM build role.

CodeArtifact

Properties for defining a CfnMicrovmImage.

CpuConfigurations

Properties for defining a CfnMicrovmImage.

Description

Human-readable description of the MicroVM image and its purpose.

EgressNetworkConnectors

Properties for defining a CfnMicrovmImage.

EnvironmentVariables

Environment variables to set in the container during the snapshot build.

Hooks

Properties for defining a CfnMicrovmImage.

Logging

Properties for defining a CfnMicrovmImage.

Name

Unique name for the MicroVM image within the account.

Resources

Properties for defining a CfnMicrovmImage.

Tags

Key-value pairs to associate with the MicroVM image for organization and management.

Constructors

CfnMicrovmImageProps()

Properties for defining a CfnMicrovmImage.

public CfnMicrovmImageProps()
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-microvmimage.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.AWS.Lambda;

             var cfnMicrovmImageProps = new CfnMicrovmImageProps {
                 AdditionalOsCapabilities = new [] { "additionalOsCapabilities" },
                 BaseImageArn = "baseImageArn",
                 BaseImageVersion = "baseImageVersion",
                 BuildRoleArn = "buildRoleArn",
                 CodeArtifact = new CodeArtifactProperty {
                     Uri = "uri"
                 },
                 CpuConfigurations = new [] { new CpuConfigurationProperty {
                     Architecture = "architecture"
                 } },
                 Description = "description",
                 EgressNetworkConnectors = new [] { "egressNetworkConnectors" },
                 EnvironmentVariables = new [] { new EnvironmentVariableProperty {
                     Key = "key",
                     Value = "value"
                 } },
                 Hooks = new HooksProperty {
                     MicrovmHooks = new MicrovmHooksProperty {
                         Resume = "resume",
                         ResumeTimeoutInSeconds = 123,
                         Run = "run",
                         RunTimeoutInSeconds = 123,
                         Suspend = "suspend",
                         SuspendTimeoutInSeconds = 123,
                         Terminate = "terminate",
                         TerminateTimeoutInSeconds = 123
                     },
                     MicrovmImageHooks = new MicrovmImageHooksProperty {
                         Ready = "ready",
                         ReadyTimeoutInSeconds = 123,
                         Validate = "validate",
                         ValidateTimeoutInSeconds = 123
                     },
                     Port = 123
                 },
                 Logging = new LoggingProperty {
                     CloudWatch = new CloudWatchLoggingProperty {
                         LogGroup = "logGroup",
                         LogStream = "logStream"
                     },
                     Disabled = false
                 },
                 Name = "name",
                 Resources = new [] { new ResourcesProperty {
                     MinimumMemoryInMiB = 123
                 } },

                 // the properties below are optional
                 Tags = new [] { new CfnTag {
                     Key = "key",
                     Value = "value"
                 } }
             };

Properties

AdditionalOsCapabilities

Properties for defining a CfnMicrovmImage.

public string[] AdditionalOsCapabilities { get; set; }
Property Value

string[]

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-microvmimage.html#cfn-lambda-microvmimage-additionaloscapabilities

BaseImageArn

ARN of the base MicroVM image.

public string BaseImageArn { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-microvmimage.html#cfn-lambda-microvmimage-baseimagearn

BaseImageVersion

Specific version of the base MicroVM image to use.

public string BaseImageVersion { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-microvmimage.html#cfn-lambda-microvmimage-baseimageversion

BuildRoleArn

ARN of the IAM build role.

public string BuildRoleArn { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-microvmimage.html#cfn-lambda-microvmimage-buildrolearn

CodeArtifact

Properties for defining a CfnMicrovmImage.

public object CodeArtifact { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-microvmimage.html#cfn-lambda-microvmimage-codeartifact

Type union: either IResolvable or CfnMicrovmImage.ICodeArtifactProperty

CpuConfigurations

Properties for defining a CfnMicrovmImage.

public object CpuConfigurations { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-microvmimage.html#cfn-lambda-microvmimage-cpuconfigurations

Type union: either IResolvable or (either IResolvable or CfnMicrovmImage.ICpuConfigurationProperty)[]

Description

Human-readable description of the MicroVM image and its purpose.

public string Description { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-microvmimage.html#cfn-lambda-microvmimage-description

EgressNetworkConnectors

Properties for defining a CfnMicrovmImage.

public string[] EgressNetworkConnectors { get; set; }
Property Value

string[]

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-microvmimage.html#cfn-lambda-microvmimage-egressnetworkconnectors

EnvironmentVariables

Environment variables to set in the container during the snapshot build.

public object EnvironmentVariables { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-microvmimage.html#cfn-lambda-microvmimage-environmentvariables

Type union: either IResolvable or (either IResolvable or CfnMicrovmImage.IEnvironmentVariableProperty)[]

Hooks

Properties for defining a CfnMicrovmImage.

public object Hooks { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-microvmimage.html#cfn-lambda-microvmimage-hooks

Type union: either IResolvable or CfnMicrovmImage.IHooksProperty

Logging

Properties for defining a CfnMicrovmImage.

public object Logging { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-microvmimage.html#cfn-lambda-microvmimage-logging

Type union: either IResolvable or CfnMicrovmImage.ILoggingProperty

Name

Unique name for the MicroVM image within the account.

public string Name { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-microvmimage.html#cfn-lambda-microvmimage-name

Resources

Properties for defining a CfnMicrovmImage.

public object Resources { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-microvmimage.html#cfn-lambda-microvmimage-resources

Type union: either IResolvable or (either IResolvable or CfnMicrovmImage.IResourcesProperty)[]

Tags

Key-value pairs to associate with the MicroVM image for organization and management.

public ICfnTag[]? Tags { get; set; }
Property Value

ICfnTag[]

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-microvmimage.html#cfn-lambda-microvmimage-tags

Implements

ICfnMicrovmImageProps
Back to top Generated by DocFX