CapacityProviderReference Struct
A reference to a CapacityProvider resource.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_bedrockagentcore as interfaces_bedrockagentcore } from 'aws-cdk-lib/interfaces';
const capacityProviderReference: interfaces_bedrockagentcore.CapacityProviderReference = {
capacityProviderArn: 'capacityProviderArn',
};
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_bedrockagentcore as interfaces_bedrockagentcore
capacity_provider_reference = interfaces_bedrockagentcore.CapacityProviderReference(
capacity_provider_arn="capacityProviderArn"
)
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.bedrockagentcore.*;
CapacityProviderReference capacityProviderReference = CapacityProviderReference.builder()
.capacityProviderArn("capacityProviderArn")
.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.BedrockAgentCore;
var capacityProviderReference = new CapacityProviderReference {
CapacityProviderArn = "capacityProviderArn"
};
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"),
}
Properties
capacityProviderArnstringcapacity_provider_arnstrcapacityProviderArnStringCapacityProviderArnstringCapacityProviderArn*string required #The Arn of the CapacityProvider resource.