| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::EKS::KubernetesNetworkConfigRequest; | ||
| 3 | use Moose; | ||
| 4 | has ServiceIpv4Cidr => (is => 'ro', isa => 'Str', request_name => 'serviceIpv4Cidr', traits => ['NameInRequest']); | ||
| 5 | |||
| 6 | 1; | ||
| 7 | |||
| 8 | ### main pod documentation begin ### | ||
| 9 | |||
| 10 | =head1 NAME | ||
| 11 | |||
| 12 | Paws::EKS::KubernetesNetworkConfigRequest | ||
| 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::EKS::KubernetesNetworkConfigRequest object: | ||
| 24 | |||
| 25 | $service_obj->Method(Att1 => { ServiceIpv4Cidr => $value, ..., ServiceIpv4Cidr => $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::EKS::KubernetesNetworkConfigRequest object: | ||
| 30 | |||
| 31 | $result = $service_obj->Method(...); | ||
| 32 | $result->Att1->ServiceIpv4Cidr | ||
| 33 | |||
| 34 | =head1 DESCRIPTION | ||
| 35 | |||
| 36 | The Kubernetes network configuration for the cluster. | ||
| 37 | |||
| 38 | =head1 ATTRIBUTES | ||
| 39 | |||
| 40 | |||
| 41 | =head2 ServiceIpv4Cidr => Str | ||
| 42 | |||
| 43 | The CIDR block to assign Kubernetes service IP addresses from. If you | ||
| 44 | don't specify a block, Kubernetes assigns addresses from either the | ||
| 45 | 10.100.0.0/16 or 172.20.0.0/16 CIDR blocks. We recommend that you | ||
| 46 | specify a block that does not overlap with resources in other networks | ||
| 47 | that are peered or connected to your VPC. The block must meet the | ||
| 48 | following requirements: | ||
| 49 | |||
| 50 | =over | ||
| 51 | |||
| 52 | =item * | ||
| 53 | |||
| 54 | Within one of the following private IP address blocks: 10.0.0.0/8, | ||
| 55 | 172.16.0.0.0/12, or 192.168.0.0/16. | ||
| 56 | |||
| 57 | =item * | ||
| 58 | |||
| 59 | Doesn't overlap with any CIDR block assigned to the VPC that you | ||
| 60 | selected for VPC. | ||
| 61 | |||
| 62 | =item * | ||
| 63 | |||
| 64 | Between /24 and /12. | ||
| 65 | |||
| 66 | =back | ||
| 67 | |||
| 68 | You can only specify a custom CIDR block when you create a cluster and | ||
| 69 | can't change this value once the cluster is created. | ||
| 70 | |||
| 71 | |||
| 72 | |||
| 73 | =head1 SEE ALSO | ||
| 74 | |||
| 75 | This class forms part of L<Paws>, describing an object used in L<Paws::EKS> | ||
| 76 | |||
| 77 | =head1 BUGS and CONTRIBUTIONS | ||
| 78 | |||
| 79 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 80 | |||
| 81 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 82 | |||
| 83 | =cut | ||
| 84 |