Values.CreateDeploymentGroupInputSourceRepresents the input of a CreateDeploymentGroup operation.
type nonrec t = {applicationName : ApplicationName.t;The name of an CodeDeploy application associated with the user or Amazon Web Services account.
*)deploymentGroupName : DeploymentGroupName.t;The name of a new deployment group for the specified application.
*)deploymentConfigName : DeploymentConfigName.t option;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. CodeDeployDefault.OneAtATime is the default deployment configuration. It is used if a configuration isn't specified for the deployment or deployment group. For more information about the predefined deployment configurations in CodeDeploy, see Working with Deployment Configurations in CodeDeploy in the CodeDeploy User Guide.
*)ec2TagFilters : EC2TagFilterList.t option;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 : TagFilterList.t option;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 OnPremisesTagSet.
*)autoScalingGroups : AutoScalingGroupNameList.t option;A list of associated Amazon EC2 Auto Scaling groups.
*)serviceRoleArn : Role.t;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 : TriggerConfigList.t option;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 : AlarmConfiguration.t option;Information to add about Amazon CloudWatch alarms when the deployment group is created.
*)autoRollbackConfiguration : AutoRollbackConfiguration.t option;Configuration information for an automatic rollback that is added when a deployment group is created.
*)outdatedInstancesStrategy : OutdatedInstancesStrategy.t option;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 UPDATE or is unspecified, CodeDeploy initiates one or more 'auto-update outdated instances' deployments to apply the deployed application revision to the new Amazon EC2 instances. If this option is set to IGNORE, CodeDeploy does not initiate a deployment to update the new Amazon EC2 instances. This may result in instances having different revisions.
*)deploymentStyle : DeploymentStyle.t option;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 : BlueGreenDeploymentConfiguration.t option;Information about blue/green deployment options for a deployment group.
*)loadBalancerInfo : LoadBalancerInfo.t option;Information about the load balancer used in a deployment.
*)ec2TagSet : EC2TagSet.t option;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 ec2TagFilters.
*)ecsServices : ECSServiceList.t option;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 <clustername>:<servicename>.
*)onPremisesTagSet : OnPremisesTagSet.t option;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 onPremisesInstanceTagFilters.
*)terminationHookEnabled : NullableBoolean.t option;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 terminationHookEnabled to true to have CodeDeploy install a termination hook into your Auto Scaling group when you create a deployment group. When this hook is installed, CodeDeploy will perform termination deployments. 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.
*)}val make :
?deploymentConfigName:??? ->
?ec2TagFilters:??? ->
?onPremisesInstanceTagFilters:??? ->
?autoScalingGroups:??? ->
?triggerConfigurations:??? ->
?alarmConfiguration:??? ->
?autoRollbackConfiguration:??? ->
?outdatedInstancesStrategy:??? ->
?deploymentStyle:??? ->
?blueGreenDeploymentConfiguration:??? ->
?loadBalancerInfo:??? ->
?ec2TagSet:??? ->
?ecsServices:??? ->
?onPremisesTagSet:??? ->
?tags:??? ->
?terminationHookEnabled:??? ->
applicationName:ApplicationName.t ->
deploymentGroupName:DeploymentGroupName.t ->
serviceRoleArn:Role.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Boolean of NullableBoolean.t
| `Enum of string
| `List of
[> `String of AutoScalingGroupName.t
| `Structure of
(string
* [> `Enum of string
| `List of [> `Enum of string ] list
| `String of Key.t ])
list ]
list
| `String of ApplicationName.t
| `Structure of
(string
* [> `Boolean of Boolean.t
| `Enum of string
| `List of
[> `Enum of string
| `List of
[> `Structure of
(string * [> `Enum of string | `String of Key.t ]) list ]
list
| `Structure of
(string
* [> `List of
[> `Structure of
(string * [> `String of TargetGroupName.t ])
list ]
list
| `String of AlarmName.t
| `Structure of
(string
* [> `List of [> `String of ListenerArn.t ] list ])
list ])
list ]
list
| `Structure of
(string * [> `Enum of string | `Integer of Duration.t ]) list ])
list ])
list ]