Skip to content
v2.278.0

CapacityReservationTargetProperty Struct ​

Information about the target Capacity Reservation or Capacity Reservation group.

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 bedrockagentcore } from 'aws-cdk-lib';
const capacityReservationTargetProperty: bedrockagentcore.CfnCapacityProvider.CapacityReservationTargetProperty = {
  capacityReservationId: 'capacityReservationId',
  capacityReservationResourceGroupArn: 'capacityReservationResourceGroupArn',
};
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_bedrockagentcore as bedrockagentcore

capacity_reservation_target_property = bedrockagentcore.CfnCapacityProvider.CapacityReservationTargetProperty(
    capacity_reservation_id="capacityReservationId",
    capacity_reservation_resource_group_arn="capacityReservationResourceGroupArn"
)
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.bedrockagentcore.*;

CapacityReservationTargetProperty capacityReservationTargetProperty = CapacityReservationTargetProperty.builder()
        .capacityReservationId("capacityReservationId")
        .capacityReservationResourceGroupArn("capacityReservationResourceGroupArn")
        .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.BedrockAgentCore;

var capacityReservationTargetProperty = new CapacityReservationTargetProperty {
    CapacityReservationId = "capacityReservationId",
    CapacityReservationResourceGroupArn = "capacityReservationResourceGroupArn"
};
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"

capacityReservationTargetProperty := &CapacityReservationTargetProperty{
	CapacityReservationId: jsii.String("capacityReservationId"),
	CapacityReservationResourceGroupArn: jsii.String("capacityReservationResourceGroupArn"),
}

Properties ​

capacityReservationIdoptionalstringcapacity_reservation_idoptionalstrcapacityReservationIdoptionalStringCapacityReservationIdoptionalstringCapacityReservationIdoptional*string #
The ID of the Capacity Reservation in which to run the instance.
capacityReservationResourceGroupArnoptionalstringcapacity_reservation_resource_group_arnoptionalstrcapacityReservationResourceGroupArnoptionalStringCapacityReservationResourceGroupArnoptionalstringCapacityReservationResourceGroupArnoptional*string #
The ARN of the Capacity Reservation resource group in which to run the instance.