@Stability(value=Stable)
public static interface CfnResponsePlan.SsmAutomationProperty
extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnResponsePlan.SsmAutomationProperty.Builder
A builder for
CfnResponsePlan.SsmAutomationProperty |
static class |
CfnResponsePlan.SsmAutomationProperty.Jsii$Proxy
An implementation for
CfnResponsePlan.SsmAutomationProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnResponsePlan.SsmAutomationProperty.Builder |
builder() |
String |
getDocumentName()
The automation document's name.
|
default String |
getDocumentVersion()
The automation document's version to use when running.
|
default Object |
getDynamicParameters()
`CfnResponsePlan.SsmAutomationProperty.DynamicParameters`.
|
default Object |
getParameters()
The key-value pair parameters to use when running the automation document.
|
String |
getRoleArn()
The Amazon Resource Name (ARN) of the role that the automation document will assume when running commands.
|
default String |
getTargetAccount()
The account that the automation document will be run in.
|
@Stability(value=Stable) @NotNull String getDocumentName()
@Stability(value=Stable) @NotNull String getRoleArn()
@Stability(value=Stable) @Nullable default String getDocumentVersion()
@Stability(value=Stable) @Nullable default Object getDynamicParameters()
@Stability(value=Stable) @Nullable default Object getParameters()
@Stability(value=Stable) @Nullable default String getTargetAccount()
This can be in either the management account or an application account.
@Stability(value=Stable) static CfnResponsePlan.SsmAutomationProperty.Builder builder()
Copyright © 2022. All rights reserved.