CapacityProviderReference Struct
A reference to a CapacityProvider resource.
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 interfaces_lambda } from 'aws-cdk-lib/interfaces';
const capacityProviderReference: interfaces_lambda.CapacityProviderReference = {
capacityProviderArn: 'capacityProviderArn',
capacityProviderName: 'capacityProviderName',
};
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_lambda as interfaces_lambda
capacity_provider_reference = interfaces_lambda.CapacityProviderReference(
capacity_provider_arn="capacityProviderArn",
capacity_provider_name="capacityProviderName"
)
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.lambda.*;
CapacityProviderReference capacityProviderReference = CapacityProviderReference.builder()
.capacityProviderArn("capacityProviderArn")
.capacityProviderName("capacityProviderName")
.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.Lambda;
var capacityProviderReference = new CapacityProviderReference {
CapacityProviderArn = "capacityProviderArn",
CapacityProviderName = "capacityProviderName"
};
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"
capacityProviderReference := &CapacityProviderReference{
CapacityProviderArn: jsii.String("capacityProviderArn"),
CapacityProviderName: jsii.String("capacityProviderName"),
}
Properties
capacityProviderArnstringcapacity_provider_arnstrcapacityProviderArnStringCapacityProviderArnstringCapacityProviderArn*stringrequired#The ARN of the CapacityProvider resource.
capacityProviderNamestringcapacity_provider_namestrcapacityProviderNameStringCapacityProviderNamestringCapacityProviderName*stringrequired#The CapacityProviderName of the CapacityProvider resource.