1
2package Paws::ECS::RegisterTaskDefinition {
3  use Moose;
4  has containerDefinitions => (is => 'ro', isa => 'ArrayRef[Paws::ECS::ContainerDefinition]', required => 1);
5  has family => (is => 'ro', isa => 'Str', required => 1);
6  has volumes => (is => 'ro', isa => 'ArrayRef[Paws::ECS::Volume]');
7
8  use MooseX::ClassAttribute;
9
10  class_has _api_call => (isa => 'Str', is => 'ro', default => 'RegisterTaskDefinition');
11  class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::ECS::RegisterTaskDefinitionResponse');
12  class_has _result_key => (isa => 'Str', is => 'ro');
13}
141;
15
16### main pod documentation begin ###
17
18=head1 NAME
19
20Paws::ECS::RegisterTaskDefinition - Arguments for method RegisterTaskDefinition on Paws::ECS
21
22=head1 DESCRIPTION
23
24This class represents the parameters used for calling the method RegisterTaskDefinition on the
25Amazon EC2 Container Service service. Use the attributes of this class
26as arguments to method RegisterTaskDefinition.
27
28You shouln't make instances of this class. Each attribute should be used as a named argument in the call to RegisterTaskDefinition.
29
30As an example:
31
32  $service_obj->RegisterTaskDefinition(Att1 => $value1, Att2 => $value2, ...);
33
34Values 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.
35
36=head1 ATTRIBUTES
37
38=head2 B<REQUIRED> containerDefinitions => ArrayRef[Paws::ECS::ContainerDefinition]
39
40
41
42A list of container definitions in JSON format that describe the
43different containers that make up your task.
44
45
46
47
48
49
50
51
52
53
54=head2 B<REQUIRED> family => Str
55
56
57
58You must specify a C<family> for a task definition, which allows you to
59track multiple versions of the same task definition. You can think of
60the C<family> as a name for your task definition. Up to 255 letters
61(uppercase and lowercase), numbers, hyphens, and underscores are
62allowed.
63
64
65
66
67
68
69
70
71
72
73=head2 volumes => ArrayRef[Paws::ECS::Volume]
74
75
76
77A list of volume definitions in JSON format that containers in your
78task may use.
79
80
81
82
83
84
85
86
87
88
89
90
91=head1 SEE ALSO
92
93This class forms part of L<Paws>, documenting arguments for method RegisterTaskDefinition in L<Paws::ECS>
94
95=head1 BUGS and CONTRIBUTIONS
96
97The source code is located here: https://github.com/pplu/aws-sdk-perl
98
99Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
100
101=cut
102
103