| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::ECS::KernelCapabilities; | ||
| 3 | use Moose; | ||
| 4 | has Add => (is => 'ro', isa => 'ArrayRef[Str|Undef]', request_name => 'add', traits => ['NameInRequest']); | ||
| 5 | has Drop => (is => 'ro', isa => 'ArrayRef[Str|Undef]', request_name => 'drop', traits => ['NameInRequest']); | ||
| 6 | |||
| 7 | 1; | ||
| 8 | |||
| 9 | ### main pod documentation begin ### | ||
| 10 | |||
| 11 | =head1 NAME | ||
| 12 | |||
| 13 | Paws::ECS::KernelCapabilities | ||
| 14 | |||
| 15 | =head1 USAGE | ||
| 16 | |||
| 17 | This class represents one of two things: | ||
| 18 | |||
| 19 | =head3 Arguments in a call to a service | ||
| 20 | |||
| 21 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 22 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 23 | |||
| 24 | As an example, if Att1 is expected to be a Paws::ECS::KernelCapabilities object: | ||
| 25 | |||
| 26 | $service_obj->Method(Att1 => { Add => $value, ..., Drop => $value }); | ||
| 27 | |||
| 28 | =head3 Results returned from an API call | ||
| 29 | |||
| 30 | Use accessors for each attribute. If Att1 is expected to be an Paws::ECS::KernelCapabilities object: | ||
| 31 | |||
| 32 | $result = $service_obj->Method(...); | ||
| 33 | $result->Att1->Add | ||
| 34 | |||
| 35 | =head1 DESCRIPTION | ||
| 36 | |||
| 37 | The Linux capabilities for the container that are added to or dropped | ||
| 38 | from the default configuration provided by Docker. For more information | ||
| 39 | on the default capabilities and the non-default available capabilities, | ||
| 40 | see Runtime privilege and Linux capabilities | ||
| 41 | (https://docs.docker.com/engine/reference/run/#runtime-privilege-and-linux-capabilities) | ||
| 42 | in the I<Docker run reference>. For more detailed information on these | ||
| 43 | Linux capabilities, see the capabilities(7) | ||
| 44 | (http://man7.org/linux/man-pages/man7/capabilities.7.html) Linux manual | ||
| 45 | page. | ||
| 46 | |||
| 47 | =head1 ATTRIBUTES | ||
| 48 | |||
| 49 | |||
| 50 | =head2 Add => ArrayRef[Str|Undef] | ||
| 51 | |||
| 52 | The Linux capabilities for the container that have been added to the | ||
| 53 | default configuration provided by Docker. This parameter maps to | ||
| 54 | C<CapAdd> in the Create a container | ||
| 55 | (https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate) | ||
| 56 | section of the Docker Remote API | ||
| 57 | (https://docs.docker.com/engine/api/v1.35/) and the C<--cap-add> option | ||
| 58 | to docker run | ||
| 59 | (https://docs.docker.com/engine/reference/run/#security-configuration). | ||
| 60 | |||
| 61 | Tasks launched on AWS Fargate only support adding the C<SYS_PTRACE> | ||
| 62 | kernel capability. | ||
| 63 | |||
| 64 | Valid values: C<"ALL" | "AUDIT_CONTROL" | "AUDIT_WRITE" | | ||
| 65 | "BLOCK_SUSPEND" | "CHOWN" | "DAC_OVERRIDE" | "DAC_READ_SEARCH" | | ||
| 66 | "FOWNER" | "FSETID" | "IPC_LOCK" | "IPC_OWNER" | "KILL" | "LEASE" | | ||
| 67 | "LINUX_IMMUTABLE" | "MAC_ADMIN" | "MAC_OVERRIDE" | "MKNOD" | | ||
| 68 | "NET_ADMIN" | "NET_BIND_SERVICE" | "NET_BROADCAST" | "NET_RAW" | | ||
| 69 | "SETFCAP" | "SETGID" | "SETPCAP" | "SETUID" | "SYS_ADMIN" | "SYS_BOOT" | ||
| 70 | | "SYS_CHROOT" | "SYS_MODULE" | "SYS_NICE" | "SYS_PACCT" | "SYS_PTRACE" | ||
| 71 | | "SYS_RAWIO" | "SYS_RESOURCE" | "SYS_TIME" | "SYS_TTY_CONFIG" | | ||
| 72 | "SYSLOG" | "WAKE_ALARM"> | ||
| 73 | |||
| 74 | |||
| 75 | =head2 Drop => ArrayRef[Str|Undef] | ||
| 76 | |||
| 77 | The Linux capabilities for the container that have been removed from | ||
| 78 | the default configuration provided by Docker. This parameter maps to | ||
| 79 | C<CapDrop> in the Create a container | ||
| 80 | (https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate) | ||
| 81 | section of the Docker Remote API | ||
| 82 | (https://docs.docker.com/engine/api/v1.35/) and the C<--cap-drop> | ||
| 83 | option to docker run | ||
| 84 | (https://docs.docker.com/engine/reference/run/#security-configuration). | ||
| 85 | |||
| 86 | Valid values: C<"ALL" | "AUDIT_CONTROL" | "AUDIT_WRITE" | | ||
| 87 | "BLOCK_SUSPEND" | "CHOWN" | "DAC_OVERRIDE" | "DAC_READ_SEARCH" | | ||
| 88 | "FOWNER" | "FSETID" | "IPC_LOCK" | "IPC_OWNER" | "KILL" | "LEASE" | | ||
| 89 | "LINUX_IMMUTABLE" | "MAC_ADMIN" | "MAC_OVERRIDE" | "MKNOD" | | ||
| 90 | "NET_ADMIN" | "NET_BIND_SERVICE" | "NET_BROADCAST" | "NET_RAW" | | ||
| 91 | "SETFCAP" | "SETGID" | "SETPCAP" | "SETUID" | "SYS_ADMIN" | "SYS_BOOT" | ||
| 92 | | "SYS_CHROOT" | "SYS_MODULE" | "SYS_NICE" | "SYS_PACCT" | "SYS_PTRACE" | ||
| 93 | | "SYS_RAWIO" | "SYS_RESOURCE" | "SYS_TIME" | "SYS_TTY_CONFIG" | | ||
| 94 | "SYSLOG" | "WAKE_ALARM"> | ||
| 95 | |||
| 96 | |||
| 97 | |||
| 98 | =head1 SEE ALSO | ||
| 99 | |||
| 100 | This class forms part of L<Paws>, describing an object used in L<Paws::ECS> | ||
| 101 | |||
| 102 | =head1 BUGS and CONTRIBUTIONS | ||
| 103 | |||
| 104 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 105 | |||
| 106 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 107 | |||
| 108 | =cut | ||
| 109 |