Skip to content

MatchingRuleStatement

Source code in docs_src/capo_license_manager/types/matching_rule_statement.py
class MatchingRuleStatement(TypedDict, closed=True):
    key_to_match: "capo_license_manager.types.string.String"
    """<p>Key to match.</p> <p>The following keys and are supported when the RuleStatement type is <code>Instance</code>: </p> <ul> <li> <p> <code>Platform</code> - The name of the platform. Logical operators are <code>EQUALS</code> and <code>NOT_EQUALS</code>. </p> </li> <li> <p> <code>EC2BillingProduct</code> - The billing product code. Logical operators are <code>EQUALS</code> and <code>NOT_EQUALS</code>. Possible values are: <code>windows-server-enterprise</code> | <code>windows-byol</code> | <code>rhel</code> | <code>rhel-byol</code> | <code>rhel-high-availability</code> | <code>ubuntu-pro</code> | <code>suse-linux</code> | <code>sql-server-standard</code> | <code>sql-server-enterprise</code>. </p> </li> <li> <p> <code>MarketPlaceProductCode</code> - The Marketplace product code. Logical operators are <code>EQUALS</code> and <code>NOT_EQUALS</code>. </p> </li> <li> <p> <code>AMIId</code> - The ID of the AMI. Logical operators are <code>EQUALS</code> and <code>NOT_EQUALS</code>. </p> </li> <li> <p> <code>InstanceType</code> - The instance type. Logical operators are <code>EQUALS</code> and <code>NOT_EQUALS</code>. </p> </li> <li> <p> <code>InstanceId</code> - The ID of the instance. Logical operators are <code>EQUALS</code> and <code>NOT_EQUALS</code>. </p> </li> <li> <p> <code>HostId</code> - The ID of the host. Logical operators are <code>EQUALS</code> and <code>NOT_EQUALS</code>. </p> </li> <li> <p> <code>AccountId</code> - The ID of the account. Logical operators are <code>EQUALS</code> and <code>NOT_EQUALS</code>. </p> </li> </ul> <p>The following keys and are supported when the RuleStatement type is <code>License</code>: </p> <ul> <li> <p> <code>LicenseArn</code> - The ARN of a Managed Entitlement License. Logical operators are <code>EQUALS</code> and <code>NOT_EQUALS</code>. </p> </li> <li> <p> <code>ProductSKU</code> - The productSKU of the license. Logical operators are <code>EQUALS</code> and <code>NOT_EQUALS</code>. </p> </li> <li> <p> <code>Issuer</code> - The issuer of the license. Logical operators are <code>EQUALS</code> and <code>NOT_EQUALS</code>. </p> </li> <li> <p> <code>Beneficiary</code> - The beneficiary of the license. Logical operators are <code>EQUALS</code> and <code>NOT_EQUALS</code>. </p> </li> <li> <p> <code>LicenseStatus</code> - The status of the license. Logical operators are <code>EQUALS</code> and <code>NOT_EQUALS</code>. </p> </li> <li> <p> <code>HomeRegion</code> - The home region of the license. Logical operators are <code>EQUALS</code> and <code>NOT_EQUALS</code>. </p> </li> </ul> <p>The following keys and are supported when the RuleStatement type is <code>License Configuration</code>: </p> <ul> <li> <p> <code>LicenseConfigurationArn</code> - The ARN of a self-managed license configuration. Logical operators are <code>EQUALS</code> and <code>NOT_EQUALS</code>. </p> </li> <li> <p> <code>AccountId</code> - The account of the license configuration. Logical operators are <code>EQUALS</code> and <code>NOT_EQUALS</code>. </p> </li> </ul>"""
    constraint: "capo_license_manager.types.string.String"
    """<p>Constraint.</p>"""
    value_to_match: "capo_license_manager.types.string_list.StringList"
    """<p>Value to match.</p>"""

constraint instance-attribute

constraint: String

Constraint.

key_to_match instance-attribute

key_to_match: String

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.

value_to_match instance-attribute

value_to_match: StringList

Value to match.