ServiceActionDefinition constructor
const
ServiceActionDefinition({})
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,
});