CfnCapacityReservationMixinProps
- class aws_cdk.mixins_preview.aws_athena.mixins.CfnCapacityReservationMixinProps(*, capacity_assignment_configuration=None, name=None, tags=None, target_dpus=None)
Bases:
objectProperties for CfnCapacityReservationPropsMixin.
- Parameters:
capacity_assignment_configuration (
Union[IResolvable,CapacityAssignmentConfigurationProperty,Dict[str,Any],None]) – 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.name (
Optional[str]) – The name of the capacity reservation.tags (
Optional[Sequence[Union[CfnTag,Dict[str,Any]]]]) – An array of key-value pairs to apply to the capacity reservation. For more information, see Tag .target_dpus (
Union[int,float,None]) – The number of data processing units requested.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_athena import mixins as athena_mixins cfn_capacity_reservation_mixin_props = athena_mixins.CfnCapacityReservationMixinProps( capacity_assignment_configuration=athena_mixins.CfnCapacityReservationPropsMixin.CapacityAssignmentConfigurationProperty( capacity_assignments=[athena_mixins.CfnCapacityReservationPropsMixin.CapacityAssignmentProperty( workgroup_names=["workgroupNames"] )] ), name="name", tags=[CfnTag( key="key", value="value" )], target_dpus=123 )
Attributes
- capacity_assignment_configuration
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.
- name
The name of the capacity reservation.
- tags
An array of key-value pairs to apply to the capacity reservation.
For more information, see Tag .
- target_dpus
The number of data processing units requested.