« blib/lib/Paws/CloudFormation/RollbackConfiguration.pm
↑ Summary
blib/lib/Paws/CloudFormation/SetStackPolicy.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::CloudFormation::RollbackTrigger; | ||
| 3 | use Moose; | ||
| 4 | has Arn => (is => 'ro', isa => 'Str', required => 1); | ||
| 5 | has Type => (is => 'ro', isa => 'Str', required => 1); | ||
| 6 | |||
| 7 | 1; | ||
| 8 | |||
| 9 | ### main pod documentation begin ### | ||
| 10 | |||
| 11 | =head1 NAME | ||
| 12 | |||
| 13 | Paws::CloudFormation::RollbackTrigger | ||
| 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::CloudFormation::RollbackTrigger object: | ||
| 25 | |||
| 26 | $service_obj->Method(Att1 => { Arn => $value, ..., Type => $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::CloudFormation::RollbackTrigger object: | ||
| 31 | |||
| 32 | $result = $service_obj->Method(...); | ||
| 33 | $result->Att1->Arn | ||
| 34 | |||
| 35 | =head1 DESCRIPTION | ||
| 36 | |||
| 37 | A rollback trigger AWS CloudFormation monitors during creation and | ||
| 38 | updating of stacks. If any of the alarms you specify goes to ALARM | ||
| 39 | state during the stack operation or within the specified monitoring | ||
| 40 | period afterwards, CloudFormation rolls back the entire stack | ||
| 41 | operation. | ||
| 42 | |||
| 43 | =head1 ATTRIBUTES | ||
| 44 | |||
| 45 | |||
| 46 | =head2 B<REQUIRED> Arn => Str | ||
| 47 | |||
| 48 | The Amazon Resource Name (ARN) of the rollback trigger. | ||
| 49 | |||
| 50 | If a specified trigger is missing, the entire stack operation fails and | ||
| 51 | is rolled back. | ||
| 52 | |||
| 53 | |||
| 54 | =head2 B<REQUIRED> Type => Str | ||
| 55 | |||
| 56 | The resource type of the rollback trigger. Currently, | ||
| 57 | AWS::CloudWatch::Alarm | ||
| 58 | (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cw-alarm.html) | ||
| 59 | is the only supported resource type. | ||
| 60 | |||
| 61 | |||
| 62 | |||
| 63 | =head1 SEE ALSO | ||
| 64 | |||
| 65 | This class forms part of L<Paws>, describing an object used in L<Paws::CloudFormation> | ||
| 66 | |||
| 67 | =head1 BUGS and CONTRIBUTIONS | ||
| 68 | |||
| 69 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 70 | |||
| 71 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 72 | |||
| 73 | =cut | ||
| 74 |