ServiceActionDefinition class

Constructors

ServiceActionDefinition({Input<String?>? assumeRole, required Input<String> name, Input<String?>? parameters, Input<String?>? type, 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.
const
ServiceActionDefinition.fromMap(Map<String, dynamic> map)
factory

Properties

assumeRole → Input<String?>?
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.
final
hashCode → int
The hash code for this object.
no setterinherited
name → Input<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.
final
parameters → Input<String?>?
List of parameters in JSON format. For example: [{\"Name\":\"InstanceId\",\"Type\":\"TARGET\"}] or [{\"Name\":\"InstanceId\",\"Type\":\"TEXT_VALUE\"}].
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
type → Input<String?>?
Service action definition type. Valid value is SSM_AUTOMATION. Default is SSM_AUTOMATION.
final
version → Input<String>
SSM document version. For example, 1.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited