Interface CfnCapacityReservation.CapacityAssignmentConfigurationProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnCapacityReservation.CapacityAssignmentConfigurationProperty.Jsii$Proxy
Enclosing class:
CfnCapacityReservation

@Stability(Stable) public static interface CfnCapacityReservation.CapacityAssignmentConfigurationProperty extends software.amazon.jsii.JsiiSerializable
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.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.athena.*;
 CapacityAssignmentConfigurationProperty capacityAssignmentConfigurationProperty = CapacityAssignmentConfigurationProperty.builder()
         .capacityAssignments(List.of(CapacityAssignmentProperty.builder()
                 .workgroupNames(List.of("workgroupNames"))
                 .build()))
         .build();
 

See Also: