@pulumi/aws-native
Version:
The Pulumi AWS Cloud Control Provider enables you to build, deploy, and manage [any AWS resource that's supported by the AWS Cloud Control API](https://github.com/pulumi/pulumi-aws-native/blob/master/provider/cmd/pulumi-gen-aws-native/supported-types.txt)
41 lines (40 loc) • 2.63 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Creates a continuous deployment policy that routes a subset of production traffic from a primary distribution to a staging distribution.
* After you create and update a staging distribution, you can use a continuous deployment policy to incrementally move traffic to the staging distribution. This enables you to test changes to a distribution's configuration before moving all of your production traffic to the new configuration.
* For more information, see [Using CloudFront continuous deployment to safely test CDN configuration changes](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/continuous-deployment.html) in the *Amazon CloudFront Developer Guide*.
*/
export declare function getContinuousDeploymentPolicy(args: GetContinuousDeploymentPolicyArgs, opts?: pulumi.InvokeOptions): Promise<GetContinuousDeploymentPolicyResult>;
export interface GetContinuousDeploymentPolicyArgs {
/**
* The identifier of the cotinuous deployment policy.
*/
id: string;
}
export interface GetContinuousDeploymentPolicyResult {
/**
* Contains the configuration for a continuous deployment policy.
*/
readonly continuousDeploymentPolicyConfig?: outputs.cloudfront.ContinuousDeploymentPolicyConfig;
/**
* The identifier of the cotinuous deployment policy.
*/
readonly id?: string;
/**
* The date and time when the continuous deployment policy was last modified.
*/
readonly lastModifiedTime?: string;
}
/**
* Creates a continuous deployment policy that routes a subset of production traffic from a primary distribution to a staging distribution.
* After you create and update a staging distribution, you can use a continuous deployment policy to incrementally move traffic to the staging distribution. This enables you to test changes to a distribution's configuration before moving all of your production traffic to the new configuration.
* For more information, see [Using CloudFront continuous deployment to safely test CDN configuration changes](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/continuous-deployment.html) in the *Amazon CloudFront Developer Guide*.
*/
export declare function getContinuousDeploymentPolicyOutput(args: GetContinuousDeploymentPolicyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetContinuousDeploymentPolicyResult>;
export interface GetContinuousDeploymentPolicyOutputArgs {
/**
* The identifier of the cotinuous deployment policy.
*/
id: pulumi.Input<string>;
}