AWS Native is in preview. AWS Classic is fully supported.
aws-native.athena.CapacityReservation
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
Resource schema for AWS::Athena::CapacityReservation
Create CapacityReservation Resource
new CapacityReservation(name: string, args: CapacityReservationArgs, opts?: CustomResourceOptions);
@overload
def CapacityReservation(resource_name: str,
opts: Optional[ResourceOptions] = None,
capacity_assignment_configuration: Optional[CapacityReservationCapacityAssignmentConfigurationArgs] = None,
name: Optional[str] = None,
tags: Optional[Sequence[CapacityReservationTagArgs]] = None,
target_dpus: Optional[int] = None)
@overload
def CapacityReservation(resource_name: str,
args: CapacityReservationArgs,
opts: Optional[ResourceOptions] = None)
func NewCapacityReservation(ctx *Context, name string, args CapacityReservationArgs, opts ...ResourceOption) (*CapacityReservation, error)
public CapacityReservation(string name, CapacityReservationArgs args, CustomResourceOptions? opts = null)
public CapacityReservation(String name, CapacityReservationArgs args)
public CapacityReservation(String name, CapacityReservationArgs args, CustomResourceOptions options)
type: aws-native:athena:CapacityReservation
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CapacityReservationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args CapacityReservationArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args CapacityReservationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CapacityReservationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CapacityReservationArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
CapacityReservation Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The CapacityReservation resource accepts the following input properties:
- Target
Dpus int The number of DPUs to request to be allocated to the reservation.
- Capacity
Assignment Pulumi.Configuration Aws Native. Athena. Inputs. Capacity Reservation Capacity Assignment Configuration - Name string
The reservation name.
- List<Pulumi.
Aws Native. Athena. Inputs. Capacity Reservation Tag> An array of key-value pairs to apply to this resource.
- Target
Dpus int The number of DPUs to request to be allocated to the reservation.
- Capacity
Assignment CapacityConfiguration Reservation Capacity Assignment Configuration Args - Name string
The reservation name.
- []Capacity
Reservation Tag Args An array of key-value pairs to apply to this resource.
- target
Dpus Integer The number of DPUs to request to be allocated to the reservation.
- capacity
Assignment CapacityConfiguration Reservation Capacity Assignment Configuration - name String
The reservation name.
- List<Capacity
Reservation Tag> An array of key-value pairs to apply to this resource.
- target
Dpus number The number of DPUs to request to be allocated to the reservation.
- capacity
Assignment CapacityConfiguration Reservation Capacity Assignment Configuration - name string
The reservation name.
- Capacity
Reservation Tag[] An array of key-value pairs to apply to this resource.
- target_
dpus int The number of DPUs to request to be allocated to the reservation.
- capacity_
assignment_ Capacityconfiguration Reservation Capacity Assignment Configuration Args - name str
The reservation name.
- Sequence[Capacity
Reservation Tag Args] An array of key-value pairs to apply to this resource.
- target
Dpus Number The number of DPUs to request to be allocated to the reservation.
- capacity
Assignment Property MapConfiguration - name String
The reservation name.
- List<Property Map>
An array of key-value pairs to apply to this resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the CapacityReservation resource produces the following output properties:
- Allocated
Dpus int The number of DPUs Athena has provisioned and allocated for the reservation
- Arn string
- Creation
Time string The date and time the reservation was created.
- Id string
The provider-assigned unique ID for this managed resource.
- Last
Successful stringAllocation Time The timestamp when the last successful allocated was made
- Status
Pulumi.
Aws Native. Athena. Capacity Reservation Status The status of the reservation.
- Allocated
Dpus int The number of DPUs Athena has provisioned and allocated for the reservation
- Arn string
- Creation
Time string The date and time the reservation was created.
- Id string
The provider-assigned unique ID for this managed resource.
- Last
Successful stringAllocation Time The timestamp when the last successful allocated was made
- Status
Capacity
Reservation Status The status of the reservation.
- allocated
Dpus Integer The number of DPUs Athena has provisioned and allocated for the reservation
- arn String
- creation
Time String The date and time the reservation was created.
- id String
The provider-assigned unique ID for this managed resource.
- last
Successful StringAllocation Time The timestamp when the last successful allocated was made
- status
Capacity
Reservation Status The status of the reservation.
- allocated
Dpus number The number of DPUs Athena has provisioned and allocated for the reservation
- arn string
- creation
Time string The date and time the reservation was created.
- id string
The provider-assigned unique ID for this managed resource.
- last
Successful stringAllocation Time The timestamp when the last successful allocated was made
- status
Capacity
Reservation Status The status of the reservation.
- allocated_
dpus int The number of DPUs Athena has provisioned and allocated for the reservation
- arn str
- creation_
time str The date and time the reservation was created.
- id str
The provider-assigned unique ID for this managed resource.
- last_
successful_ strallocation_ time The timestamp when the last successful allocated was made
- status
Capacity
Reservation Status The status of the reservation.
- allocated
Dpus Number The number of DPUs Athena has provisioned and allocated for the reservation
- arn String
- creation
Time String The date and time the reservation was created.
- id String
The provider-assigned unique ID for this managed resource.
- last
Successful StringAllocation Time The timestamp when the last successful allocated was made
- status "PENDING" | "ACTIVE" | "CANCELLING" | "CANCELLED" | "FAILED" | "UPDATE_PENDING"
The status of the reservation.
Supporting Types
CapacityReservationCapacityAssignment, CapacityReservationCapacityAssignmentArgs
- Workgroup
Names List<string>
- Workgroup
Names []string
- workgroup
Names List<String>
- workgroup
Names string[]
- workgroup_
names Sequence[str]
- workgroup
Names List<String>
CapacityReservationCapacityAssignmentConfiguration, CapacityReservationCapacityAssignmentConfigurationArgs
CapacityReservationStatus, CapacityReservationStatusArgs
- Pending
- PENDING
- Active
- ACTIVE
- Cancelling
- CANCELLING
- Cancelled
- CANCELLED
- Failed
- FAILED
- Update
Pending - UPDATE_PENDING
- Capacity
Reservation Status Pending - PENDING
- Capacity
Reservation Status Active - ACTIVE
- Capacity
Reservation Status Cancelling - CANCELLING
- Capacity
Reservation Status Cancelled - CANCELLED
- Capacity
Reservation Status Failed - FAILED
- Capacity
Reservation Status Update Pending - UPDATE_PENDING
- Pending
- PENDING
- Active
- ACTIVE
- Cancelling
- CANCELLING
- Cancelled
- CANCELLED
- Failed
- FAILED
- Update
Pending - UPDATE_PENDING
- Pending
- PENDING
- Active
- ACTIVE
- Cancelling
- CANCELLING
- Cancelled
- CANCELLED
- Failed
- FAILED
- Update
Pending - UPDATE_PENDING
- PENDING
- PENDING
- ACTIVE
- ACTIVE
- CANCELLING
- CANCELLING
- CANCELLED
- CANCELLED
- FAILED
- FAILED
- UPDATE_PENDING
- UPDATE_PENDING
- "PENDING"
- PENDING
- "ACTIVE"
- ACTIVE
- "CANCELLING"
- CANCELLING
- "CANCELLED"
- CANCELLED
- "FAILED"
- FAILED
- "UPDATE_PENDING"
- UPDATE_PENDING
CapacityReservationTag, CapacityReservationTagArgs
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
AWS Native is in preview. AWS Classic is fully supported.