Skip to content

Deletes a continuous deployment policy

Description

Deletes a continuous deployment policy.

You cannot delete a continuous deployment policy that's attached to a primary distribution. First update your distribution to remove the continuous deployment policy, then you can delete the policy.

Usage

cloudfront_delete_continuous_deployment_policy(Id, IfMatch)

Arguments

  • Id

    [required] The identifier of the continuous deployment policy that you are deleting.

  • IfMatch

    The current version (ETag value) of the continuous deployment policy that you are deleting.

Value

An empty list.

Request syntax

svc$delete_continuous_deployment_policy(
  Id = "string",
  IfMatch = "string"
)