| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::Batch::NetworkConfiguration; | ||
| 3 | use Moose; | ||
| 4 | has AssignPublicIp => (is => 'ro', isa => 'Str', request_name => 'assignPublicIp', traits => ['NameInRequest']); | ||
| 5 | |||
| 6 | 1; | ||
| 7 | |||
| 8 | ### main pod documentation begin ### | ||
| 9 | |||
| 10 | =head1 NAME | ||
| 11 | |||
| 12 | Paws::Batch::NetworkConfiguration | ||
| 13 | |||
| 14 | =head1 USAGE | ||
| 15 | |||
| 16 | This class represents one of two things: | ||
| 17 | |||
| 18 | =head3 Arguments in a call to a service | ||
| 19 | |||
| 20 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 21 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 22 | |||
| 23 | As an example, if Att1 is expected to be a Paws::Batch::NetworkConfiguration object: | ||
| 24 | |||
| 25 | $service_obj->Method(Att1 => { AssignPublicIp => $value, ..., AssignPublicIp => $value }); | ||
| 26 | |||
| 27 | =head3 Results returned from an API call | ||
| 28 | |||
| 29 | Use accessors for each attribute. If Att1 is expected to be an Paws::Batch::NetworkConfiguration object: | ||
| 30 | |||
| 31 | $result = $service_obj->Method(...); | ||
| 32 | $result->Att1->AssignPublicIp | ||
| 33 | |||
| 34 | =head1 DESCRIPTION | ||
| 35 | |||
| 36 | The network configuration for jobs running on Fargate resources. Jobs | ||
| 37 | running on EC2 resources must not specify this parameter. | ||
| 38 | |||
| 39 | =head1 ATTRIBUTES | ||
| 40 | |||
| 41 | |||
| 42 | =head2 AssignPublicIp => Str | ||
| 43 | |||
| 44 | Indicates whether the job should have a public IP address. For a job | ||
| 45 | running on Fargate resources in a private subnet to send outbound | ||
| 46 | traffic to the internet (for example, in order to pull container | ||
| 47 | images), the private subnet requires a NAT gateway be attached to route | ||
| 48 | requests to the internet. For more information, see Amazon ECS task | ||
| 49 | networking | ||
| 50 | (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-networking.html). | ||
| 51 | The default value is "DISABLED". | ||
| 52 | |||
| 53 | |||
| 54 | |||
| 55 | =head1 SEE ALSO | ||
| 56 | |||
| 57 | This class forms part of L<Paws>, describing an object used in L<Paws::Batch> | ||
| 58 | |||
| 59 | =head1 BUGS and CONTRIBUTIONS | ||
| 60 | |||
| 61 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 62 | |||
| 63 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 64 | |||
| 65 | =cut | ||
| 66 |