Skip to content

Get Continuous Deployment Policy

cloudfront_get_continuous_deployment_policy R Documentation

Gets a continuous deployment policy, including metadata (the policy's identifier and the date and time when the policy was last modified)

Description

Gets a continuous deployment policy, including metadata (the policy's identifier and the date and time when the policy was last modified).

Usage

cloudfront_get_continuous_deployment_policy(Id)

Arguments

Id

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

Value

A list with the following syntax:

list(
  ContinuousDeploymentPolicy = list(
    Id = "string",
    LastModifiedTime = as.POSIXct(
      "2015-01-01"
    ),
    ContinuousDeploymentPolicyConfig = list(
      StagingDistributionDnsNames = list(
        Quantity = 123,
        Items = list(
          "string"
        )
      ),
      Enabled = TRUE|FALSE,
      TrafficConfig = list(
        SingleWeightConfig = list(
          Weight = 123.0,
          SessionStickinessConfig = list(
            IdleTTL = 123,
            MaximumTTL = 123
          )
        ),
        SingleHeaderConfig = list(
          Header = "string",
          Value = "string"
        ),
        Type = "SingleWeight"|"SingleHeader"
      )
    )
  ),
  ETag = "string"
)

Request syntax

svc$get_continuous_deployment_policy(
  Id = "string"
)