aws-cdk-lib.aws_athena.CfnCapacityReservation.CapacityAssignmentConfigurationProperty

interface CapacityAssignmentConfigurationProperty

LanguageType name
.NETAmazon.CDK.AWS.Athena.CfnCapacityReservation.CapacityAssignmentConfigurationProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsathena#CfnCapacityReservation_CapacityAssignmentConfigurationProperty
Javasoftware.amazon.awscdk.services.athena.CfnCapacityReservation.CapacityAssignmentConfigurationProperty
Pythonaws_cdk.aws_athena.CfnCapacityReservation.CapacityAssignmentConfigurationProperty
TypeScript aws-cdk-lib » aws_athena » CfnCapacityReservation » CapacityAssignmentConfigurationProperty

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 { aws_athena as athena } from 'aws-cdk-lib';
const capacityAssignmentConfigurationProperty: athena.CfnCapacityReservation.CapacityAssignmentConfigurationProperty = {
  capacityAssignments: [{
    workgroupNames: ['workgroupNames'],
  }],
};

Properties

NameTypeDescription
capacityAssignmentsIResolvable | IResolvable | CapacityAssignmentProperty[]The list of assignments that make up the capacity assignment configuration.

capacityAssignments

Type: IResolvable | IResolvable | CapacityAssignmentProperty[]

The list of assignments that make up the capacity assignment configuration.