« blib/lib/Paws/CodeDeploy/DeploymentOverview.pm
↑ Summary
blib/lib/Paws/CodeDeploy/DeploymentStyle.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::CodeDeploy::DeploymentReadyOption; | ||
| 3 | use Moose; | ||
| 4 | has ActionOnTimeout => (is => 'ro', isa => 'Str', request_name => 'actionOnTimeout', traits => ['NameInRequest']); | ||
| 5 | has WaitTimeInMinutes => (is => 'ro', isa => 'Int', request_name => 'waitTimeInMinutes', traits => ['NameInRequest']); | ||
| 6 | |||
| 7 | 1; | ||
| 8 | |||
| 9 | ### main pod documentation begin ### | ||
| 10 | |||
| 11 | =head1 NAME | ||
| 12 | |||
| 13 | Paws::CodeDeploy::DeploymentReadyOption | ||
| 14 | |||
| 15 | =head1 USAGE | ||
| 16 | |||
| 17 | This class represents one of two things: | ||
| 18 | |||
| 19 | =head3 Arguments in a call to a service | ||
| 20 | |||
| 21 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 22 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 23 | |||
| 24 | As an example, if Att1 is expected to be a Paws::CodeDeploy::DeploymentReadyOption object: | ||
| 25 | |||
| 26 | $service_obj->Method(Att1 => { ActionOnTimeout => $value, ..., WaitTimeInMinutes => $value }); | ||
| 27 | |||
| 28 | =head3 Results returned from an API call | ||
| 29 | |||
| 30 | Use accessors for each attribute. If Att1 is expected to be an Paws::CodeDeploy::DeploymentReadyOption object: | ||
| 31 | |||
| 32 | $result = $service_obj->Method(...); | ||
| 33 | $result->Att1->ActionOnTimeout | ||
| 34 | |||
| 35 | =head1 DESCRIPTION | ||
| 36 | |||
| 37 | Information about how traffic is rerouted to instances in a replacement | ||
| 38 | environment in a blue/green deployment. | ||
| 39 | |||
| 40 | =head1 ATTRIBUTES | ||
| 41 | |||
| 42 | |||
| 43 | =head2 ActionOnTimeout => Str | ||
| 44 | |||
| 45 | Information about when to reroute traffic from an original environment | ||
| 46 | to a replacement environment in a blue/green deployment. | ||
| 47 | |||
| 48 | =over | ||
| 49 | |||
| 50 | =item * | ||
| 51 | |||
| 52 | CONTINUE_DEPLOYMENT: Register new instances with the load balancer | ||
| 53 | immediately after the new application revision is installed on the | ||
| 54 | instances in the replacement environment. | ||
| 55 | |||
| 56 | =item * | ||
| 57 | |||
| 58 | STOP_DEPLOYMENT: Do not register new instances with a load balancer | ||
| 59 | unless traffic rerouting is started using ContinueDeployment. If | ||
| 60 | traffic rerouting is not started before the end of the specified wait | ||
| 61 | period, the deployment status is changed to Stopped. | ||
| 62 | |||
| 63 | =back | ||
| 64 | |||
| 65 | |||
| 66 | |||
| 67 | =head2 WaitTimeInMinutes => Int | ||
| 68 | |||
| 69 | The number of minutes to wait before the status of a blue/green | ||
| 70 | deployment is changed to Stopped if rerouting is not started manually. | ||
| 71 | Applies only to the C<STOP_DEPLOYMENT> option for C<actionOnTimeout>. | ||
| 72 | |||
| 73 | |||
| 74 | |||
| 75 | =head1 SEE ALSO | ||
| 76 | |||
| 77 | This class forms part of L<Paws>, describing an object used in L<Paws::CodeDeploy> | ||
| 78 | |||
| 79 | =head1 BUGS and CONTRIBUTIONS | ||
| 80 | |||
| 81 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 82 | |||
| 83 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 84 | |||
| 85 | =cut | ||
| 86 |