AWS Native is in preview. AWS Classic is fully supported.
aws-native.athena.getCapacityReservation
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
Resource schema for AWS::Athena::CapacityReservation
Using getCapacityReservation
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getCapacityReservation(args: GetCapacityReservationArgs, opts?: InvokeOptions): Promise<GetCapacityReservationResult>
function getCapacityReservationOutput(args: GetCapacityReservationOutputArgs, opts?: InvokeOptions): Output<GetCapacityReservationResult>
def get_capacity_reservation(arn: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetCapacityReservationResult
def get_capacity_reservation_output(arn: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetCapacityReservationResult]
func LookupCapacityReservation(ctx *Context, args *LookupCapacityReservationArgs, opts ...InvokeOption) (*LookupCapacityReservationResult, error)
func LookupCapacityReservationOutput(ctx *Context, args *LookupCapacityReservationOutputArgs, opts ...InvokeOption) LookupCapacityReservationResultOutput
> Note: This function is named LookupCapacityReservation
in the Go SDK.
public static class GetCapacityReservation
{
public static Task<GetCapacityReservationResult> InvokeAsync(GetCapacityReservationArgs args, InvokeOptions? opts = null)
public static Output<GetCapacityReservationResult> Invoke(GetCapacityReservationInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetCapacityReservationResult> getCapacityReservation(GetCapacityReservationArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws-native:athena:getCapacityReservation
arguments:
# arguments dictionary
The following arguments are supported:
- Arn string
- Arn string
- arn String
- arn string
- arn str
- arn String
getCapacityReservation Result
The following output properties are available:
- Allocated
Dpus int The number of DPUs Athena has provisioned and allocated for the reservation
- Arn string
- Capacity
Assignment Pulumi.Configuration Aws Native. Athena. Outputs. Capacity Reservation Capacity Assignment Configuration - Creation
Time string The date and time the reservation was created.
- 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.
- List<Pulumi.
Aws Native. Athena. Outputs. 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.
- Allocated
Dpus int The number of DPUs Athena has provisioned and allocated for the reservation
- Arn string
- Capacity
Assignment CapacityConfiguration Reservation Capacity Assignment Configuration - Creation
Time string The date and time the reservation was created.
- Last
Successful stringAllocation Time The timestamp when the last successful allocated was made
- Status
Capacity
Reservation Status The status of the reservation.
- []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.
- allocated
Dpus Integer The number of DPUs Athena has provisioned and allocated for the reservation
- arn String
- capacity
Assignment CapacityConfiguration Reservation Capacity Assignment Configuration - creation
Time String The date and time the reservation was created.
- last
Successful StringAllocation Time The timestamp when the last successful allocated was made
- status
Capacity
Reservation Status The status of the reservation.
- List<Capacity
Reservation Tag> 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.
- allocated
Dpus number The number of DPUs Athena has provisioned and allocated for the reservation
- arn string
- capacity
Assignment CapacityConfiguration Reservation Capacity Assignment Configuration - creation
Time string The date and time the reservation was created.
- last
Successful stringAllocation Time The timestamp when the last successful allocated was made
- status
Capacity
Reservation Status The status of the reservation.
- 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.
- allocated_
dpus int The number of DPUs Athena has provisioned and allocated for the reservation
- arn str
- capacity_
assignment_ Capacityconfiguration Reservation Capacity Assignment Configuration - creation_
time str The date and time the reservation was created.
- last_
successful_ strallocation_ time The timestamp when the last successful allocated was made
- status
Capacity
Reservation Status The status of the reservation.
- Sequence[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.
- allocated
Dpus Number The number of DPUs Athena has provisioned and allocated for the reservation
- arn String
- capacity
Assignment Property MapConfiguration - creation
Time String The date and time the reservation was created.
- 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.
- List<Property Map>
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.
Supporting Types
CapacityReservationCapacityAssignment
- Workgroup
Names List<string>
- Workgroup
Names []string
- workgroup
Names List<String>
- workgroup
Names string[]
- workgroup_
names Sequence[str]
- workgroup
Names List<String>
CapacityReservationCapacityAssignmentConfiguration
CapacityReservationStatus
CapacityReservationTag
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
AWS Native is in preview. AWS Classic is fully supported.