Learn R Programming

paws.management (version 0.1.8)

licensemanager_update_license_specifications_for_resource: Adds or removes the specified license configurations for the specified AWS resource

Description

Adds or removes the specified license configurations for the specified AWS resource.

Usage

licensemanager_update_license_specifications_for_resource(ResourceArn,
  AddLicenseSpecifications, RemoveLicenseSpecifications)

Arguments

ResourceArn

[required] Amazon Resource Name (ARN) of the AWS resource.

AddLicenseSpecifications

ARNs of the license configurations to add.

RemoveLicenseSpecifications

ARNs of the license configurations to remove.

Request syntax

svc$update_license_specifications_for_resource(
  ResourceArn = "string",
  AddLicenseSpecifications = list(
    list(
      LicenseConfigurationArn = "string"
    )
  ),
  RemoveLicenseSpecifications = list(
    list(
      LicenseConfigurationArn = "string"
    )
  )
)

Details

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.