| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::EKS::VpcConfigRequest; | ||
| 3 | use Moose; | ||
| 4 | has EndpointPrivateAccess => (is => 'ro', isa => 'Bool', request_name => 'endpointPrivateAccess', traits => ['NameInRequest']); | ||
| 5 | has EndpointPublicAccess => (is => 'ro', isa => 'Bool', request_name => 'endpointPublicAccess', traits => ['NameInRequest']); | ||
| 6 | has PublicAccessCidrs => (is => 'ro', isa => 'ArrayRef[Str|Undef]', request_name => 'publicAccessCidrs', traits => ['NameInRequest']); | ||
| 7 | has SecurityGroupIds => (is => 'ro', isa => 'ArrayRef[Str|Undef]', request_name => 'securityGroupIds', traits => ['NameInRequest']); | ||
| 8 | has SubnetIds => (is => 'ro', isa => 'ArrayRef[Str|Undef]', request_name => 'subnetIds', traits => ['NameInRequest']); | ||
| 9 | |||
| 10 | 1; | ||
| 11 | |||
| 12 | ### main pod documentation begin ### | ||
| 13 | |||
| 14 | =head1 NAME | ||
| 15 | |||
| 16 | Paws::EKS::VpcConfigRequest | ||
| 17 | |||
| 18 | =head1 USAGE | ||
| 19 | |||
| 20 | This class represents one of two things: | ||
| 21 | |||
| 22 | =head3 Arguments in a call to a service | ||
| 23 | |||
| 24 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 25 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 26 | |||
| 27 | As an example, if Att1 is expected to be a Paws::EKS::VpcConfigRequest object: | ||
| 28 | |||
| 29 | $service_obj->Method(Att1 => { EndpointPrivateAccess => $value, ..., SubnetIds => $value }); | ||
| 30 | |||
| 31 | =head3 Results returned from an API call | ||
| 32 | |||
| 33 | Use accessors for each attribute. If Att1 is expected to be an Paws::EKS::VpcConfigRequest object: | ||
| 34 | |||
| 35 | $result = $service_obj->Method(...); | ||
| 36 | $result->Att1->EndpointPrivateAccess | ||
| 37 | |||
| 38 | =head1 DESCRIPTION | ||
| 39 | |||
| 40 | An object representing the VPC configuration to use for an Amazon EKS | ||
| 41 | cluster. | ||
| 42 | |||
| 43 | =head1 ATTRIBUTES | ||
| 44 | |||
| 45 | |||
| 46 | =head2 EndpointPrivateAccess => Bool | ||
| 47 | |||
| 48 | Set this value to C<true> to enable private access for your cluster's | ||
| 49 | Kubernetes API server endpoint. If you enable private access, | ||
| 50 | Kubernetes API requests from within your cluster's VPC use the private | ||
| 51 | VPC endpoint. The default value for this parameter is C<false>, which | ||
| 52 | disables private access for your Kubernetes API server. If you disable | ||
| 53 | private access and you have nodes or AWS Fargate pods in the cluster, | ||
| 54 | then ensure that C<publicAccessCidrs> includes the necessary CIDR | ||
| 55 | blocks for communication with the nodes or Fargate pods. For more | ||
| 56 | information, see Amazon EKS Cluster Endpoint Access Control | ||
| 57 | (https://docs.aws.amazon.com/eks/latest/userguide/cluster-endpoint.html) | ||
| 58 | in the I< I<Amazon EKS User Guide> >. | ||
| 59 | |||
| 60 | |||
| 61 | =head2 EndpointPublicAccess => Bool | ||
| 62 | |||
| 63 | Set this value to C<false> to disable public access to your cluster's | ||
| 64 | Kubernetes API server endpoint. If you disable public access, your | ||
| 65 | cluster's Kubernetes API server can only receive requests from within | ||
| 66 | the cluster VPC. The default value for this parameter is C<true>, which | ||
| 67 | enables public access for your Kubernetes API server. For more | ||
| 68 | information, see Amazon EKS Cluster Endpoint Access Control | ||
| 69 | (https://docs.aws.amazon.com/eks/latest/userguide/cluster-endpoint.html) | ||
| 70 | in the I< I<Amazon EKS User Guide> >. | ||
| 71 | |||
| 72 | |||
| 73 | =head2 PublicAccessCidrs => ArrayRef[Str|Undef] | ||
| 74 | |||
| 75 | The CIDR blocks that are allowed access to your cluster's public | ||
| 76 | Kubernetes API server endpoint. Communication to the endpoint from | ||
| 77 | addresses outside of the CIDR blocks that you specify is denied. The | ||
| 78 | default value is C<0.0.0.0/0>. If you've disabled private endpoint | ||
| 79 | access and you have nodes or AWS Fargate pods in the cluster, then | ||
| 80 | ensure that you specify the necessary CIDR blocks. For more | ||
| 81 | information, see Amazon EKS Cluster Endpoint Access Control | ||
| 82 | (https://docs.aws.amazon.com/eks/latest/userguide/cluster-endpoint.html) | ||
| 83 | in the I< I<Amazon EKS User Guide> >. | ||
| 84 | |||
| 85 | |||
| 86 | =head2 SecurityGroupIds => ArrayRef[Str|Undef] | ||
| 87 | |||
| 88 | Specify one or more security groups for the cross-account elastic | ||
| 89 | network interfaces that Amazon EKS creates to use to allow | ||
| 90 | communication between your nodes and the Kubernetes control plane. If | ||
| 91 | you don't specify any security groups, then familiarize yourself with | ||
| 92 | the difference between Amazon EKS defaults for clusters deployed with | ||
| 93 | Kubernetes: | ||
| 94 | |||
| 95 | =over | ||
| 96 | |||
| 97 | =item * | ||
| 98 | |||
| 99 | 1.14 Amazon EKS platform version C<eks.2> and earlier | ||
| 100 | |||
| 101 | =item * | ||
| 102 | |||
| 103 | 1.14 Amazon EKS platform version C<eks.3> and later | ||
| 104 | |||
| 105 | =back | ||
| 106 | |||
| 107 | For more information, see Amazon EKS security group considerations | ||
| 108 | (https://docs.aws.amazon.com/eks/latest/userguide/sec-group-reqs.html) | ||
| 109 | in the I< I<Amazon EKS User Guide> >. | ||
| 110 | |||
| 111 | |||
| 112 | =head2 SubnetIds => ArrayRef[Str|Undef] | ||
| 113 | |||
| 114 | Specify subnets for your Amazon EKS nodes. Amazon EKS creates | ||
| 115 | cross-account elastic network interfaces in these subnets to allow | ||
| 116 | communication between your nodes and the Kubernetes control plane. | ||
| 117 | |||
| 118 | |||
| 119 | |||
| 120 | =head1 SEE ALSO | ||
| 121 | |||
| 122 | This class forms part of L<Paws>, describing an object used in L<Paws::EKS> | ||
| 123 | |||
| 124 | =head1 BUGS and CONTRIBUTIONS | ||
| 125 | |||
| 126 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 127 | |||
| 128 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 129 | |||
| 130 | =cut | ||
| 131 |