ServiceActionDefinition

data class ServiceActionDefinition(val assumeRole: String? = null, val name: String, val parameters: String? = null, val type: String? = null, val version: String)

Constructors

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

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val assumeRole: 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

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: 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: String? = null

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

Link copied to clipboard

SSM document version. For example, 1.