Skip to content

Update License Specifications For Resource

licensemanager_update_license_specifications_for_resource R Documentation

Adds or removes the specified license configurations for the specified Amazon Web Services resource

Description

Adds or removes the specified license configurations for the specified Amazon Web Services resource.

You can update the license specifications of AMIs, instances, and hosts. You cannot update the license specifications for launch templates and CloudFormation templates, as they send license configurations to the operation that creates the resource.

Usage

licensemanager_update_license_specifications_for_resource(ResourceArn,
  AddLicenseSpecifications, RemoveLicenseSpecifications)

Arguments

ResourceArn

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

AddLicenseSpecifications

ARNs of the license configurations to add.

RemoveLicenseSpecifications

ARNs of the license configurations to remove.

Value

An empty list.

Request syntax

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