ServiceActionDefinitionArgs

data class ServiceActionDefinitionArgs(val assumeRole: Output<String>? = null, val name: Output<String>, val parameters: Output<String>? = null, val type: Output<String>? = null, val version: Output<String>) : ConvertibleToJava<ServiceActionDefinitionArgs>

Constructors

Link copied to clipboard
constructor(assumeRole: Output<String>? = null, name: Output<String>, parameters: Output<String>? = null, type: Output<String>? = null, version: Output<String>)

Properties

Link copied to clipboard
val assumeRole: Output<String>? = null

ARN of the role that performs the self-service actions on your behalf. For example, arn:aws:iam::12345678910:role/ActionRole. To reuse the provisioned product launch role, set to LAUNCH_ROLE.

Link copied to clipboard
val name: Output<String>

Name of the SSM document. For example, AWS-RestartEC2Instance. If you are using a shared SSM document, you must provide the ARN instead of the name.

Link copied to clipboard
val parameters: Output<String>? = null

List of parameters in JSON format. For example: [{\"Name\":\"InstanceId\",\"Type\":\"TARGET\"}] or [{\"Name\":\"InstanceId\",\"Type\":\"TEXT_VALUE\"}].

Link copied to clipboard
val type: Output<String>? = null

Service action definition type. Valid value is SSM_AUTOMATION. Default is SSM_AUTOMATION.

Link copied to clipboard
val version: Output<String>

SSM document version. For example, 1.

Functions

Link copied to clipboard
open override fun toJava(): ServiceActionDefinitionArgs