Create Service Action
servicecatalog_create_service_action | R Documentation |
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,
|
Definition |
[required] The self-service action definition. Can be one of the following: Name The name of the Amazon Web Services Systems Manager document (SSM
document). For example, If you are using a shared SSM document, you must provide the ARN instead of the name. Version The Amazon Web Services Systems Manager automation document version.
For example, AssumeRole The Amazon Resource Name (ARN) of the role that performs the
self-service actions on your behalf. For example,
To reuse the provisioned product launch role, set to
Parameters The list of parameters in JSON format. For example: |
Description |
The self-service action description. |
AcceptLanguage |
The language code.
|
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. |
Value¶
A list with the following syntax:
list(
ServiceActionDetail = list(
ServiceActionSummary = list(
Id = "string",
Name = "string",
Description = "string",
DefinitionType = "SSM_AUTOMATION"
),
Definition = list(
"string"
)
)
)
Request syntax¶
svc$create_service_action(
Name = "string",
DefinitionType = "SSM_AUTOMATION",
Definition = list(
"string"
),
Description = "string",
AcceptLanguage = "string",
IdempotencyToken = "string"
)