interface SsmAutomationProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.SSMIncidents.CfnResponsePlan.SsmAutomationProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsssmincidents#CfnResponsePlan_SsmAutomationProperty |
![]() | software.amazon.awscdk.services.ssmincidents.CfnResponsePlan.SsmAutomationProperty |
![]() | aws_cdk.aws_ssmincidents.CfnResponsePlan.SsmAutomationProperty |
![]() | aws-cdk-lib » aws_ssmincidents » CfnResponsePlan » SsmAutomationProperty |
The SsmAutomation
property type specifies details about the Systems Manager Automation runbook that will be used as the runbook during an incident.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ssmincidents as ssmincidents } from 'aws-cdk-lib';
const ssmAutomationProperty: ssmincidents.CfnResponsePlan.SsmAutomationProperty = {
documentName: 'documentName',
roleArn: 'roleArn',
// the properties below are optional
documentVersion: 'documentVersion',
dynamicParameters: [{
key: 'key',
value: {
variable: 'variable',
},
}],
parameters: [{
key: 'key',
values: ['values'],
}],
targetAccount: 'targetAccount',
};
Properties
Name | Type | Description |
---|---|---|
document | string | The automation document's name. |
role | string | The Amazon Resource Name (ARN) of the role that the automation document will assume when running commands. |
document | string | The version of the runbook to use when running. |
dynamic | IResolvable | IResolvable | Dynamic [] | The key-value pairs to resolve dynamic parameter values when processing a Systems Manager Automation runbook. |
parameters? | IResolvable | IResolvable | Ssm [] | The key-value pair parameters to use when running the runbook. |
target | string | The account that the automation document will be run in. |
documentName
Type:
string
The automation document's name.
roleArn
Type:
string
The Amazon Resource Name (ARN) of the role that the automation document will assume when running commands.
documentVersion?
Type:
string
(optional)
The version of the runbook to use when running.
dynamicParameters?
Type:
IResolvable
|
IResolvable
|
Dynamic
[]
(optional)
The key-value pairs to resolve dynamic parameter values when processing a Systems Manager Automation runbook.
parameters?
Type:
IResolvable
|
IResolvable
|
Ssm
[]
(optional)
The key-value pair parameters to use when running the runbook.
targetAccount?
Type:
string
(optional)
The account that the automation document will be run in.
This can be in either the management account or an application account.