import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Resource type definition for AWS::CodeDeploy::DeploymentGroup */ export declare class DeploymentGroup extends pulumi.CustomResource { /** * Get an existing DeploymentGroup resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): DeploymentGroup; /** * Returns true if the given object is an instance of DeploymentGroup. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is DeploymentGroup; /** * Information about the Amazon CloudWatch alarms that are associated with the deployment group. */ readonly alarmConfiguration: pulumi.Output; /** * The name of an existing CodeDeploy application to associate this deployment group with. */ readonly applicationName: pulumi.Output; /** * Information about the automatic rollback configuration that is associated with the deployment group. If you specify this property, don't specify the Deployment property. */ readonly autoRollbackConfiguration: pulumi.Output; /** * A list of associated Auto Scaling groups that CodeDeploy automatically deploys revisions to when new instances are created. Duplicates are not allowed. */ readonly autoScalingGroups: pulumi.Output; /** * Information about blue/green deployment options for a deployment group. */ readonly blueGreenDeploymentConfiguration: pulumi.Output; /** * The application revision to deploy to this deployment group. If you specify this property, your target application revision is deployed as soon as the provisioning process is complete. If you specify this property, don't specify the AutoRollbackConfiguration property. */ readonly deployment: pulumi.Output; /** * A deployment configuration name or a predefined configuration name. With predefined configurations, you can deploy application revisions to one instance at a time (CodeDeployDefault.OneAtATime), half of the instances at a time (CodeDeployDefault.HalfAtATime), or all the instances at once (CodeDeployDefault.AllAtOnce). */ readonly deploymentConfigName: pulumi.Output; /** * A name for the deployment group. If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the deployment group name. */ readonly deploymentGroupName: pulumi.Output; /** * Attributes that determine the type of deployment to run and whether to route deployment traffic behind a load balancer. If you specify this property with a blue/green deployment type, don't specify the AutoScalingGroups, LoadBalancerInfo, or Deployment properties. */ readonly deploymentStyle: pulumi.Output; /** * The Amazon EC2 tags that are already applied to Amazon EC2 instances that you want to include in the deployment group. CodeDeploy includes all Amazon EC2 instances identified by any of the tags you specify in this deployment group. Duplicates are not allowed. You can specify EC2TagFilters or Ec2TagSet, but not both. */ readonly ec2TagFilters: pulumi.Output; /** * Information about groups of tags applied to Amazon EC2 instances. Use when the deployment group includes only Amazon EC2 instances identified by all the tag groups. Cannot be used in the same call as ec2TagFilter. */ readonly ec2TagSet: pulumi.Output; /** * 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 :. */ readonly ecsServices: pulumi.Output; /** * Information about the load balancer to use in a deployment. */ readonly loadBalancerInfo: pulumi.Output; /** * The on-premises instance tags already applied to on-premises instances that you want to include in the deployment group. CodeDeploy includes all on-premises instances identified by any of the tags you specify in this deployment group. Duplicates are not allowed. You can specify OnPremisesInstanceTagFilters or OnPremisesInstanceTagSet, but not both. */ readonly onPremisesInstanceTagFilters: pulumi.Output; /** * Information about groups of tags applied to on-premises instances. The deployment group includes only on-premises instances identified by all the tag groups. You can specify OnPremisesInstanceTagFilters or OnPremisesInstanceTagSet, but not both. */ readonly onPremisesTagSet: pulumi.Output; /** * 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. */ readonly outdatedInstancesStrategy: pulumi.Output; /** * A service role Amazon Resource Name (ARN) that grants CodeDeploy permission to make calls to AWS services on your behalf. For more information, see 'Create a Service Role for AWS CodeDeploy' in the AWS CodeDeploy User Guide. */ readonly serviceRoleArn: pulumi.Output; /** * 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. */ readonly tags: pulumi.Output; /** * Indicates whether the deployment group was configured to have CodeDeploy install a termination hook into an Auto Scaling group. */ readonly terminationHookEnabled: pulumi.Output; /** * Information about triggers associated with the deployment group. Duplicates are not allowed. */ readonly triggerConfigurations: pulumi.Output; /** * Create a DeploymentGroup resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: DeploymentGroupArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a DeploymentGroup resource. */ export interface DeploymentGroupArgs { /** * Information about the Amazon CloudWatch alarms that are associated with the deployment group. */ alarmConfiguration?: pulumi.Input; /** * The name of an existing CodeDeploy application to associate this deployment group with. */ applicationName: pulumi.Input; /** * Information about the automatic rollback configuration that is associated with the deployment group. If you specify this property, don't specify the Deployment property. */ autoRollbackConfiguration?: pulumi.Input; /** * A list of associated Auto Scaling groups that CodeDeploy automatically deploys revisions to when new instances are created. Duplicates are not allowed. */ autoScalingGroups?: pulumi.Input[]>; /** * Information about blue/green deployment options for a deployment group. */ blueGreenDeploymentConfiguration?: pulumi.Input; /** * The application revision to deploy to this deployment group. If you specify this property, your target application revision is deployed as soon as the provisioning process is complete. If you specify this property, don't specify the AutoRollbackConfiguration property. */ deployment?: pulumi.Input; /** * A deployment configuration name or a predefined configuration name. With predefined configurations, you can deploy application revisions to one instance at a time (CodeDeployDefault.OneAtATime), half of the instances at a time (CodeDeployDefault.HalfAtATime), or all the instances at once (CodeDeployDefault.AllAtOnce). */ deploymentConfigName?: pulumi.Input; /** * A name for the deployment group. If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the deployment group name. */ deploymentGroupName?: pulumi.Input; /** * Attributes that determine the type of deployment to run and whether to route deployment traffic behind a load balancer. If you specify this property with a blue/green deployment type, don't specify the AutoScalingGroups, LoadBalancerInfo, or Deployment properties. */ deploymentStyle?: pulumi.Input; /** * The Amazon EC2 tags that are already applied to Amazon EC2 instances that you want to include in the deployment group. CodeDeploy includes all Amazon EC2 instances identified by any of the tags you specify in this deployment group. Duplicates are not allowed. You can specify EC2TagFilters or Ec2TagSet, but not both. */ ec2TagFilters?: pulumi.Input[]>; /** * Information about groups of tags applied to Amazon EC2 instances. Use when the deployment group includes only Amazon EC2 instances identified by all the tag groups. Cannot be used in the same call as ec2TagFilter. */ ec2TagSet?: pulumi.Input; /** * 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 :. */ ecsServices?: pulumi.Input[]>; /** * Information about the load balancer to use in a deployment. */ loadBalancerInfo?: pulumi.Input; /** * The on-premises instance tags already applied to on-premises instances that you want to include in the deployment group. CodeDeploy includes all on-premises instances identified by any of the tags you specify in this deployment group. Duplicates are not allowed. You can specify OnPremisesInstanceTagFilters or OnPremisesInstanceTagSet, but not both. */ onPremisesInstanceTagFilters?: pulumi.Input[]>; /** * Information about groups of tags applied to on-premises instances. The deployment group includes only on-premises instances identified by all the tag groups. You can specify OnPremisesInstanceTagFilters or OnPremisesInstanceTagSet, but not both. */ onPremisesTagSet?: pulumi.Input; /** * 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. */ outdatedInstancesStrategy?: pulumi.Input; /** * A service role Amazon Resource Name (ARN) that grants CodeDeploy permission to make calls to AWS services on your behalf. For more information, see 'Create a Service Role for AWS CodeDeploy' in the AWS CodeDeploy User Guide. */ serviceRoleArn: pulumi.Input; /** * 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. */ tags?: pulumi.Input[]>; /** * Indicates whether the deployment group was configured to have CodeDeploy install a termination hook into an Auto Scaling group. */ terminationHookEnabled?: pulumi.Input; /** * Information about triggers associated with the deployment group. Duplicates are not allowed. */ triggerConfigurations?: pulumi.Input[]>; }