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:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
static final class
An implementation forCfnCapacityReservation.CapacityAssignmentConfigurationProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
The list of assignments that make up the capacity assignment configuration.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCapacityAssignments
The list of assignments that make up the capacity assignment configuration.- See Also:
-
builder
@Stability(Stable) static CfnCapacityReservation.CapacityAssignmentConfigurationProperty.Builder builder()
-