Class CfnCapacityReservation.CapacityAssignmentConfigurationProperty
Assigns Athena workgroups (and hence their queries) to capacity reservations.
Inheritance
System.Object
CfnCapacityReservation.CapacityAssignmentConfigurationProperty
Namespace: Amazon.CDK.AWS.Athena
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CapacityAssignmentConfigurationProperty : Object, CfnCapacityReservation.ICapacityAssignmentConfigurationProperty
Syntax (vb)
Public Class CapacityAssignmentConfigurationProperty
Inherits Object
Implements CfnCapacityReservation.ICapacityAssignmentConfigurationProperty
Remarks
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.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Athena;
var capacityAssignmentConfigurationProperty = new CapacityAssignmentConfigurationProperty {
CapacityAssignments = new [] { new CapacityAssignmentProperty {
WorkgroupNames = new [] { "workgroupNames" }
} }
};
Synopsis
Constructors
CapacityAssignmentConfigurationProperty() |
Properties
CapacityAssignments | The list of assignments that make up the capacity assignment configuration. |
Constructors
CapacityAssignmentConfigurationProperty()
public CapacityAssignmentConfigurationProperty()
Properties
CapacityAssignments
The list of assignments that make up the capacity assignment configuration.
public object CapacityAssignments { get; set; }
Property Value
System.Object