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.77.0 published on Wednesday, Sep 20, 2023 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.77.0 published on Wednesday, Sep 20, 2023 by Pulumi

    Resource Type definition for AWS::CodeDeploy::DeploymentConfig

    Create DeploymentConfig Resource

    new DeploymentConfig(name: string, args?: DeploymentConfigArgs, opts?: CustomResourceOptions);
    @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)
    @overload
    def DeploymentConfig(resource_name: str,
                         args: Optional[DeploymentConfigArgs] = None,
                         opts: Optional[ResourceOptions] = 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.
    
    
    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.

    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.

    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.

    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.

    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.

    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.

    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.

    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

    DeploymentConfigTimeBasedCanary, DeploymentConfigTimeBasedCanaryArgs

    DeploymentConfigTimeBasedLinear, DeploymentConfigTimeBasedLinearArgs

    DeploymentConfigTrafficRoutingConfig, DeploymentConfigTrafficRoutingConfigArgs

    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.77.0 published on Wednesday, Sep 20, 2023 by Pulumi