class Aws::ServiceCatalog::Types::CreateServiceActionInput

@note When making an API call, you may pass CreateServiceActionInput

data as a hash:

    {
      name: "ServiceActionName", # required
      definition_type: "SSM_AUTOMATION", # required, accepts SSM_AUTOMATION
      definition: { # required
        "Name" => "ServiceActionDefinitionValue",
      },
      description: "ServiceActionDescription",
      accept_language: "AcceptLanguage",
      idempotency_token: "IdempotencyToken", # required
    }

@!attribute [rw] name

The self-service action name.
@return [String]

@!attribute [rw] definition_type

The service action definition type. For example, `SSM_AUTOMATION`.
@return [String]

@!attribute [rw] definition

The self-service action definition. Can be one of the following:

Name

: The name of the AWS Systems Manager document (SSM document). For
  example, `AWS-RestartEC2Instance`.

  If you are using a shared SSM document, you must provide the ARN
  instead of the name.

Version

: The AWS Systems Manager automation document version. For example,
  `"Version": "1"`

AssumeRole

: The Amazon Resource Name (ARN) of the role that performs the
  self-service actions on your behalf. For example, `"AssumeRole":
  "arn:aws:iam::12345678910:role/ActionRole"`.

  To reuse the provisioned product launch role, set to
  `"AssumeRole": "LAUNCH_ROLE"`.

Parameters

: The list of parameters in JSON format.

  For example: `[\{"Name":"InstanceId","Type":"TARGET"\}]`
  or `[\{"Name":"InstanceId","Type":"TEXT_VALUE"\}]`.
@return [Hash<String,String>]

@!attribute [rw] description

The self-service action description.
@return [String]

@!attribute [rw] accept_language

The language code.

* `en` - English (default)

* `jp` - Japanese

* `zh` - Chinese
@return [String]

@!attribute [rw] idempotency_token

A unique identifier that you provide to ensure idempotency. If
multiple requests differ only by the idempotency token, the same
response is returned for each repeated request.

**A suitable default value is auto-generated.** You should normally
not need to pass this option.
@return [String]

@see docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/CreateServiceActionInput AWS API Documentation

Constants

SENSITIVE