/AWS1/CL_EC2=>GETLAUNCHTEMPLATEDATA()
¶
About GetLaunchTemplateData¶
Retrieves the configuration data of the specified instance. You can use this data to create a launch template.
This action calls on other describe actions to get instance information. Depending on
your instance configuration, you may need to allow the following actions in your IAM
policy: DescribeSpotInstanceRequests
, DescribeInstanceCreditSpecifications
,
DescribeVolumes
, and DescribeInstanceAttribute
. Or,
you can allow describe*
depending on your instance requirements.
Method Signature¶
IMPORTING¶
Required arguments:¶
IV_INSTANCEID
TYPE /AWS1/EC2INSTANCEID
/AWS1/EC2INSTANCEID
¶
The ID of the instance.
Optional arguments:¶
IV_DRYRUN
TYPE /AWS1/EC2BOOLEAN
/AWS1/EC2BOOLEAN
¶
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is
DryRunOperation
. Otherwise, it isUnauthorizedOperation
.