Skip to content
v2.278.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_batch as batch } from 'aws-cdk-lib';

declare const limits: any;
declare const requests: any;
const resourcesProperty: batch.CfnJobDefinition.ResourcesProperty = {
  limits: limits,
  requests: requests,
};
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_batch as batch

# limits: Any
# requests: Any

resources_property = batch.CfnJobDefinition.ResourcesProperty(
    limits=limits,
    requests=requests
)
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.batch.*;

Object limits;
Object requests;

ResourcesProperty resourcesProperty = ResourcesProperty.builder()
        .limits(limits)
        .requests(requests)
        .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.Batch;

var limits;
var requests;

var resourcesProperty = new ResourcesProperty {
    Limits = limits,
    Requests = requests
};
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"

var limits interface{}
var requests interface{}

resourcesProperty := &ResourcesProperty{
	Limits: limits,
	Requests: requests,
}

Properties ​

limitsoptionalanylimitsoptionalAnylimitsoptionalObjectLimitsoptionalobjectLimitsoptionalinterface{} #
requestsoptionalanyrequestsoptionalAnyrequestsoptionalObjectRequestsoptionalobjectRequestsoptionalinterface{} #