Paws::EKS::CreateFargateProfile - Arguments for method CreateFargateProfile on Paws::EKS
This class represents the parameters used for calling the method CreateFargateProfile on the Amazon Elastic Kubernetes Service service. Use the attributes of this class as arguments to method CreateFargateProfile.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateFargateProfile.
my $eks = Paws->service('EKS'); my $CreateFargateProfileResponse = $eks->CreateFargateProfile( ClusterName => 'MyString', FargateProfileName => 'MyString', PodExecutionRoleArn => 'MyString', ClientRequestToken => 'MyString', # OPTIONAL Selectors => [ { Labels => { 'MyString' => 'MyString', }, # OPTIONAL Namespace => 'MyString', }, ... ], # OPTIONAL Subnets => [ 'MyString', ... ], # OPTIONAL Tags => { 'MyTagKey' => 'MyTagValue', # key: min: 1, max: 128, value: max: 256 }, # OPTIONAL ); # Results: my $FargateProfile = $CreateFargateProfileResponse->FargateProfile; # Returns a L<Paws::EKS::CreateFargateProfileResponse> object.
Values 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. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/eks/CreateFargateProfile
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
The name of the Amazon EKS cluster to apply the Fargate profile to.
The name of the Fargate profile.
The Amazon Resource Name (ARN) of the pod execution role to use for pods that match the selectors in the Fargate profile. The pod execution role allows Fargate infrastructure to register with your cluster as a node, and it provides read access to Amazon ECR image repositories. For more information, see Pod Execution Role (https://docs.aws.amazon.com/eks/latest/userguide/pod-execution-role.html) in the Amazon EKS User Guide.
The selectors to match for pods to use this Fargate profile. Each selector must have an associated namespace. Optionally, you can also specify labels for a namespace. You may specify up to five selectors in a Fargate profile.
The IDs of subnets to launch your pods into. At this time, pods running on Fargate are not assigned public IP addresses, so only private subnets (with no direct route to an Internet Gateway) are accepted for this parameter.
The metadata to apply to the Fargate profile to assist with categorization and organization. Each tag consists of a key and an optional value, both of which you define. Fargate profile tags do not propagate to any other resources associated with the Fargate profile, such as the pods that are scheduled with it.
This class forms part of Paws, documenting arguments for method CreateFargateProfile in Paws::EKS
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
To install Paws, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Paws
CPAN shell
perl -MCPAN -e shell install Paws
For more information on module installation, please visit the detailed CPAN module installation guide.