libZSservicesZSamazonka-codedeployZSamazonka-codedeploy
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.CodeDeploy.Types.DeploymentGroupInfo

Description

 
Synopsis

Documentation

data DeploymentGroupInfo Source #

Information about a deployment group.

See: newDeploymentGroupInfo smart constructor.

Constructors

DeploymentGroupInfo' 

Fields

Instances

Instances details
Eq DeploymentGroupInfo Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.DeploymentGroupInfo

Read DeploymentGroupInfo Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.DeploymentGroupInfo

Show DeploymentGroupInfo Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.DeploymentGroupInfo

Generic DeploymentGroupInfo Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.DeploymentGroupInfo

Associated Types

type Rep DeploymentGroupInfo :: Type -> Type #

NFData DeploymentGroupInfo Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.DeploymentGroupInfo

Methods

rnf :: DeploymentGroupInfo -> () #

Hashable DeploymentGroupInfo Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.DeploymentGroupInfo

FromJSON DeploymentGroupInfo Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.DeploymentGroupInfo

type Rep DeploymentGroupInfo Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.DeploymentGroupInfo

type Rep DeploymentGroupInfo = D1 ('MetaData "DeploymentGroupInfo" "Amazonka.CodeDeploy.Types.DeploymentGroupInfo" "libZSservicesZSamazonka-codedeployZSamazonka-codedeploy" 'False) (C1 ('MetaCons "DeploymentGroupInfo'" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "serviceRoleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "ec2TagSet") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EC2TagSet))) :*: (S1 ('MetaSel ('Just "deploymentConfigName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "lastAttemptedDeployment") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LastDeploymentInfo)) :*: S1 ('MetaSel ('Just "onPremisesTagSet") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe OnPremisesTagSet))))) :*: ((S1 ('MetaSel ('Just "computePlatform") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ComputePlatform)) :*: (S1 ('MetaSel ('Just "targetRevision") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RevisionLocation)) :*: S1 ('MetaSel ('Just "ec2TagFilters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [EC2TagFilter])))) :*: (S1 ('MetaSel ('Just "ecsServices") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ECSService])) :*: (S1 ('MetaSel ('Just "blueGreenDeploymentConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe BlueGreenDeploymentConfiguration)) :*: S1 ('MetaSel ('Just "loadBalancerInfo") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LoadBalancerInfo)))))) :*: (((S1 ('MetaSel ('Just "outdatedInstancesStrategy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe OutdatedInstancesStrategy)) :*: S1 ('MetaSel ('Just "onPremisesInstanceTagFilters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [TagFilter]))) :*: (S1 ('MetaSel ('Just "lastSuccessfulDeployment") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LastDeploymentInfo)) :*: (S1 ('MetaSel ('Just "applicationName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "alarmConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AlarmConfiguration))))) :*: ((S1 ('MetaSel ('Just "triggerConfigurations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [TriggerConfig])) :*: (S1 ('MetaSel ('Just "deploymentGroupId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "autoScalingGroups") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [AutoScalingGroup])))) :*: (S1 ('MetaSel ('Just "deploymentStyle") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DeploymentStyle)) :*: (S1 ('MetaSel ('Just "autoRollbackConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AutoRollbackConfiguration)) :*: S1 ('MetaSel ('Just "deploymentGroupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))))

newDeploymentGroupInfo :: DeploymentGroupInfo Source #

Create a value of DeploymentGroupInfo with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:serviceRoleArn:DeploymentGroupInfo', deploymentGroupInfo_serviceRoleArn - 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.

$sel:ec2TagSet:DeploymentGroupInfo', deploymentGroupInfo_ec2TagSet - Information about groups of tags applied to an EC2 instance. The deployment group includes only EC2 instances identified by all of the tag groups. Cannot be used in the same call as ec2TagFilters.

$sel:deploymentConfigName:DeploymentGroupInfo', deploymentGroupInfo_deploymentConfigName - The deployment configuration name.

$sel:lastAttemptedDeployment:DeploymentGroupInfo', deploymentGroupInfo_lastAttemptedDeployment - Information about the most recent attempted deployment to the deployment group.

$sel:onPremisesTagSet:DeploymentGroupInfo', deploymentGroupInfo_onPremisesTagSet - Information about groups of tags applied to an on-premises instance. The deployment group includes only on-premises instances identified by all the tag groups. Cannot be used in the same call as onPremisesInstanceTagFilters.

$sel:computePlatform:DeploymentGroupInfo', deploymentGroupInfo_computePlatform - The destination platform type for the deployment (Lambda, Server, or ECS).

$sel:targetRevision:DeploymentGroupInfo', deploymentGroupInfo_targetRevision - Information about the deployment group's target revision, including type and location.

$sel:ec2TagFilters:DeploymentGroupInfo', deploymentGroupInfo_ec2TagFilters - The Amazon EC2 tags on which to filter. The deployment group includes EC2 instances with any of the specified tags.

$sel:ecsServices:DeploymentGroupInfo', deploymentGroupInfo_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 <clustername>:<servicename>.

$sel:blueGreenDeploymentConfiguration:DeploymentGroupInfo', deploymentGroupInfo_blueGreenDeploymentConfiguration - Information about blue/green deployment options for a deployment group.

$sel:loadBalancerInfo:DeploymentGroupInfo', deploymentGroupInfo_loadBalancerInfo - Information about the load balancer to use in a deployment.

$sel:outdatedInstancesStrategy:DeploymentGroupInfo', deploymentGroupInfo_outdatedInstancesStrategy - Indicates what happens when new 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 EC2 instances.

If this option is set to IGNORE, CodeDeploy does not initiate a deployment to update the new EC2 instances. This may result in instances having different revisions.

$sel:onPremisesInstanceTagFilters:DeploymentGroupInfo', deploymentGroupInfo_onPremisesInstanceTagFilters - The on-premises instance tags on which to filter. The deployment group includes on-premises instances with any of the specified tags.

$sel:lastSuccessfulDeployment:DeploymentGroupInfo', deploymentGroupInfo_lastSuccessfulDeployment - Information about the most recent successful deployment to the deployment group.

$sel:applicationName:DeploymentGroupInfo', deploymentGroupInfo_applicationName - The application name.

$sel:alarmConfiguration:DeploymentGroupInfo', deploymentGroupInfo_alarmConfiguration - A list of alarms associated with the deployment group.

$sel:triggerConfigurations:DeploymentGroupInfo', deploymentGroupInfo_triggerConfigurations - Information about triggers associated with the deployment group.

$sel:deploymentGroupId:DeploymentGroupInfo', deploymentGroupInfo_deploymentGroupId - The deployment group ID.

$sel:autoScalingGroups:DeploymentGroupInfo', deploymentGroupInfo_autoScalingGroups - A list of associated Auto Scaling groups.

$sel:deploymentStyle:DeploymentGroupInfo', deploymentGroupInfo_deploymentStyle - Information about the type of deployment, either in-place or blue/green, you want to run and whether to route deployment traffic behind a load balancer.

$sel:autoRollbackConfiguration:DeploymentGroupInfo', deploymentGroupInfo_autoRollbackConfiguration - Information about the automatic rollback configuration associated with the deployment group.

$sel:deploymentGroupName:DeploymentGroupInfo', deploymentGroupInfo_deploymentGroupName - The deployment group name.

deploymentGroupInfo_serviceRoleArn :: Lens' DeploymentGroupInfo (Maybe Text) Source #

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.

deploymentGroupInfo_ec2TagSet :: Lens' DeploymentGroupInfo (Maybe EC2TagSet) Source #

Information about groups of tags applied to an EC2 instance. The deployment group includes only EC2 instances identified by all of the tag groups. Cannot be used in the same call as ec2TagFilters.

deploymentGroupInfo_lastAttemptedDeployment :: Lens' DeploymentGroupInfo (Maybe LastDeploymentInfo) Source #

Information about the most recent attempted deployment to the deployment group.

deploymentGroupInfo_onPremisesTagSet :: Lens' DeploymentGroupInfo (Maybe OnPremisesTagSet) Source #

Information about groups of tags applied to an on-premises instance. The deployment group includes only on-premises instances identified by all the tag groups. Cannot be used in the same call as onPremisesInstanceTagFilters.

deploymentGroupInfo_computePlatform :: Lens' DeploymentGroupInfo (Maybe ComputePlatform) Source #

The destination platform type for the deployment (Lambda, Server, or ECS).

deploymentGroupInfo_targetRevision :: Lens' DeploymentGroupInfo (Maybe RevisionLocation) Source #

Information about the deployment group's target revision, including type and location.

deploymentGroupInfo_ec2TagFilters :: Lens' DeploymentGroupInfo (Maybe [EC2TagFilter]) Source #

The Amazon EC2 tags on which to filter. The deployment group includes EC2 instances with any of the specified tags.

deploymentGroupInfo_ecsServices :: Lens' DeploymentGroupInfo (Maybe [ECSService]) Source #

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>.

deploymentGroupInfo_blueGreenDeploymentConfiguration :: Lens' DeploymentGroupInfo (Maybe BlueGreenDeploymentConfiguration) Source #

Information about blue/green deployment options for a deployment group.

deploymentGroupInfo_loadBalancerInfo :: Lens' DeploymentGroupInfo (Maybe LoadBalancerInfo) Source #

Information about the load balancer to use in a deployment.

deploymentGroupInfo_outdatedInstancesStrategy :: Lens' DeploymentGroupInfo (Maybe OutdatedInstancesStrategy) Source #

Indicates what happens when new 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 EC2 instances.

If this option is set to IGNORE, CodeDeploy does not initiate a deployment to update the new EC2 instances. This may result in instances having different revisions.

deploymentGroupInfo_onPremisesInstanceTagFilters :: Lens' DeploymentGroupInfo (Maybe [TagFilter]) Source #

The on-premises instance tags on which to filter. The deployment group includes on-premises instances with any of the specified tags.

deploymentGroupInfo_lastSuccessfulDeployment :: Lens' DeploymentGroupInfo (Maybe LastDeploymentInfo) Source #

Information about the most recent successful deployment to the deployment group.

deploymentGroupInfo_alarmConfiguration :: Lens' DeploymentGroupInfo (Maybe AlarmConfiguration) Source #

A list of alarms associated with the deployment group.

deploymentGroupInfo_triggerConfigurations :: Lens' DeploymentGroupInfo (Maybe [TriggerConfig]) Source #

Information about triggers associated with the deployment group.

deploymentGroupInfo_deploymentStyle :: Lens' DeploymentGroupInfo (Maybe DeploymentStyle) Source #

Information about the type of deployment, either in-place or blue/green, you want to run and whether to route deployment traffic behind a load balancer.

deploymentGroupInfo_autoRollbackConfiguration :: Lens' DeploymentGroupInfo (Maybe AutoRollbackConfiguration) Source #

Information about the automatic rollback configuration associated with the deployment group.