paws.management (version 0.1.0)

servicecatalog_create_service_action: Creates a self-service action

Description

Creates a self-service action.

Usage

servicecatalog_create_service_action(Name, DefinitionType, Definition,
  Description, AcceptLanguage, IdempotencyToken)

Arguments

Name

[required] The self-service action name.

DefinitionType

[required] The service action definition type. For example, SSM_AUTOMATION.

Definition

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

Name

: The name of the AWS Systems Manager Document. For example, AWS-RestartEC2Instance.

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\"}\]`.
Description

The self-service action description.

AcceptLanguage

The language code.

  • en - English (default)

  • jp - Japanese

  • zh - Chinese

IdempotencyToken

[required] 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.

Request syntax

svc$create_service_action(
  Name = "string",
  DefinitionType = "SSM_AUTOMATION",
  Definition = list(
    "string"
  ),
  Description = "string",
  AcceptLanguage = "string",
  IdempotencyToken = "string"
)