AWS Native is in preview. AWS Classic is fully supported.
aws-native.codedeploy.DeploymentConfig
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
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:
- Compute
Platform string - The destination platform type for the deployment (Lambda, Server, or ECS).
- Deployment
Config stringName - 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 Pulumi.Hosts Aws Native. Code Deploy. Inputs. Deployment Config Minimum Healthy Hosts - 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 Pulumi.Config Aws Native. Code Deploy. Inputs. Deployment Config Traffic Routing Config - The configuration that specifies how the deployment traffic is routed.
- Zonal
Config Pulumi.Aws Native. Code Deploy. Inputs. Deployment Config Zonal Config - The zonal deployment config that specifies how the zonal deployment behaves
- Compute
Platform string - The destination platform type for the deployment (Lambda, Server, or ECS).
- Deployment
Config stringName - 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 DeploymentHosts Config Minimum Healthy Hosts Args - 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 DeploymentConfig Config Traffic Routing Config Args - The configuration that specifies how the deployment traffic is routed.
- Zonal
Config DeploymentConfig Zonal Config Args - The zonal deployment config that specifies how the zonal deployment behaves
- compute
Platform String - The destination platform type for the deployment (Lambda, Server, or ECS).
- deployment
Config StringName - 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 DeploymentHosts Config Minimum Healthy Hosts - 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 DeploymentConfig Config Traffic Routing Config - The configuration that specifies how the deployment traffic is routed.
- zonal
Config DeploymentConfig Zonal Config - The zonal deployment config that specifies how the zonal deployment behaves
- compute
Platform string - The destination platform type for the deployment (Lambda, Server, or ECS).
- deployment
Config stringName - 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 DeploymentHosts Config Minimum Healthy Hosts - 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 DeploymentConfig Config Traffic Routing Config - The configuration that specifies how the deployment traffic is routed.
- zonal
Config DeploymentConfig Zonal Config - 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_ strname - 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_ Deploymenthosts Config Minimum Healthy Hosts Args - 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_ Deploymentconfig Config Traffic Routing Config Args - The configuration that specifies how the deployment traffic is routed.
- zonal_
config DeploymentConfig Zonal Config Args - The zonal deployment config that specifies how the zonal deployment behaves
- compute
Platform String - The destination platform type for the deployment (Lambda, Server, or ECS).
- deployment
Config StringName - 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 Property MapHosts - 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 Property MapConfig - The configuration that specifies how the deployment traffic is routed.
- zonal
Config 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
DeploymentConfigMinimumHealthyHostsPerZone, DeploymentConfigMinimumHealthyHostsPerZoneArgs
DeploymentConfigTimeBasedCanary, DeploymentConfigTimeBasedCanaryArgs
- Canary
Interval int - Canary
Percentage int
- Canary
Interval int - Canary
Percentage int
- canary
Interval Integer - canary
Percentage Integer
- canary
Interval number - canary
Percentage number
- canary_
interval int - canary_
percentage int
- canary
Interval Number - canary
Percentage Number
DeploymentConfigTimeBasedLinear, DeploymentConfigTimeBasedLinearArgs
- Linear
Interval int - Linear
Percentage int
- Linear
Interval int - Linear
Percentage int
- linear
Interval Integer - linear
Percentage Integer
- linear
Interval number - linear
Percentage number
- linear_
interval int - linear_
percentage int
- linear
Interval Number - linear
Percentage Number
DeploymentConfigTrafficRoutingConfig, DeploymentConfigTrafficRoutingConfigArgs
DeploymentConfigZonalConfig, DeploymentConfigZonalConfigArgs
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
AWS Native is in preview. AWS Classic is fully supported.