Interface CfnCapacityReservationProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnCapacityReservationProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-06T23:25:04.540Z")
@Stability(Stable)
public interface CfnCapacityReservationProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnCapacityReservation
.
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.*; CfnCapacityReservationProps cfnCapacityReservationProps = CfnCapacityReservationProps.builder() .name("name") .targetDpus(123) // the properties below are optional .capacityAssignmentConfiguration(CapacityAssignmentConfigurationProperty.builder() .capacityAssignments(List.of(CapacityAssignmentProperty.builder() .workgroupNames(List.of("workgroupNames")) .build())) .build()) .tags(List.of(CfnTag.builder() .key("key") .value("value") .build())) .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnCapacityReservationProps
static final class
An implementation forCfnCapacityReservationProps
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default Object
Assigns Athena workgroups (and hence their queries) to capacity reservations.getName()
The name of the capacity reservation.getTags()
An array of key-value pairs to apply to the capacity reservation.The number of data processing units requested.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getName
The name of the capacity reservation.- See Also:
-
getTargetDpus
The number of data processing units requested.- See Also:
-
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.
- See Also:
-
getTags
An array of key-value pairs to apply to the capacity reservation.For more information, see Tag .
- See Also:
-
builder
-