1. Packages
  2. AWS Native
  3. API Docs
  4. cloudfront
  5. ContinuousDeploymentPolicy

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.102.0 published on Tuesday, Apr 16, 2024 by Pulumi

aws-native.cloudfront.ContinuousDeploymentPolicy

Explore with Pulumi AI

aws-native logo

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.102.0 published on Tuesday, Apr 16, 2024 by Pulumi

    Resource Type definition for AWS::CloudFront::ContinuousDeploymentPolicy

    Create ContinuousDeploymentPolicy Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new ContinuousDeploymentPolicy(name: string, args: ContinuousDeploymentPolicyArgs, opts?: CustomResourceOptions);
    @overload
    def ContinuousDeploymentPolicy(resource_name: str,
                                   args: ContinuousDeploymentPolicyArgs,
                                   opts: Optional[ResourceOptions] = None)
    
    @overload
    def ContinuousDeploymentPolicy(resource_name: str,
                                   opts: Optional[ResourceOptions] = None,
                                   continuous_deployment_policy_config: Optional[ContinuousDeploymentPolicyConfigArgs] = None)
    func NewContinuousDeploymentPolicy(ctx *Context, name string, args ContinuousDeploymentPolicyArgs, opts ...ResourceOption) (*ContinuousDeploymentPolicy, error)
    public ContinuousDeploymentPolicy(string name, ContinuousDeploymentPolicyArgs args, CustomResourceOptions? opts = null)
    public ContinuousDeploymentPolicy(String name, ContinuousDeploymentPolicyArgs args)
    public ContinuousDeploymentPolicy(String name, ContinuousDeploymentPolicyArgs args, CustomResourceOptions options)
    
    type: aws-native:cloudfront:ContinuousDeploymentPolicy
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args ContinuousDeploymentPolicyArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args ContinuousDeploymentPolicyArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args ContinuousDeploymentPolicyArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ContinuousDeploymentPolicyArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ContinuousDeploymentPolicyArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

    The following reference example uses placeholder values for all input properties.

    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    const continuousDeploymentPolicyResource = new aws_native.cloudfront.ContinuousDeploymentPolicy("continuousDeploymentPolicyResource", {continuousDeploymentPolicyConfig: {
        enabled: false,
        stagingDistributionDnsNames: ["string"],
        singleHeaderPolicyConfig: {
            header: "string",
            value: "string",
        },
        singleWeightPolicyConfig: {
            weight: 0,
            sessionStickinessConfig: {
                idleTtl: 0,
                maximumTtl: 0,
            },
        },
        trafficConfig: {
            type: aws_native.cloudfront.ContinuousDeploymentPolicyTrafficConfigType.SingleWeight,
            singleHeaderConfig: {
                header: "string",
                value: "string",
            },
            singleWeightConfig: {
                weight: 0,
                sessionStickinessConfig: {
                    idleTtl: 0,
                    maximumTtl: 0,
                },
            },
        },
        type: aws_native.cloudfront.ContinuousDeploymentPolicyConfigType.SingleWeight,
    }});
    
    Coming soon!
    

    ContinuousDeploymentPolicy Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The ContinuousDeploymentPolicy resource accepts the following input properties:

    Outputs

    All input properties are implicitly available as output properties. Additionally, the ContinuousDeploymentPolicy resource produces the following output properties:

    AwsId string
    Id string
    The provider-assigned unique ID for this managed resource.
    LastModifiedTime string
    AwsId string
    Id string
    The provider-assigned unique ID for this managed resource.
    LastModifiedTime string
    awsId String
    id String
    The provider-assigned unique ID for this managed resource.
    lastModifiedTime String
    awsId string
    id string
    The provider-assigned unique ID for this managed resource.
    lastModifiedTime string
    aws_id str
    id str
    The provider-assigned unique ID for this managed resource.
    last_modified_time str
    awsId String
    id String
    The provider-assigned unique ID for this managed resource.
    lastModifiedTime String

    Supporting Types

    ContinuousDeploymentPolicyConfig, ContinuousDeploymentPolicyConfigArgs

    ContinuousDeploymentPolicyConfigSingleHeaderPolicyConfigProperties, ContinuousDeploymentPolicyConfigSingleHeaderPolicyConfigPropertiesArgs

    Header string
    Value string
    Header string
    Value string
    header String
    value String
    header string
    value string
    header str
    value str
    header String
    value String

    ContinuousDeploymentPolicyConfigSingleWeightPolicyConfigProperties, ContinuousDeploymentPolicyConfigSingleWeightPolicyConfigPropertiesArgs

    ContinuousDeploymentPolicyConfigType, ContinuousDeploymentPolicyConfigTypeArgs

    SingleWeight
    SingleWeight
    SingleHeader
    SingleHeader
    ContinuousDeploymentPolicyConfigTypeSingleWeight
    SingleWeight
    ContinuousDeploymentPolicyConfigTypeSingleHeader
    SingleHeader
    SingleWeight
    SingleWeight
    SingleHeader
    SingleHeader
    SingleWeight
    SingleWeight
    SingleHeader
    SingleHeader
    SINGLE_WEIGHT
    SingleWeight
    SINGLE_HEADER
    SingleHeader
    "SingleWeight"
    SingleWeight
    "SingleHeader"
    SingleHeader

    ContinuousDeploymentPolicySessionStickinessConfig, ContinuousDeploymentPolicySessionStickinessConfigArgs

    idleTtl Integer
    maximumTtl Integer
    idleTtl number
    maximumTtl number
    idleTtl Number
    maximumTtl Number

    ContinuousDeploymentPolicySingleHeaderConfig, ContinuousDeploymentPolicySingleHeaderConfigArgs

    Header string
    Value string
    Header string
    Value string
    header String
    value String
    header string
    value string
    header str
    value str
    header String
    value String

    ContinuousDeploymentPolicySingleWeightConfig, ContinuousDeploymentPolicySingleWeightConfigArgs

    ContinuousDeploymentPolicyTrafficConfig, ContinuousDeploymentPolicyTrafficConfigArgs

    ContinuousDeploymentPolicyTrafficConfigType, ContinuousDeploymentPolicyTrafficConfigTypeArgs

    SingleWeight
    SingleWeight
    SingleHeader
    SingleHeader
    ContinuousDeploymentPolicyTrafficConfigTypeSingleWeight
    SingleWeight
    ContinuousDeploymentPolicyTrafficConfigTypeSingleHeader
    SingleHeader
    SingleWeight
    SingleWeight
    SingleHeader
    SingleHeader
    SingleWeight
    SingleWeight
    SingleHeader
    SingleHeader
    SINGLE_WEIGHT
    SingleWeight
    SINGLE_HEADER
    SingleHeader
    "SingleWeight"
    SingleWeight
    "SingleHeader"
    SingleHeader

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    AWS Native is in preview. AWS Classic is fully supported.

    AWS Native v0.102.0 published on Tuesday, Apr 16, 2024 by Pulumi