interface CfnCapacityReservationMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Athena.Mixins.CfnCapacityReservationMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsathena/mixins#CfnCapacityReservationMixinProps |
Java | software.amazon.awscdk.mixins.preview.services.athena.mixins.CfnCapacityReservationMixinProps |
Python | aws_cdk.mixins_preview.aws_athena.mixins.CfnCapacityReservationMixinProps |
TypeScript | @aws-cdk/mixins-preview » aws_athena » mixins » CfnCapacityReservationMixinProps |
Properties for CfnCapacityReservationPropsMixin.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as athena_mixins } from '@aws-cdk/mixins-preview/aws-athena';
const cfnCapacityReservationMixinProps: athena_mixins.CfnCapacityReservationMixinProps = {
capacityAssignmentConfiguration: {
capacityAssignments: [{
workgroupNames: ['workgroupNames'],
}],
},
name: 'name',
tags: [{
key: 'key',
value: 'value',
}],
targetDpus: 123,
};
Properties
| Name | Type | Description |
|---|---|---|
| capacity | IResolvable | Capacity | Assigns Athena workgroups (and hence their queries) to capacity reservations. |
| name? | string | The name of the capacity reservation. |
| tags? | Cfn[] | An array of key-value pairs to apply to the capacity reservation. |
| target | number | The number of data processing units requested. |
capacityAssignmentConfiguration?
Type:
IResolvable | Capacity
(optional)
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?
Type:
string
(optional)
The name of the capacity reservation.
tags?
Type:
Cfn[]
(optional)
An array of key-value pairs to apply to the capacity reservation.
For more information, see Tag .
targetDpus?
Type:
number
(optional)
The number of data processing units requested.

.NET
Go
Java
Python
TypeScript