Paws::LicenseManager::CreateLicenseConfiguration - Arguments for method CreateLicenseConfiguration on Paws::LicenseManager
This class represents the parameters used for calling the method CreateLicenseConfiguration on the AWS License Manager service. Use the attributes of this class as arguments to method CreateLicenseConfiguration.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateLicenseConfiguration.
my $license-manager = Paws->service('LicenseManager'); my $CreateLicenseConfigurationResponse = $license -manager->CreateLicenseConfiguration( LicenseCountingType => 'vCPU', Name => 'MyString', Description => 'MyString', # OPTIONAL DisassociateWhenNotFound => 1, # OPTIONAL LicenseCount => 1, # OPTIONAL LicenseCountHardLimit => 1, # OPTIONAL LicenseRules => [ 'MyString', ... ], # OPTIONAL ProductInformationList => [ { ProductInformationFilterList => [ { ProductInformationFilterComparator => 'MyString', ProductInformationFilterName => 'MyString', ProductInformationFilterValue => [ 'MyString', ... ], }, ... ], ResourceType => 'MyString', }, ... ], # OPTIONAL Tags => [ { Key => 'MyString', Value => 'MyString', }, ... ], # OPTIONAL ); # Results: my $LicenseConfigurationArn = $CreateLicenseConfigurationResponse->LicenseConfigurationArn; # Returns a L<Paws::LicenseManager::CreateLicenseConfigurationResponse> object.
Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/license-manager/CreateLicenseConfiguration
Description of the license configuration.
When true, disassociates a resource when software is uninstalled.
Number of licenses managed by the license configuration.
Indicates whether hard or soft license enforcement is used. Exceeding a hard limit blocks the launch of new instances.
Dimension used to track the license inventory.
Valid values are: "vCPU", "Instance", "Core", "Socket"
"vCPU"
"Instance"
"Core"
"Socket"
License rules. The syntax is #name=value (for example,
dimension, as follows.
Cores dimension: allowedTenancy | licenseAffinityToHost | maximumCores | minimumCores
Cores
allowedTenancy
licenseAffinityToHost
maximumCores
minimumCores
Instances dimension: allowedTenancy | maximumCores | minimumCores | maximumSockets | minimumSockets | maximumVcpus | minimumVcpus
Instances
maximumSockets
minimumSockets
maximumVcpus
minimumVcpus
Sockets dimension: allowedTenancy | licenseAffinityToHost | maximumSockets | minimumSockets
Sockets
vCPUs dimension: allowedTenancy | honorVcpuOptimization | maximumVcpus | minimumVcpus
vCPUs
honorVcpuOptimization
The unit for licenseAffinityToHost is days and the range is 1 to 180. The possible values for allowedTenancy are EC2-Default, EC2-DedicatedHost, and EC2-DedicatedInstance. The possible values for honorVcpuOptimization are True and False.
EC2-Default
EC2-DedicatedHost
EC2-DedicatedInstance
True
False
Name of the license configuration.
Product information.
Tags to add to the license configuration.
This class forms part of Paws, documenting arguments for method CreateLicenseConfiguration in Paws::LicenseManager
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
To install Paws, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Paws
CPAN shell
perl -MCPAN -e shell install Paws
For more information on module installation, please visit the detailed CPAN module installation guide.