| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::EKS::LaunchTemplateSpecification; | ||
| 3 | use Moose; | ||
| 4 | has Id => (is => 'ro', isa => 'Str', request_name => 'id', traits => ['NameInRequest']); | ||
| 5 | has Name => (is => 'ro', isa => 'Str', request_name => 'name', traits => ['NameInRequest']); | ||
| 6 | has Version => (is => 'ro', isa => 'Str', request_name => 'version', traits => ['NameInRequest']); | ||
| 7 | |||
| 8 | 1; | ||
| 9 | |||
| 10 | ### main pod documentation begin ### | ||
| 11 | |||
| 12 | =head1 NAME | ||
| 13 | |||
| 14 | Paws::EKS::LaunchTemplateSpecification | ||
| 15 | |||
| 16 | =head1 USAGE | ||
| 17 | |||
| 18 | This class represents one of two things: | ||
| 19 | |||
| 20 | =head3 Arguments in a call to a service | ||
| 21 | |||
| 22 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 23 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 24 | |||
| 25 | As an example, if Att1 is expected to be a Paws::EKS::LaunchTemplateSpecification object: | ||
| 26 | |||
| 27 | $service_obj->Method(Att1 => { Id => $value, ..., Version => $value }); | ||
| 28 | |||
| 29 | =head3 Results returned from an API call | ||
| 30 | |||
| 31 | Use accessors for each attribute. If Att1 is expected to be an Paws::EKS::LaunchTemplateSpecification object: | ||
| 32 | |||
| 33 | $result = $service_obj->Method(...); | ||
| 34 | $result->Att1->Id | ||
| 35 | |||
| 36 | =head1 DESCRIPTION | ||
| 37 | |||
| 38 | An object representing a node group launch template specification. The | ||
| 39 | launch template cannot include C<SubnetId> | ||
| 40 | (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateNetworkInterface.html), | ||
| 41 | C<IamInstanceProfile> | ||
| 42 | (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_IamInstanceProfile.html), | ||
| 43 | C<RequestSpotInstances> | ||
| 44 | (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RequestSpotInstances.html), | ||
| 45 | C<HibernationOptions> | ||
| 46 | (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_HibernationOptionsRequest.html), | ||
| 47 | or C<TerminateInstances> | ||
| 48 | (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_TerminateInstances.html), | ||
| 49 | or the node group deployment or update will fail. For more information | ||
| 50 | about launch templates, see C<CreateLaunchTemplate> | ||
| 51 | (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateLaunchTemplate.html) | ||
| 52 | in the Amazon EC2 API Reference. For more information about using | ||
| 53 | launch templates with Amazon EKS, see Launch template support | ||
| 54 | (https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html) | ||
| 55 | in the Amazon EKS User Guide. | ||
| 56 | |||
| 57 | Specify either C<name> or C<id>, but not both. | ||
| 58 | |||
| 59 | =head1 ATTRIBUTES | ||
| 60 | |||
| 61 | |||
| 62 | =head2 Id => Str | ||
| 63 | |||
| 64 | The ID of the launch template. | ||
| 65 | |||
| 66 | |||
| 67 | =head2 Name => Str | ||
| 68 | |||
| 69 | The name of the launch template. | ||
| 70 | |||
| 71 | |||
| 72 | =head2 Version => Str | ||
| 73 | |||
| 74 | The version of the launch template to use. If no version is specified, | ||
| 75 | then the template's default version is used. | ||
| 76 | |||
| 77 | |||
| 78 | |||
| 79 | =head1 SEE ALSO | ||
| 80 | |||
| 81 | This class forms part of L<Paws>, describing an object used in L<Paws::EKS> | ||
| 82 | |||
| 83 | =head1 BUGS and CONTRIBUTIONS | ||
| 84 | |||
| 85 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 86 | |||
| 87 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 88 | |||
| 89 | =cut | ||
| 90 |