Module codedeploy

codedeploy

This provider is a derived work of the Terraform Provider distributed under MPL 2.0. If you encounter a bug or missing feature, first check the pulumi/pulumi-aws repo; however, if that doesn’t turn up anything, please consult the source terraform-providers/terraform-provider-aws repo.
class pulumi_aws.codedeploy.Application(resource_name, opts=None, compute_platform=None, name=None, unique_id=None, __props__=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.
compute_platform = None

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

name = None

The name of the application.

static get(resource_name, id, opts=None, compute_platform=None, name=None, unique_id=None)

Get an existing Application resource’s state with the given name, id, and optional extra properties used to qualify the lookup. :param str resource_name: The unique name of the resulting resource. :param str id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[str] compute_platform: The compute platform can either be ECS, Lambda, or Server. Default is Server. :param pulumi.Input[str] name: 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, __props__=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.

static get(resource_name, id, opts=None, compute_platform=None, deployment_config_id=None, deployment_config_name=None, minimum_healthy_hosts=None, traffic_routing_config=None)

Get an existing DeploymentConfig resource’s state with the given name, id, and optional extra properties used to qualify the lookup. :param str resource_name: The unique name of the resulting resource. :param str id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[str] compute_platform: The compute platform can be Server, Lambda, or ECS. Default is Server. :param pulumi.Input[str] deployment_config_id: The AWS Assigned deployment config id :param pulumi.Input[str] deployment_config_name: The name of the deployment config. :param pulumi.Input[dict] minimum_healthy_hosts: A minimum_healthy_hosts block. Minimum Healthy Hosts are documented below. :param pulumi.Input[dict] traffic_routing_config: 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, __props__=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 this provider 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).

static get(resource_name, id, 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)

Get an existing DeploymentGroup resource’s state with the given name, id, and optional extra properties used to qualify the lookup. :param str resource_name: The unique name of the resulting resource. :param str id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[dict] alarm_configuration: Configuration block of alarms associated with the deployment group (documented below). :param pulumi.Input[str] app_name: The name of the application. :param pulumi.Input[dict] auto_rollback_configuration: Configuration block of the automatic rollback configuration associated with the deployment group (documented below). :param pulumi.Input[list] autoscaling_groups: Autoscaling groups associated with the deployment group. :param pulumi.Input[dict] blue_green_deployment_config: Configuration block of the blue/green deployment options for a deployment group (documented below). :param pulumi.Input[str] deployment_config_name: The name of the group’s deployment config. The default is “CodeDeployDefault.OneAtATime”. :param pulumi.Input[str] deployment_group_name: The name of the deployment group. :param pulumi.Input[dict] deployment_style: 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). :param pulumi.Input[list] ec2_tag_filters: Tag filters associated with the deployment group. See the AWS docs for details. :param pulumi.Input[list] ec2_tag_sets: 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. :param pulumi.Input[dict] ecs_service: Configuration block(s) of the ECS services for a deployment group (documented below). :param pulumi.Input[dict] load_balancer_info: Single configuration block of the load balancer to use in a blue/green deployment (documented below). :param pulumi.Input[list] on_premises_instance_tag_filters: On premise tag filters associated with the group. See the AWS docs for details. :param pulumi.Input[str] service_role_arn: The service role ARN that allows deployments. :param pulumi.Input[list] trigger_configurations: 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