Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Creates a deployment group to which application revisions will be deployed.
- createDeploymentGroup :: Text -> Text -> Text -> CreateDeploymentGroup
- data CreateDeploymentGroup
- cdgEc2TagSet :: Lens' CreateDeploymentGroup (Maybe EC2TagSet)
- cdgDeploymentConfigName :: Lens' CreateDeploymentGroup (Maybe Text)
- cdgOnPremisesTagSet :: Lens' CreateDeploymentGroup (Maybe OnPremisesTagSet)
- cdgEc2TagFilters :: Lens' CreateDeploymentGroup [EC2TagFilter]
- cdgBlueGreenDeploymentConfiguration :: Lens' CreateDeploymentGroup (Maybe BlueGreenDeploymentConfiguration)
- cdgLoadBalancerInfo :: Lens' CreateDeploymentGroup (Maybe LoadBalancerInfo)
- cdgOnPremisesInstanceTagFilters :: Lens' CreateDeploymentGroup [TagFilter]
- cdgAlarmConfiguration :: Lens' CreateDeploymentGroup (Maybe AlarmConfiguration)
- cdgTriggerConfigurations :: Lens' CreateDeploymentGroup [TriggerConfig]
- cdgAutoScalingGroups :: Lens' CreateDeploymentGroup [Text]
- cdgDeploymentStyle :: Lens' CreateDeploymentGroup (Maybe DeploymentStyle)
- cdgAutoRollbackConfiguration :: Lens' CreateDeploymentGroup (Maybe AutoRollbackConfiguration)
- cdgApplicationName :: Lens' CreateDeploymentGroup Text
- cdgDeploymentGroupName :: Lens' CreateDeploymentGroup Text
- cdgServiceRoleARN :: Lens' CreateDeploymentGroup Text
- createDeploymentGroupResponse :: Int -> CreateDeploymentGroupResponse
- data CreateDeploymentGroupResponse
- cdgrsDeploymentGroupId :: Lens' CreateDeploymentGroupResponse (Maybe Text)
- cdgrsResponseStatus :: Lens' CreateDeploymentGroupResponse Int
Creating a Request
createDeploymentGroup Source #
:: Text | |
-> Text | |
-> Text | |
-> CreateDeploymentGroup |
Creates a value of CreateDeploymentGroup
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cdgEc2TagSet
- Information about groups of tags applied to EC2 instances. The deployment group will include only EC2 instances identified by all the tag groups. Cannot be used in the same call as ec2TagFilters.cdgDeploymentConfigName
- If specified, the deployment configuration name can be either one of the predefined configurations provided with AWS 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 the deployment group. For more information about the predefined deployment configurations in AWS CodeDeploy, see Working with Deployment Groups in AWS CodeDeploy in the AWS CodeDeploy User Guide.cdgOnPremisesTagSet
- Information about groups of tags applied to on-premises instances. The deployment group will include only on-premises instances identified by all the tag groups. Cannot be used in the same call as onPremisesInstanceTagFilters.cdgEc2TagFilters
- The Amazon EC2 tags on which to filter. The deployment group will include EC2 instances with any of the specified tags. Cannot be used in the same call as ec2TagSet.cdgBlueGreenDeploymentConfiguration
- Information about blue/green deployment options for a deployment group.cdgLoadBalancerInfo
- Information about the load balancer used in a deployment.cdgOnPremisesInstanceTagFilters
- The on-premises instance tags on which to filter. The deployment group will include on-premises instances with any of the specified tags. Cannot be used in the same call as OnPremisesTagSet.cdgAlarmConfiguration
- Information to add about Amazon CloudWatch alarms when the deployment group is created.cdgTriggerConfigurations
- Information about triggers to create when the deployment group is created. For examples, see Create a Trigger for an AWS CodeDeploy Event in the AWS CodeDeploy User Guide.cdgAutoScalingGroups
- A list of associated Auto Scaling groups.cdgDeploymentStyle
- 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.cdgAutoRollbackConfiguration
- Configuration information for an automatic rollback that is added when a deployment group is created.cdgApplicationName
- The name of an AWS CodeDeploy application associated with the applicable IAM user or AWS account.cdgDeploymentGroupName
- The name of a new deployment group for the specified application.cdgServiceRoleARN
- A service role ARN that allows AWS CodeDeploy to act on the user's behalf when interacting with AWS services.
data CreateDeploymentGroup Source #
Represents the input of a CreateDeploymentGroup operation.
See: createDeploymentGroup
smart constructor.
Request Lenses
cdgEc2TagSet :: Lens' CreateDeploymentGroup (Maybe EC2TagSet) Source #
Information about groups of tags applied to EC2 instances. The deployment group will include only EC2 instances identified by all the tag groups. Cannot be used in the same call as ec2TagFilters.
cdgDeploymentConfigName :: Lens' CreateDeploymentGroup (Maybe Text) Source #
If specified, the deployment configuration name can be either one of the predefined configurations provided with AWS 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 the deployment group. For more information about the predefined deployment configurations in AWS CodeDeploy, see Working with Deployment Groups in AWS CodeDeploy in the AWS CodeDeploy User Guide.
cdgOnPremisesTagSet :: Lens' CreateDeploymentGroup (Maybe OnPremisesTagSet) Source #
Information about groups of tags applied to on-premises instances. The deployment group will include only on-premises instances identified by all the tag groups. Cannot be used in the same call as onPremisesInstanceTagFilters.
cdgEc2TagFilters :: Lens' CreateDeploymentGroup [EC2TagFilter] Source #
The Amazon EC2 tags on which to filter. The deployment group will include EC2 instances with any of the specified tags. Cannot be used in the same call as ec2TagSet.
cdgBlueGreenDeploymentConfiguration :: Lens' CreateDeploymentGroup (Maybe BlueGreenDeploymentConfiguration) Source #
Information about blue/green deployment options for a deployment group.
cdgLoadBalancerInfo :: Lens' CreateDeploymentGroup (Maybe LoadBalancerInfo) Source #
Information about the load balancer used in a deployment.
cdgOnPremisesInstanceTagFilters :: Lens' CreateDeploymentGroup [TagFilter] Source #
The on-premises instance tags on which to filter. The deployment group will include on-premises instances with any of the specified tags. Cannot be used in the same call as OnPremisesTagSet.
cdgAlarmConfiguration :: Lens' CreateDeploymentGroup (Maybe AlarmConfiguration) Source #
Information to add about Amazon CloudWatch alarms when the deployment group is created.
cdgTriggerConfigurations :: Lens' CreateDeploymentGroup [TriggerConfig] Source #
Information about triggers to create when the deployment group is created. For examples, see Create a Trigger for an AWS CodeDeploy Event in the AWS CodeDeploy User Guide.
cdgAutoScalingGroups :: Lens' CreateDeploymentGroup [Text] Source #
A list of associated Auto Scaling groups.
cdgDeploymentStyle :: Lens' CreateDeploymentGroup (Maybe DeploymentStyle) Source #
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.
cdgAutoRollbackConfiguration :: Lens' CreateDeploymentGroup (Maybe AutoRollbackConfiguration) Source #
Configuration information for an automatic rollback that is added when a deployment group is created.
cdgApplicationName :: Lens' CreateDeploymentGroup Text Source #
The name of an AWS CodeDeploy application associated with the applicable IAM user or AWS account.
cdgDeploymentGroupName :: Lens' CreateDeploymentGroup Text Source #
The name of a new deployment group for the specified application.
cdgServiceRoleARN :: Lens' CreateDeploymentGroup Text Source #
A service role ARN that allows AWS CodeDeploy to act on the user's behalf when interacting with AWS services.
Destructuring the Response
createDeploymentGroupResponse Source #
Creates a value of CreateDeploymentGroupResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cdgrsDeploymentGroupId
- A unique deployment group ID.cdgrsResponseStatus
- -- | The response status code.
data CreateDeploymentGroupResponse Source #
Represents the output of a CreateDeploymentGroup operation.
See: createDeploymentGroupResponse
smart constructor.
Response Lenses
cdgrsDeploymentGroupId :: Lens' CreateDeploymentGroupResponse (Maybe Text) Source #
A unique deployment group ID.
cdgrsResponseStatus :: Lens' CreateDeploymentGroupResponse Int Source #
- - | The response status code.