Show / Hide Table of Contents

Namespace Pulumi.Aws.LicenseManager

Classes

Association

Provides a License Manager association.

Note: License configurations can also be associated with launch templates by specifying the license_specifications block for an aws.ec2.LaunchTemplate.

AssociationArgs

AssociationState

LicenseConfiguration

Provides a License Manager license configuration resource.

Note: Removing the license_count attribute is not supported by the License Manager API - recreate the resource instead.

Example Usage

using Pulumi;
using Aws = Pulumi.Aws;

class MyStack : Stack
{
public MyStack()
{
    var example = new Aws.LicenseManager.LicenseConfiguration("example", new Aws.LicenseManager.LicenseConfigurationArgs
    {
        Description = "Example",
        LicenseCount = 10,
        LicenseCountHardLimit = true,
        LicenseCountingType = "Socket",
        LicenseRules = 
        {
            "#minimumSockets=2",
        },
        Tags = 
        {
            { "foo", "barr" },
        },
    });
}

}

Rules

License rules should be in the format of #RuleType=RuleValue. Supported rule types:

  • minimumVcpus - Resource must have minimum vCPU count in order to use the license. Default: 1
  • maximumVcpus - Resource must have maximum vCPU count in order to use the license. Default: unbounded, limit: 10000
  • minimumCores - Resource must have minimum core count in order to use the license. Default: 1
  • maximumCores - Resource must have maximum core count in order to use the license. Default: unbounded, limit: 10000
  • minimumSockets - Resource must have minimum socket count in order to use the license. Default: 1
  • maximumSockets - Resource must have maximum socket count in order to use the license. Default: unbounded, limit: 10000
  • allowedTenancy - Defines where the license can be used. If set, restricts license usage to selected tenancies. Specify a comma delimited list of EC2-Default, EC2-DedicatedHost, EC2-DedicatedInstance

LicenseConfigurationArgs

LicenseConfigurationState

Back to top Copyright 2016-2020, Pulumi Corporation.