Skip to content
v2.277.0

ResourcesProperty Struct ​

Example ​

ts
// 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-lib';
const resourcesProperty: lambda.CfnMicrovmImage.ResourcesProperty = {
  minimumMemoryInMiB: 123,
};
python
# 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_

resources_property = lambda.CfnMicrovmImage.ResourcesProperty(
    minimum_memory_in_mi_b=123
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.lambda.*;

ResourcesProperty resourcesProperty = ResourcesProperty.builder()
        .minimumMemoryInMiB(123)
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// 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 resourcesProperty = new ResourcesProperty {
    MinimumMemoryInMiB = 123
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

resourcesProperty := &ResourcesProperty{
	MinimumMemoryInMiB: jsii.Number(123),
}

Properties ​

minimumMemoryInMiBnumberminimum_memory_in_mi_bint | floatminimumMemoryInMiBNumberMinimumMemoryInMiBdoubleMinimumMemoryInMiB*float64 required #