Adds or removes the specified license configurations for the specified AWS resource.
licensemanager_update_license_specifications_for_resource(ResourceArn,
AddLicenseSpecifications, RemoveLicenseSpecifications)
[required] Amazon Resource Name (ARN) of the AWS resource.
ARNs of the license configurations to add.
ARNs of the license configurations to remove.
svc$update_license_specifications_for_resource( ResourceArn = "string", AddLicenseSpecifications = list( list( LicenseConfigurationArn = "string" ) ), RemoveLicenseSpecifications = list( list( LicenseConfigurationArn = "string" ) ) )
You can update the license specifications of AMIs, instances, and hosts. You cannot update the license specifications for launch templates and AWS CloudFormation templates, as they send license configurations to the operation that creates the resource.