Skip to content

/AWS1/CL_LICMATCHINGRULESTMT

Matching rule statement.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_keytomatch TYPE /AWS1/LICSTRING /AWS1/LICSTRING

Key to match.

The following keys and are supported when the RuleStatement type is Instance:

  • Platform - The name of the platform. Logical operators are EQUALS and NOT_EQUALS.

  • EC2BillingProduct - The billing product code. Logical operators are EQUALS and NOT_EQUALS. Possible values are: windows-server-enterprise | windows-byol | rhel | rhel-byol | rhel-high-availability | ubuntu-pro | suse-linux | sql-server-standard | sql-server-enterprise.

  • MarketPlaceProductCode - The Marketplace product code. Logical operators are EQUALS and NOT_EQUALS.

  • AMIId - The ID of the AMI. Logical operators are EQUALS and NOT_EQUALS.

  • InstanceType - The instance type. Logical operators are EQUALS and NOT_EQUALS.

  • InstanceId - The ID of the instance. Logical operators are EQUALS and NOT_EQUALS.

  • HostId - The ID of the host. Logical operators are EQUALS and NOT_EQUALS.

  • AccountId - The ID of the account. Logical operators are EQUALS and NOT_EQUALS.

The following keys and are supported when the RuleStatement type is License:

  • LicenseArn - The ARN of a Managed Entitlement License. Logical operators are EQUALS and NOT_EQUALS.

  • ProductSKU - The productSKU of the license. Logical operators are EQUALS and NOT_EQUALS.

  • Issuer - The issuer of the license. Logical operators are EQUALS and NOT_EQUALS.

  • Beneficiary - The beneficiary of the license. Logical operators are EQUALS and NOT_EQUALS.

  • LicenseStatus - The status of the license. Logical operators are EQUALS and NOT_EQUALS.

  • HomeRegion - The home region of the license. Logical operators are EQUALS and NOT_EQUALS.

The following keys and are supported when the RuleStatement type is License Configuration:

  • LicenseConfigurationArn - The ARN of a self-managed license configuration. Logical operators are EQUALS and NOT_EQUALS.

  • AccountId - The account of the license configuration. Logical operators are EQUALS and NOT_EQUALS.

iv_constraint TYPE /AWS1/LICSTRING /AWS1/LICSTRING

Constraint.

it_valuetomatch TYPE /AWS1/CL_LICSTRINGLIST_W=>TT_STRINGLIST TT_STRINGLIST

Value to match.


Queryable Attributes

KeyToMatch

Key to match.

The following keys and are supported when the RuleStatement type is Instance:

  • Platform - The name of the platform. Logical operators are EQUALS and NOT_EQUALS.

  • EC2BillingProduct - The billing product code. Logical operators are EQUALS and NOT_EQUALS. Possible values are: windows-server-enterprise | windows-byol | rhel | rhel-byol | rhel-high-availability | ubuntu-pro | suse-linux | sql-server-standard | sql-server-enterprise.

  • MarketPlaceProductCode - The Marketplace product code. Logical operators are EQUALS and NOT_EQUALS.

  • AMIId - The ID of the AMI. Logical operators are EQUALS and NOT_EQUALS.

  • InstanceType - The instance type. Logical operators are EQUALS and NOT_EQUALS.

  • InstanceId - The ID of the instance. Logical operators are EQUALS and NOT_EQUALS.

  • HostId - The ID of the host. Logical operators are EQUALS and NOT_EQUALS.

  • AccountId - The ID of the account. Logical operators are EQUALS and NOT_EQUALS.

The following keys and are supported when the RuleStatement type is License:

  • LicenseArn - The ARN of a Managed Entitlement License. Logical operators are EQUALS and NOT_EQUALS.

  • ProductSKU - The productSKU of the license. Logical operators are EQUALS and NOT_EQUALS.

  • Issuer - The issuer of the license. Logical operators are EQUALS and NOT_EQUALS.

  • Beneficiary - The beneficiary of the license. Logical operators are EQUALS and NOT_EQUALS.

  • LicenseStatus - The status of the license. Logical operators are EQUALS and NOT_EQUALS.

  • HomeRegion - The home region of the license. Logical operators are EQUALS and NOT_EQUALS.

The following keys and are supported when the RuleStatement type is License Configuration:

  • LicenseConfigurationArn - The ARN of a self-managed license configuration. Logical operators are EQUALS and NOT_EQUALS.

  • AccountId - The account of the license configuration. Logical operators are EQUALS and NOT_EQUALS.

Accessible with the following methods

Method Description
GET_KEYTOMATCH() Getter for KEYTOMATCH, with configurable default
ASK_KEYTOMATCH() Getter for KEYTOMATCH w/ exceptions if field has no value
HAS_KEYTOMATCH() Determine if KEYTOMATCH has a value

Constraint

Constraint.

Accessible with the following methods

Method Description
GET_CONSTRAINT() Getter for CONSTRAINT, with configurable default
ASK_CONSTRAINT() Getter for CONSTRAINT w/ exceptions if field has no value
HAS_CONSTRAINT() Determine if CONSTRAINT has a value

ValueToMatch

Value to match.

Accessible with the following methods

Method Description
GET_VALUETOMATCH() Getter for VALUETOMATCH, with configurable default
ASK_VALUETOMATCH() Getter for VALUETOMATCH w/ exceptions if field has no value
HAS_VALUETOMATCH() Determine if VALUETOMATCH has a value

Public Local Types In This Class

Internal table types, representing arrays and maps of this class, are defined as local types:

TT_MATCHINGRULESTATEMENTLIST

TYPES TT_MATCHINGRULESTATEMENTLIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_LICMATCHINGRULESTMT WITH DEFAULT KEY
.