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