View source: R/codedeploy_operations.R
codedeploy_create_deployment_group | R Documentation |
Creates a deployment group to which application revisions are deployed.
See https://www.paws-r-sdk.com/docs/codedeploy_create_deployment_group/ for full documentation.
codedeploy_create_deployment_group(
applicationName,
deploymentGroupName,
deploymentConfigName = NULL,
ec2TagFilters = NULL,
onPremisesInstanceTagFilters = NULL,
autoScalingGroups = NULL,
serviceRoleArn,
triggerConfigurations = NULL,
alarmConfiguration = NULL,
autoRollbackConfiguration = NULL,
outdatedInstancesStrategy = NULL,
deploymentStyle = NULL,
blueGreenDeploymentConfiguration = NULL,
loadBalancerInfo = NULL,
ec2TagSet = NULL,
ecsServices = NULL,
onPremisesTagSet = NULL,
tags = NULL,
terminationHookEnabled = NULL
)
applicationName |
[required] The name of an CodeDeploy application associated with the user or Amazon Web Services account. |
deploymentGroupName |
[required] The name of a new deployment group for the specified application. |
deploymentConfigName |
If specified, the deployment configuration name can be either one of the predefined configurations provided with CodeDeploy or a custom deployment configuration that you create by calling the create deployment configuration operation.
For more information about the predefined deployment configurations in CodeDeploy, see Working with Deployment Configurations in CodeDeploy in the CodeDeploy User Guide. |
ec2TagFilters |
The Amazon EC2 tags on which to filter. The deployment group includes Amazon EC2 instances with any of the specified tags. Cannot be used in the same call as ec2TagSet. |
onPremisesInstanceTagFilters |
The on-premises instance tags on which to filter. The deployment group
includes on-premises instances with any of the specified tags. Cannot be
used in the same call as |
autoScalingGroups |
A list of associated Amazon EC2 Auto Scaling groups. |
serviceRoleArn |
[required] A service role Amazon Resource Name (ARN) that allows CodeDeploy to act on the user's behalf when interacting with Amazon Web Services services. |
triggerConfigurations |
Information about triggers to create when the deployment group is created. For examples, see Create a Trigger for an CodeDeploy Event in the CodeDeploy User Guide. |
alarmConfiguration |
Information to add about Amazon CloudWatch alarms when the deployment group is created. |
autoRollbackConfiguration |
Configuration information for an automatic rollback that is added when a deployment group is created. |
outdatedInstancesStrategy |
Indicates what happens when new Amazon EC2 instances are launched mid-deployment and do not receive the deployed application revision. If this option is set to If this option is set to |
deploymentStyle |
Information about the type of deployment, in-place or blue/green, that you want to run and whether to route deployment traffic behind a load balancer. |
blueGreenDeploymentConfiguration |
Information about blue/green deployment options for a deployment group. |
loadBalancerInfo |
Information about the load balancer used in a deployment. |
ec2TagSet |
Information about groups of tags applied to Amazon EC2 instances. The
deployment group includes only Amazon EC2 instances identified by all
the tag groups. Cannot be used in the same call as |
ecsServices |
The target Amazon ECS services in the deployment group. This applies
only to deployment groups that use the Amazon ECS compute platform. A
target Amazon ECS service is specified as an Amazon ECS cluster and
service name pair using the format |
onPremisesTagSet |
Information about groups of tags applied to on-premises instances. The
deployment group includes only on-premises instances identified by all
of the tag groups. Cannot be used in the same call as
|
tags |
The metadata that you apply to CodeDeploy deployment groups to help you organize and categorize them. Each tag consists of a key and an optional value, both of which you define. |
terminationHookEnabled |
This parameter only applies if you are using CodeDeploy with Amazon EC2 Auto Scaling. For more information, see Integrating CodeDeploy with Amazon EC2 Auto Scaling in the CodeDeploy User Guide. Set For information about termination deployments, see Enabling termination deployments during Auto Scaling scale-in events in the CodeDeploy User Guide. For more information about Auto Scaling scale-in events, see the Scale in topic in the Amazon EC2 Auto Scaling User Guide. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.