You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::ServiceCatalog::Types::CreateConstraintInput

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing CreateConstraintInput as input to an Aws::Client method, you can use a vanilla Hash:

{
  accept_language: "AcceptLanguage",
  portfolio_id: "Id", # required
  product_id: "Id", # required
  parameters: "ConstraintParameters", # required
  type: "ConstraintType", # required
  description: "ConstraintDescription",
  idempotency_token: "IdempotencyToken", # required
}

Instance Attribute Summary collapse

Instance Attribute Details

#accept_languageString

The language code.

  • en - English (default)

  • jp - Japanese

  • zh - Chinese

Returns:

  • (String)

    The language code.

#descriptionString

The text description of the constraint.

Returns:

  • (String)

    The text description of the constraint.

#idempotency_tokenString

A token to disambiguate duplicate requests. You can use the same input in multiple requests, provided that you also specify a different idempotency token for each request.

Returns:

  • (String)

    A token to disambiguate duplicate requests.

#parametersString

The constraint parameters. Expected values vary depending on which Type is specified. For more information, see the Examples section.

For Type LAUNCH, the RoleArn property is required.

For Type NOTIFICATION, the NotificationArns property is required.

For Type TEMPLATE, the Rules property is required.

Returns:

  • (String)

    The constraint parameters.

#portfolio_idString

The portfolio identifier.

Returns:

  • (String)

    The portfolio identifier.

#product_idString

The product identifier.

Returns:

  • (String)

    The product identifier.

#typeString

The type of the constraint. Case-sensitive valid values are: LAUNCH, NOTIFICATION, or TEMPLATE.

Returns:

  • (String)

    The type of the constraint.