CCfnX/MakeAMIArgs.pm

filter: Statementstmt 100% 12 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 1 / 1 Podpod n/a totaltotal 100% 13 / 13 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
CRAP 1.0
« CCfnX/InstanceArgs.pm ↑ Summary
1 1 package CCfnX::MakeAMIArgs {
2 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 1 extends 'CCfnX::InstanceArgs';
4 1 has template => (is => 'ro', isa => 'ArrayRef[Str]', required => 1);
5 1 has ami => (is => 'ro', isa => 'Str', required => 1, documentation => 'AMI to base the image upon. Takes it as the base AMI, and applies templates to it');
6 1 has os_family => (is => 'ro', isa => 'Str', default => 'linux');
7 1 has devel => (is => 'ro', isa => 'Bool', default => 0, documentation => 'Leaves the instance turned on after executing all templates for debugging pourposes');
8 1 has onlysnapshot => (is => 'ro', isa => 'Bool', default => 0, documentation => 'If the stack has been created with --devel, you can continue the process of converting the instance to AMI with this option');
9 1 has amitag => (is => 'ro', isa => 'Str', documentation => 'Optional: when registering this AMI, we\'ll use this tag to identify it. It should be unique for the region of deployment and the name of the AMI');
10 }
11  
12 1 1;
« CCfnX/InstanceArgs.pm ↑ Summary