Skip to content
v2.276.0

LimitReference Struct ​

A reference to a Limit resource.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_deadline as interfaces_deadline } from 'aws-cdk-lib/interfaces';
const limitReference: interfaces_deadline.LimitReference = {
  farmId: 'farmId',
  limitId: 'limitId',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.interfaces import aws_deadline as interfaces_deadline

limit_reference = interfaces_deadline.LimitReference(
    farm_id="farmId",
    limit_id="limitId"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.interfaces.deadline.*;

LimitReference limitReference = LimitReference.builder()
        .farmId("farmId")
        .limitId("limitId")
        .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.Interfaces.Deadline;

var limitReference = new LimitReference {
    FarmId = "farmId",
    LimitId = "limitId"
};
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"

limitReference := &LimitReference{
	FarmId: jsii.String("farmId"),
	LimitId: jsii.String("limitId"),
}

Properties ​

farmIdstringfarm_idstrfarmIdStringFarmIdstringFarmId*stringrequired#
The FarmId of the Limit resource.
limitIdstringlimit_idstrlimitIdStringLimitIdstringLimitId*stringrequired#
The LimitId of the Limit resource.