# AWS::SSMIncidents::ResponsePlan SsmAutomation The configuration to use when starting the SSM automation document. ## Syntax To declare this entity in your AWS CloudFormation template, use the following syntax: ### JSON
{
    "RoleArn" : String,
    "DocumentName" : String,
    "DocumentVersion" : String,
    "TargetAccount" : String,
    "Parameters" : [ SsmParameter, ... ],
    "DynamicParameters" : [ DynamicSsmParameter, ... ]
}
### YAML
RoleArn: String
DocumentName: String
DocumentVersion: String
TargetAccount: String
Parameters: 
      - SsmParameter
DynamicParameters: 
      - DynamicSsmParameter
## Properties #### RoleArn The role ARN to use when starting the SSM automation document. _Required_: Yes _Type_: String _Maximum_: 1000 _Pattern_: ^arn:aws(-(cn|us-gov))?:[a-z-]+:(([a-z]+-)+[0-9])?:([0-9]{12})?:[^.]+$ _Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt) #### DocumentName The document name to use when starting the SSM automation document. _Required_: Yes _Type_: String _Maximum_: 128 _Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt) #### DocumentVersion The version of the document to use when starting the SSM automation document. _Required_: No _Type_: String _Maximum_: 128 _Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt) #### TargetAccount The account type to use when starting the SSM automation document. _Required_: No _Type_: String _Allowed Values_: IMPACTED_ACCOUNT | RESPONSE_PLAN_OWNER_ACCOUNT _Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt) #### Parameters The parameters to set when starting the SSM automation document. _Required_: No _Type_: List of SsmParameter _Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt) #### DynamicParameters The parameters with dynamic values to set when starting the SSM automation document. _Required_: No _Type_: List of DynamicSsmParameter _Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)