ServiceActionDefinition constructor

const ServiceActionDefinition({
  1. Input<String?>? assumeRole,
  2. required Input<String> name,
  3. Input<String?>? parameters,
  4. Input<String?>? type,
  5. required Input<String> version,
})

Creates a new ServiceActionDefinition. assumeRole 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. name 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. parameters List of parameters in JSON format. For example: [{\"Name\":\"InstanceId\",\"Type\":\"TARGET\"}] or [{\"Name\":\"InstanceId\",\"Type\":\"TEXT_VALUE\"}]. type Service action definition type. Valid value is SSM_AUTOMATION. Default is SSM_AUTOMATION. version SSM document version. For example, 1.

Implementation

const ServiceActionDefinition({
  this.assumeRole,
  required this.name,
  this.parameters,
  this.type,
  required this.version,
});