NAME
Paws::Batch::LaunchTemplateSpecification
USAGE
This class represents one of two things:
Arguments in a call to a service
Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.
As an example, if Att1 is expected to be a Paws::Batch::LaunchTemplateSpecification object:
$service_obj->Method(Att1 => { LaunchTemplateId => $value, ..., Version => $value });
Results returned from an API call
Use accessors for each attribute. If Att1 is expected to be an Paws::Batch::LaunchTemplateSpecification object:
$result = $service_obj->Method(...);
$result->Att1->LaunchTemplateId
DESCRIPTION
An object representing a launch template associated with a compute resource. You must specify either the launch template ID or launch template name in the request, but not both.
If security groups are specified using both the securityGroupIds
parameter of CreateComputeEnvironment
and the launch template, the values in the securityGroupIds
parameter of CreateComputeEnvironment
will be used.
This object isn't applicable to jobs running on Fargate resources.
ATTRIBUTES
LaunchTemplateId => Str
The ID of the launch template.
LaunchTemplateName => Str
The name of the launch template.
Version => Str
The version number of the launch template, $Latest
, or $Default
.
If the value is $Latest
, the latest version of the launch template is used. If the value is $Default
, the default version of the launch template is used.
After the compute environment is created, the launch template version used will not be changed, even if the $Default
or $Latest
version for the launch template is updated. To use a new launch template version, create a new compute environment, add the new compute environment to the existing job queue, remove the old compute environment from the job queue, and delete the old compute environment.
Default: $Default
.
SEE ALSO
This class forms part of Paws, describing an object used in Paws::Batch
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