NAME

Paws::LicenseManager::CreateLicenseConfiguration - Arguments for method CreateLicenseConfiguration on Paws::LicenseManager

DESCRIPTION

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.

SYNOPSIS

   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

ATTRIBUTES

Description => Str

Description of the license configuration.

DisassociateWhenNotFound => Bool

When true, disassociates a resource when software is uninstalled.

LicenseCount => Int

Number of licenses managed by the license configuration.

LicenseCountHardLimit => Bool

Indicates whether hard or soft license enforcement is used. Exceeding a hard limit blocks the launch of new instances.

REQUIRED LicenseCountingType => Str

Dimension used to track the license inventory.

Valid values are: "vCPU", "Instance", "Core", "Socket"

LicenseRules => ArrayRef[Str|Undef]

License rules. The syntax is #name=value (for example,

dimension, as follows.

  • Cores dimension: allowedTenancy | licenseAffinityToHost | maximumCores | minimumCores

  • Instances dimension: allowedTenancy | maximumCores | minimumCores | maximumSockets | minimumSockets | maximumVcpus | minimumVcpus

  • Sockets dimension: allowedTenancy | licenseAffinityToHost | maximumSockets | minimumSockets

  • vCPUs dimension: allowedTenancy | honorVcpuOptimization | maximumVcpus | minimumVcpus

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.

REQUIRED Name => Str

Name of the license configuration.

ProductInformationList => ArrayRef[Paws::LicenseManager::ProductInformation]

Product information.

Tags => ArrayRef[Paws::LicenseManager::Tag]

Tags to add to the license configuration.

SEE ALSO

This class forms part of Paws, documenting arguments for method CreateLicenseConfiguration in Paws::LicenseManager

BUGS and CONTRIBUTIONS

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