Skip to content

Disable Fast Launch

ec2_disable_fast_launch R Documentation

Discontinue Windows fast launch for a Windows AMI, and clean up existing pre-provisioned snapshots

Description

Discontinue Windows fast launch for a Windows AMI, and clean up existing pre-provisioned snapshots. After you disable Windows fast launch, the AMI uses the standard launch process for each new instance. Amazon EC2 must remove all pre-provisioned snapshots before you can enable Windows fast launch again.

You can only change these settings for Windows AMIs that you own or that have been shared with you.

Usage

ec2_disable_fast_launch(ImageId, Force, DryRun)

Arguments

ImageId

[required] Specify the ID of the image for which to disable Windows fast launch.

Force

Forces the image settings to turn off Windows fast launch for your Windows AMI. This parameter overrides any errors that are encountered while cleaning up resources in your account.

DryRun

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

Value

A list with the following syntax:

list(
  ImageId = "string",
  ResourceType = "snapshot",
  SnapshotConfiguration = list(
    TargetResourceCount = 123
  ),
  LaunchTemplate = list(
    LaunchTemplateId = "string",
    LaunchTemplateName = "string",
    Version = "string"
  ),
  MaxParallelLaunches = 123,
  OwnerId = "string",
  State = "enabling"|"enabling-failed"|"enabled"|"enabled-failed"|"disabling"|"disabling-failed",
  StateTransitionReason = "string",
  StateTransitionTime = as.POSIXct(
    "2015-01-01"
  )
)

Request syntax

svc$disable_fast_launch(
  ImageId = "string",
  Force = TRUE|FALSE,
  DryRun = TRUE|FALSE
)