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 document that will be used as a 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 classA builder forCfnResponsePlan.SsmAutomationPropertystatic final classAn implementation forCfnResponsePlan.SsmAutomationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()The automation document's name.default StringThe automation document's version to use when running.default ObjectThe key-value pairs to resolve dynamic parameter values when processing a Systems Manager Automation runbook.default ObjectThe key-value pair parameters to use when running the automation document.The Amazon Resource Name (ARN) of the role that the automation document will assume when running commands.default StringThe 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 automation document's version 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 automation document.- 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
-