You must be logged in to view saved presets
Configures a CloudFront continuous deployment policy with single weight traffic routing and session stickiness settings.
resource "aws_cloudfront_continuous_deployment_policy" "example" {
enabled = true
staging_distribution_dns_names {
items = ["aws_cloudfront_distribution.staging.domain_name"]
quantity = 1
}
traffic_config {
single_weight_config {
session_stickiness_config {
idle_ttl = 300
maximum_ttl = 600
}
weight = "0.01"
}
type = "SingleWeight"
}
}