Skip to content

Creates a license asset ruleset

Description

Creates a license asset ruleset.

Usage

licensemanager_create_license_asset_ruleset(Name, Description, Rules,
  Tags, ClientToken)

Arguments

  • Name

    [required] License asset ruleset name.

  • Description

    License asset ruleset description.

  • Rules

    [required] License asset rules.

  • Tags

    Tags to add to the license asset ruleset.

  • ClientToken

    [required] Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

Value

A list with the following syntax:

list(
  LicenseAssetRulesetArn = "string"
)

Request syntax

svc$create_license_asset_ruleset(
  Name = "string",
  Description = "string",
  Rules = list(
    list(
      RuleStatement = list(
        LicenseConfigurationRuleStatement = list(
          AndRuleStatement = list(
            MatchingRuleStatements = list(
              list(
                KeyToMatch = "string",
                Constraint = "string",
                ValueToMatch = list(
                  "string"
                )
              )
            ),
            ScriptRuleStatements = list(
              list(
                KeyToMatch = "string",
                Script = "string"
              )
            )
          ),
          OrRuleStatement = list(
            MatchingRuleStatements = list(
              list(
                KeyToMatch = "string",
                Constraint = "string",
                ValueToMatch = list(
                  "string"
                )
              )
            ),
            ScriptRuleStatements = list(
              list(
                KeyToMatch = "string",
                Script = "string"
              )
            )
          ),
          MatchingRuleStatement = list(
            KeyToMatch = "string",
            Constraint = "string",
            ValueToMatch = list(
              "string"
            )
          )
        ),
        LicenseRuleStatement = list(
          AndRuleStatement = list(
            MatchingRuleStatements = list(
              list(
                KeyToMatch = "string",
                Constraint = "string",
                ValueToMatch = list(
                  "string"
                )
              )
            ),
            ScriptRuleStatements = list(
              list(
                KeyToMatch = "string",
                Script = "string"
              )
            )
          ),
          OrRuleStatement = list(
            MatchingRuleStatements = list(
              list(
                KeyToMatch = "string",
                Constraint = "string",
                ValueToMatch = list(
                  "string"
                )
              )
            ),
            ScriptRuleStatements = list(
              list(
                KeyToMatch = "string",
                Script = "string"
              )
            )
          ),
          MatchingRuleStatement = list(
            KeyToMatch = "string",
            Constraint = "string",
            ValueToMatch = list(
              "string"
            )
          )
        ),
        InstanceRuleStatement = list(
          AndRuleStatement = list(
            MatchingRuleStatements = list(
              list(
                KeyToMatch = "string",
                Constraint = "string",
                ValueToMatch = list(
                  "string"
                )
              )
            ),
            ScriptRuleStatements = list(
              list(
                KeyToMatch = "string",
                Script = "string"
              )
            )
          ),
          OrRuleStatement = list(
            MatchingRuleStatements = list(
              list(
                KeyToMatch = "string",
                Constraint = "string",
                ValueToMatch = list(
                  "string"
                )
              )
            ),
            ScriptRuleStatements = list(
              list(
                KeyToMatch = "string",
                Script = "string"
              )
            )
          ),
          MatchingRuleStatement = list(
            KeyToMatch = "string",
            Constraint = "string",
            ValueToMatch = list(
              "string"
            )
          ),
          ScriptRuleStatement = list(
            KeyToMatch = "string",
            Script = "string"
          )
        )
      )
    )
  ),
  Tags = list(
    list(
      Key = "string",
      Value = "string"
    )
  ),
  ClientToken = "string"
)