Skip to content
v2.278.0

UsageLimitReference Struct ​

A reference to a UsageLimit resource.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_redshift as interfaces_redshift } from 'aws-cdk-lib/interfaces';
const usageLimitReference: interfaces_redshift.UsageLimitReference = {
  usageLimitArn: 'usageLimitArn',
};
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_redshift as interfaces_redshift

usage_limit_reference = interfaces_redshift.UsageLimitReference(
    usage_limit_arn="usageLimitArn"
)
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.redshift.*;

UsageLimitReference usageLimitReference = UsageLimitReference.builder()
        .usageLimitArn("usageLimitArn")
        .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.Redshift;

var usageLimitReference = new UsageLimitReference {
    UsageLimitArn = "usageLimitArn"
};
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"

usageLimitReference := &UsageLimitReference{
	UsageLimitArn: jsii.String("usageLimitArn"),
}

Properties ​

usageLimitArnstringusage_limit_arnstrusageLimitArnStringUsageLimitArnstringUsageLimitArn*string required #
The Arn of the UsageLimit resource.