Interface CfnResponsePlan.SsmAutomationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnResponsePlan.SsmAutomationProperty.Jsii$Proxy
- Enclosing class:
CfnResponsePlan
@Stability(Stable)
public static interface CfnResponsePlan.SsmAutomationProperty
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.ssmincidents.*; SsmAutomationProperty ssmAutomationProperty = SsmAutomationProperty.builder() .documentName("documentName") .roleArn("roleArn") // the properties below are optional .documentVersion("documentVersion") .dynamicParameters(List.of(DynamicSsmParameterProperty.builder() .key("key") .value(DynamicSsmParameterValueProperty.builder() .variable("variable") .build()) .build())) .parameters(List.of(SsmParameterProperty.builder() .key("key") .values(List.of("values")) .build())) .targetAccount("targetAccount") .build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnResponsePlan.SsmAutomationProperty
static final class
An implementation forCfnResponsePlan.SsmAutomationProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
The automation document's name.default String
The version of the runbook to use when running.default Object
The key-value pairs to resolve dynamic parameter values when processing a Systems Manager Automation runbook.default Object
The key-value pair parameters to use when running the runbook.The Amazon Resource Name (ARN) of the role that the automation document will assume when running commands.default String
The account that the automation document will be run in.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDocumentName
The automation document's name.- See Also:
-
getRoleArn
The Amazon Resource Name (ARN) of the role that the automation document will assume when running commands.- See Also:
-
getDocumentVersion
The version of the runbook to use when running.- See Also:
-
getDynamicParameters
The key-value pairs to resolve dynamic parameter values when processing a Systems Manager Automation runbook.- See Also:
-
getParameters
The key-value pair parameters to use when running the runbook.- See Also:
-
getTargetAccount
The account that the automation document will be run in.This can be in either the management account or an application account.
- See Also:
-
builder
-