codedeploy

class pulumi_aws.codedeploy.Application(resource_name, opts=None, compute_platform=None, name=None, unique_id=None, __name__=None, __opts__=None)

Provides a CodeDeploy application to be used as a basis for deployments

Parameters:
  • resource_name (str) – The name of the resource.
  • opts (pulumi.ResourceOptions) – Options for the resource.
  • compute_platform (pulumi.Input[str]) – The compute platform can either be ECS, Lambda, or Server. Default is Server.
  • name (pulumi.Input[str]) – The name of the application.

:param pulumi.Input[str] unique_id

compute_platform = None

The compute platform can either be ECS, Lambda, or Server. Default is Server.

name = None

The name of the application.

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
class pulumi_aws.codedeploy.DeploymentConfig(resource_name, opts=None, compute_platform=None, deployment_config_name=None, minimum_healthy_hosts=None, traffic_routing_config=None, __name__=None, __opts__=None)

Provides a CodeDeploy deployment config for an application

Parameters:
  • resource_name (str) – The name of the resource.
  • opts (pulumi.ResourceOptions) – Options for the resource.
  • compute_platform (pulumi.Input[str]) – The compute platform can be Server, Lambda, or ECS. Default is Server.
  • deployment_config_name (pulumi.Input[str]) – The name of the deployment config.
  • minimum_healthy_hosts (pulumi.Input[dict]) – A minimum_healthy_hosts block. Minimum Healthy Hosts are documented below.
  • traffic_routing_config (pulumi.Input[dict]) – A traffic_routing_config block. Traffic Routing Config is documented below.
compute_platform = None

The compute platform can be Server, Lambda, or ECS. Default is Server.

deployment_config_id = None

The AWS Assigned deployment config id

deployment_config_name = None

The name of the deployment config.

minimum_healthy_hosts = None

A minimum_healthy_hosts block. Minimum Healthy Hosts are documented below.

traffic_routing_config = None

A traffic_routing_config block. Traffic Routing Config is documented below.

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
class pulumi_aws.codedeploy.DeploymentGroup(resource_name, opts=None, alarm_configuration=None, app_name=None, auto_rollback_configuration=None, autoscaling_groups=None, blue_green_deployment_config=None, deployment_config_name=None, deployment_group_name=None, deployment_style=None, ec2_tag_filters=None, ec2_tag_sets=None, ecs_service=None, load_balancer_info=None, on_premises_instance_tag_filters=None, service_role_arn=None, trigger_configurations=None, __name__=None, __opts__=None)

Provides a CodeDeploy Deployment Group for a CodeDeploy Application

NOTE on blue/green deployments: When using green_fleet_provisioning_option with the COPY_AUTO_SCALING_GROUP action, CodeDeploy will create a new ASG with a different name. This ASG is not managed by terraform and will conflict with existing configuration and state. You may want to use a different approach to managing deployments that involve multiple ASG, such as DISCOVER_EXISTING with separate blue and green ASG.
Parameters:
  • resource_name (str) – The name of the resource.
  • opts (pulumi.ResourceOptions) – Options for the resource.
  • alarm_configuration (pulumi.Input[dict]) – Configuration block of alarms associated with the deployment group (documented below).
  • app_name (pulumi.Input[str]) – The name of the application.
  • auto_rollback_configuration (pulumi.Input[dict]) – Configuration block of the automatic rollback configuration associated with the deployment group (documented below).
  • autoscaling_groups (pulumi.Input[list]) – Autoscaling groups associated with the deployment group.
  • blue_green_deployment_config (pulumi.Input[dict]) – Configuration block of the blue/green deployment options for a deployment group (documented below).
  • deployment_config_name (pulumi.Input[str]) – The name of the group’s deployment config. The default is “CodeDeployDefault.OneAtATime”.
  • deployment_group_name (pulumi.Input[str]) – The name of the deployment group.
  • deployment_style (pulumi.Input[dict]) – Configuration block of the type of deployment, either in-place or blue/green, you want to run and whether to route deployment traffic behind a load balancer (documented below).
  • ec2_tag_filters (pulumi.Input[list]) – Tag filters associated with the deployment group. See the AWS docs for details.
  • ec2_tag_sets (pulumi.Input[list]) – Configuration block(s) of Tag filters associated with the deployment group, which are also referred to as tag groups (documented below). See the AWS docs for details.
  • ecs_service (pulumi.Input[dict]) – Configuration block(s) of the ECS services for a deployment group (documented below).
  • load_balancer_info (pulumi.Input[dict]) – Single configuration block of the load balancer to use in a blue/green deployment (documented below).
  • on_premises_instance_tag_filters (pulumi.Input[list]) – On premise tag filters associated with the group. See the AWS docs for details.
  • service_role_arn (pulumi.Input[str]) – The service role ARN that allows deployments.
  • trigger_configurations (pulumi.Input[list]) – Configuration block(s) of the triggers for the deployment group (documented below).
alarm_configuration = None

Configuration block of alarms associated with the deployment group (documented below).

app_name = None

The name of the application.

auto_rollback_configuration = None

Configuration block of the automatic rollback configuration associated with the deployment group (documented below).

autoscaling_groups = None

Autoscaling groups associated with the deployment group.

blue_green_deployment_config = None

Configuration block of the blue/green deployment options for a deployment group (documented below).

deployment_config_name = None

The name of the group’s deployment config. The default is “CodeDeployDefault.OneAtATime”.

deployment_group_name = None

The name of the deployment group.

deployment_style = None

Configuration block of the type of deployment, either in-place or blue/green, you want to run and whether to route deployment traffic behind a load balancer (documented below).

ec2_tag_filters = None

Tag filters associated with the deployment group. See the AWS docs for details.

ec2_tag_sets = None

Configuration block(s) of Tag filters associated with the deployment group, which are also referred to as tag groups (documented below). See the AWS docs for details.

ecs_service = None

Configuration block(s) of the ECS services for a deployment group (documented below).

load_balancer_info = None

Single configuration block of the load balancer to use in a blue/green deployment (documented below).

on_premises_instance_tag_filters = None

On premise tag filters associated with the group. See the AWS docs for details.

service_role_arn = None

The service role ARN that allows deployments.

trigger_configurations = None

Configuration block(s) of the triggers for the deployment group (documented below).

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str