Interface CfnCapacityReservationMixinProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnCapacityReservationMixinProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-03-11T13:19:56.086Z")
@Stability(Stable)
public interface CfnCapacityReservationMixinProps
extends software.amazon.jsii.JsiiSerializable
Properties for CfnCapacityReservationPropsMixin.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.athena.*;
CfnCapacityReservationMixinProps cfnCapacityReservationMixinProps = CfnCapacityReservationMixinProps.builder()
.capacityAssignmentConfiguration(CapacityAssignmentConfigurationProperty.builder()
.capacityAssignments(List.of(CapacityAssignmentProperty.builder()
.workgroupNames(List.of("workgroupNames"))
.build()))
.build())
.name("name")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.targetDpus(123)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnCapacityReservationMixinPropsstatic final classAn implementation forCfnCapacityReservationMixinProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectAssigns Athena workgroups (and hence their queries) to capacity reservations.default StringgetName()The name of the capacity reservation.getTags()An array of key-value pairs to apply to the capacity reservation.default NumberThe number of data processing units requested.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCapacityAssignmentConfiguration
Assigns Athena workgroups (and hence their queries) to capacity reservations.A capacity reservation can have only one capacity assignment configuration, but the capacity assignment configuration can be made up of multiple individual assignments. Each assignment specifies how Athena queries can consume capacity from the capacity reservation that their workgroup is mapped to.
Returns union: either
IResolvableorCfnCapacityReservationPropsMixin.CapacityAssignmentConfigurationProperty- See Also:
-
getName
The name of the capacity reservation.- See Also:
-
getTags
An array of key-value pairs to apply to the capacity reservation.For more information, see Tag .
- See Also:
-
getTargetDpus
The number of data processing units requested.- See Also:
-
builder
-