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_specificationsblock for anaws.ec2.LaunchTemplate.
AssociationArgs
AssociationState
LicenseConfiguration
Provides a License Manager license configuration resource.
Note: Removing the
license_countattribute 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: 1maximumVcpus- Resource must have maximum vCPU count in order to use the license. Default: unbounded, limit: 10000minimumCores- Resource must have minimum core count in order to use the license. Default: 1maximumCores- Resource must have maximum core count in order to use the license. Default: unbounded, limit: 10000minimumSockets- Resource must have minimum socket count in order to use the license. Default: 1maximumSockets- Resource must have maximum socket count in order to use the license. Default: unbounded, limit: 10000allowedTenancy- Defines where the license can be used. If set, restricts license usage to selected tenancies. Specify a comma delimited list ofEC2-Default,EC2-DedicatedHost,EC2-DedicatedInstance