ec2_enable_image_deregistration_protection: Enables deregistration protection for an AMI

View source: R/ec2_operations.R

ec2_enable_image_deregistration_protectionR Documentation

Enables deregistration protection for an AMI

Description

Enables deregistration protection for an AMI. When deregistration protection is enabled, the AMI can't be deregistered.

See https://www.paws-r-sdk.com/docs/ec2_enable_image_deregistration_protection/ for full documentation.

Usage

ec2_enable_image_deregistration_protection(
  ImageId,
  WithCooldown = NULL,
  DryRun = NULL
)

Arguments

ImageId

[required] The ID of the AMI.

WithCooldown

If true, enforces deregistration protection for 24 hours after deregistration protection is disabled.

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.


paws.compute documentation built on May 29, 2024, 9:16 a.m.