The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Paws::EKS::CreateFargateProfile - Arguments for method CreateFargateProfile on Paws::EKS

DESCRIPTION

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.

SYNOPSIS

    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

ATTRIBUTES

ClientRequestToken => Str

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

REQUIRED ClusterName => Str

The name of the Amazon EKS cluster to apply the Fargate profile to.

REQUIRED FargateProfileName => Str

The name of the Fargate profile.

REQUIRED PodExecutionRoleArn => Str

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.

Selectors => ArrayRef[Paws::EKS::FargateProfileSelector]

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.

Subnets => ArrayRef[Str|Undef]

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.

Tags => Paws::EKS::TagMap

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.

SEE ALSO

This class forms part of Paws, documenting arguments for method CreateFargateProfile in Paws::EKS

BUGS and CONTRIBUTIONS

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