1. Packages
  2. AWS Native
  3. API Docs
  4. codedeploy
  5. DeploymentConfig

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

AWS Native v0.103.0 published on Monday, Apr 22, 2024 by Pulumi

aws-native.codedeploy.DeploymentConfig

Explore with Pulumi AI

aws-native logo

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

AWS Native v0.103.0 published on Monday, Apr 22, 2024 by Pulumi

    Resource Type definition for AWS::CodeDeploy::DeploymentConfig

    Create DeploymentConfig Resource

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

    Constructor syntax

    new DeploymentConfig(name: string, args?: DeploymentConfigArgs, opts?: CustomResourceOptions);
    @overload
    def DeploymentConfig(resource_name: str,
                         args: Optional[DeploymentConfigArgs] = None,
                         opts: Optional[ResourceOptions] = None)
    
    @overload
    def DeploymentConfig(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         compute_platform: Optional[str] = None,
                         deployment_config_name: Optional[str] = None,
                         minimum_healthy_hosts: Optional[DeploymentConfigMinimumHealthyHostsArgs] = None,
                         traffic_routing_config: Optional[DeploymentConfigTrafficRoutingConfigArgs] = None,
                         zonal_config: Optional[DeploymentConfigZonalConfigArgs] = None)
    func NewDeploymentConfig(ctx *Context, name string, args *DeploymentConfigArgs, opts ...ResourceOption) (*DeploymentConfig, error)
    public DeploymentConfig(string name, DeploymentConfigArgs? args = null, CustomResourceOptions? opts = null)
    public DeploymentConfig(String name, DeploymentConfigArgs args)
    public DeploymentConfig(String name, DeploymentConfigArgs args, CustomResourceOptions options)
    
    type: aws-native:codedeploy:DeploymentConfig
    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 DeploymentConfigArgs
    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 DeploymentConfigArgs
    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 DeploymentConfigArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DeploymentConfigArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args DeploymentConfigArgs
    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 deploymentConfigResource = new aws_native.codedeploy.DeploymentConfig("deploymentConfigResource", {
        computePlatform: "string",
        deploymentConfigName: "string",
        minimumHealthyHosts: {
            type: "string",
            value: 0,
        },
        trafficRoutingConfig: {
            type: "string",
            timeBasedCanary: {
                canaryInterval: 0,
                canaryPercentage: 0,
            },
            timeBasedLinear: {
                linearInterval: 0,
                linearPercentage: 0,
            },
        },
        zonalConfig: {
            firstZoneMonitorDurationInSeconds: 0,
            minimumHealthyHostsPerZone: {
                type: "string",
                value: 0,
            },
            monitorDurationInSeconds: 0,
        },
    });
    
    Coming soon!
    

    DeploymentConfig 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 DeploymentConfig resource accepts the following input properties:

    ComputePlatform string
    The destination platform type for the deployment (Lambda, Server, or ECS).
    DeploymentConfigName string
    A name for the deployment configuration. If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the deployment configuration name. For more information, see Name Type.
    MinimumHealthyHosts Pulumi.AwsNative.CodeDeploy.Inputs.DeploymentConfigMinimumHealthyHosts
    The minimum number of healthy instances that should be available at any time during the deployment. There are two parameters expected in the input: type and value.
    TrafficRoutingConfig Pulumi.AwsNative.CodeDeploy.Inputs.DeploymentConfigTrafficRoutingConfig
    The configuration that specifies how the deployment traffic is routed.
    ZonalConfig Pulumi.AwsNative.CodeDeploy.Inputs.DeploymentConfigZonalConfig
    The zonal deployment config that specifies how the zonal deployment behaves
    ComputePlatform string
    The destination platform type for the deployment (Lambda, Server, or ECS).
    DeploymentConfigName string
    A name for the deployment configuration. If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the deployment configuration name. For more information, see Name Type.
    MinimumHealthyHosts DeploymentConfigMinimumHealthyHostsArgs
    The minimum number of healthy instances that should be available at any time during the deployment. There are two parameters expected in the input: type and value.
    TrafficRoutingConfig DeploymentConfigTrafficRoutingConfigArgs
    The configuration that specifies how the deployment traffic is routed.
    ZonalConfig DeploymentConfigZonalConfigArgs
    The zonal deployment config that specifies how the zonal deployment behaves
    computePlatform String
    The destination platform type for the deployment (Lambda, Server, or ECS).
    deploymentConfigName String
    A name for the deployment configuration. If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the deployment configuration name. For more information, see Name Type.
    minimumHealthyHosts DeploymentConfigMinimumHealthyHosts
    The minimum number of healthy instances that should be available at any time during the deployment. There are two parameters expected in the input: type and value.
    trafficRoutingConfig DeploymentConfigTrafficRoutingConfig
    The configuration that specifies how the deployment traffic is routed.
    zonalConfig DeploymentConfigZonalConfig
    The zonal deployment config that specifies how the zonal deployment behaves
    computePlatform string
    The destination platform type for the deployment (Lambda, Server, or ECS).
    deploymentConfigName string
    A name for the deployment configuration. If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the deployment configuration name. For more information, see Name Type.
    minimumHealthyHosts DeploymentConfigMinimumHealthyHosts
    The minimum number of healthy instances that should be available at any time during the deployment. There are two parameters expected in the input: type and value.
    trafficRoutingConfig DeploymentConfigTrafficRoutingConfig
    The configuration that specifies how the deployment traffic is routed.
    zonalConfig DeploymentConfigZonalConfig
    The zonal deployment config that specifies how the zonal deployment behaves
    compute_platform str
    The destination platform type for the deployment (Lambda, Server, or ECS).
    deployment_config_name str
    A name for the deployment configuration. If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the deployment configuration name. For more information, see Name Type.
    minimum_healthy_hosts DeploymentConfigMinimumHealthyHostsArgs
    The minimum number of healthy instances that should be available at any time during the deployment. There are two parameters expected in the input: type and value.
    traffic_routing_config DeploymentConfigTrafficRoutingConfigArgs
    The configuration that specifies how the deployment traffic is routed.
    zonal_config DeploymentConfigZonalConfigArgs
    The zonal deployment config that specifies how the zonal deployment behaves
    computePlatform String
    The destination platform type for the deployment (Lambda, Server, or ECS).
    deploymentConfigName String
    A name for the deployment configuration. If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the deployment configuration name. For more information, see Name Type.
    minimumHealthyHosts Property Map
    The minimum number of healthy instances that should be available at any time during the deployment. There are two parameters expected in the input: type and value.
    trafficRoutingConfig Property Map
    The configuration that specifies how the deployment traffic is routed.
    zonalConfig Property Map
    The zonal deployment config that specifies how the zonal deployment behaves

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Supporting Types

    DeploymentConfigMinimumHealthyHosts, DeploymentConfigMinimumHealthyHostsArgs

    Type string
    Value int
    Type string
    Value int
    type String
    value Integer
    type string
    value number
    type str
    value int
    type String
    value Number

    DeploymentConfigMinimumHealthyHostsPerZone, DeploymentConfigMinimumHealthyHostsPerZoneArgs

    Type string
    Value int
    Type string
    Value int
    type String
    value Integer
    type string
    value number
    type str
    value int
    type String
    value Number

    DeploymentConfigTimeBasedCanary, DeploymentConfigTimeBasedCanaryArgs

    DeploymentConfigTimeBasedLinear, DeploymentConfigTimeBasedLinearArgs

    DeploymentConfigTrafficRoutingConfig, DeploymentConfigTrafficRoutingConfigArgs

    DeploymentConfigZonalConfig, DeploymentConfigZonalConfigArgs

    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.103.0 published on Monday, Apr 22, 2024 by Pulumi