File Coverage

blib/lib/Paws/CodeDeploy/CreateDeploymentGroup.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1              
2             package Paws::CodeDeploy::CreateDeploymentGroup;
3 1     1   299 use Moose;
  1         3  
  1         5  
4             has AlarmConfiguration => (is => 'ro', isa => 'Paws::CodeDeploy::AlarmConfiguration', traits => ['NameInRequest'], request_name => 'alarmConfiguration' );
5             has ApplicationName => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'applicationName' , required => 1);
6             has AutoRollbackConfiguration => (is => 'ro', isa => 'Paws::CodeDeploy::AutoRollbackConfiguration', traits => ['NameInRequest'], request_name => 'autoRollbackConfiguration' );
7             has AutoScalingGroups => (is => 'ro', isa => 'ArrayRef[Str|Undef]', traits => ['NameInRequest'], request_name => 'autoScalingGroups' );
8             has BlueGreenDeploymentConfiguration => (is => 'ro', isa => 'Paws::CodeDeploy::BlueGreenDeploymentConfiguration', traits => ['NameInRequest'], request_name => 'blueGreenDeploymentConfiguration' );
9             has DeploymentConfigName => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'deploymentConfigName' );
10             has DeploymentGroupName => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'deploymentGroupName' , required => 1);
11             has DeploymentStyle => (is => 'ro', isa => 'Paws::CodeDeploy::DeploymentStyle', traits => ['NameInRequest'], request_name => 'deploymentStyle' );
12             has Ec2TagFilters => (is => 'ro', isa => 'ArrayRef[Paws::CodeDeploy::EC2TagFilter]', traits => ['NameInRequest'], request_name => 'ec2TagFilters' );
13             has Ec2TagSet => (is => 'ro', isa => 'Paws::CodeDeploy::EC2TagSet', traits => ['NameInRequest'], request_name => 'ec2TagSet' );
14             has LoadBalancerInfo => (is => 'ro', isa => 'Paws::CodeDeploy::LoadBalancerInfo', traits => ['NameInRequest'], request_name => 'loadBalancerInfo' );
15             has OnPremisesInstanceTagFilters => (is => 'ro', isa => 'ArrayRef[Paws::CodeDeploy::TagFilter]', traits => ['NameInRequest'], request_name => 'onPremisesInstanceTagFilters' );
16             has OnPremisesTagSet => (is => 'ro', isa => 'Paws::CodeDeploy::OnPremisesTagSet', traits => ['NameInRequest'], request_name => 'onPremisesTagSet' );
17             has ServiceRoleArn => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'serviceRoleArn' , required => 1);
18             has TriggerConfigurations => (is => 'ro', isa => 'ArrayRef[Paws::CodeDeploy::TriggerConfig]', traits => ['NameInRequest'], request_name => 'triggerConfigurations' );
19              
20 1     1   5398 use MooseX::ClassAttribute;
  1         2  
  1         7  
21              
22             class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateDeploymentGroup');
23             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::CodeDeploy::CreateDeploymentGroupOutput');
24             class_has _result_key => (isa => 'Str', is => 'ro');
25             1;
26              
27             ### main pod documentation begin ###
28              
29             =head1 NAME
30              
31             Paws::CodeDeploy::CreateDeploymentGroup - Arguments for method CreateDeploymentGroup on Paws::CodeDeploy
32              
33             =head1 DESCRIPTION
34              
35             This class represents the parameters used for calling the method CreateDeploymentGroup on the
36             AWS CodeDeploy service. Use the attributes of this class
37             as arguments to method CreateDeploymentGroup.
38              
39             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateDeploymentGroup.
40              
41             As an example:
42              
43             $service_obj->CreateDeploymentGroup(Att1 => $value1, Att2 => $value2, ...);
44              
45             Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object.
46              
47             =head1 ATTRIBUTES
48              
49              
50             =head2 AlarmConfiguration => L<Paws::CodeDeploy::AlarmConfiguration>
51              
52             Information to add about Amazon CloudWatch alarms when the deployment
53             group is created.
54              
55              
56              
57             =head2 B<REQUIRED> ApplicationName => Str
58              
59             The name of an AWS CodeDeploy application associated with the
60             applicable IAM user or AWS account.
61              
62              
63              
64             =head2 AutoRollbackConfiguration => L<Paws::CodeDeploy::AutoRollbackConfiguration>
65              
66             Configuration information for an automatic rollback that is added when
67             a deployment group is created.
68              
69              
70              
71             =head2 AutoScalingGroups => ArrayRef[Str|Undef]
72              
73             A list of associated Auto Scaling groups.
74              
75              
76              
77             =head2 BlueGreenDeploymentConfiguration => L<Paws::CodeDeploy::BlueGreenDeploymentConfiguration>
78              
79             Information about blue/green deployment options for a deployment group.
80              
81              
82              
83             =head2 DeploymentConfigName => Str
84              
85             If specified, the deployment configuration name can be either one of
86             the predefined configurations provided with AWS CodeDeploy or a custom
87             deployment configuration that you create by calling the create
88             deployment configuration operation.
89              
90             CodeDeployDefault.OneAtATime is the default deployment configuration.
91             It is used if a configuration isn't specified for the deployment or the
92             deployment group.
93              
94             For more information about the predefined deployment configurations in
95             AWS CodeDeploy, see Working with Deployment Groups in AWS CodeDeploy in
96             the AWS CodeDeploy User Guide.
97              
98              
99              
100             =head2 B<REQUIRED> DeploymentGroupName => Str
101              
102             The name of a new deployment group for the specified application.
103              
104              
105              
106             =head2 DeploymentStyle => L<Paws::CodeDeploy::DeploymentStyle>
107              
108             Information about the type of deployment, in-place or blue/green, that
109             you want to run and whether to route deployment traffic behind a load
110             balancer.
111              
112              
113              
114             =head2 Ec2TagFilters => ArrayRef[L<Paws::CodeDeploy::EC2TagFilter>]
115              
116             The Amazon EC2 tags on which to filter. The deployment group will
117             include EC2 instances with any of the specified tags. Cannot be used in
118             the same call as ec2TagSet.
119              
120              
121              
122             =head2 Ec2TagSet => L<Paws::CodeDeploy::EC2TagSet>
123              
124             Information about groups of tags applied to EC2 instances. The
125             deployment group will include only EC2 instances identified by all the
126             tag groups. Cannot be used in the same call as ec2TagFilters.
127              
128              
129              
130             =head2 LoadBalancerInfo => L<Paws::CodeDeploy::LoadBalancerInfo>
131              
132             Information about the load balancer used in a deployment.
133              
134              
135              
136             =head2 OnPremisesInstanceTagFilters => ArrayRef[L<Paws::CodeDeploy::TagFilter>]
137              
138             The on-premises instance tags on which to filter. The deployment group
139             will include on-premises instances with any of the specified tags.
140             Cannot be used in the same call as OnPremisesTagSet.
141              
142              
143              
144             =head2 OnPremisesTagSet => L<Paws::CodeDeploy::OnPremisesTagSet>
145              
146             Information about groups of tags applied to on-premises instances. The
147             deployment group will include only on-premises instances identified by
148             all the tag groups. Cannot be used in the same call as
149             onPremisesInstanceTagFilters.
150              
151              
152              
153             =head2 B<REQUIRED> ServiceRoleArn => Str
154              
155             A service role ARN that allows AWS CodeDeploy to act on the user's
156             behalf when interacting with AWS services.
157              
158              
159              
160             =head2 TriggerConfigurations => ArrayRef[L<Paws::CodeDeploy::TriggerConfig>]
161              
162             Information about triggers to create when the deployment group is
163             created. For examples, see Create a Trigger for an AWS CodeDeploy Event
164             in the AWS CodeDeploy User Guide.
165              
166              
167              
168              
169             =head1 SEE ALSO
170              
171             This class forms part of L<Paws>, documenting arguments for method CreateDeploymentGroup in L<Paws::CodeDeploy>
172              
173             =head1 BUGS and CONTRIBUTIONS
174              
175             The source code is located here: https://github.com/pplu/aws-sdk-perl
176              
177             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
178              
179             =cut
180