public static interface CfnResponsePlan.SsmAutomationProperty
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() |
java.lang.String |
getDocumentName()
The automation document's name.
|
default java.lang.String |
getDocumentVersion()
The automation document's version to use when running.
|
default java.lang.Object |
getDynamicParameters()
`CfnResponsePlan.SsmAutomationProperty.DynamicParameters`.
|
default java.lang.Object |
getParameters()
The key-value pair parameters to use when running the automation document.
|
java.lang.String |
getRoleArn()
The Amazon Resource Name (ARN) of the role that the automation document will assume when running commands.
|
default java.lang.String |
getTargetAccount()
The account that the automation document will be run in.
|
java.lang.String getDocumentName()
java.lang.String getRoleArn()
default java.lang.String getDocumentVersion()
default java.lang.Object getDynamicParameters()
default java.lang.Object getParameters()
default java.lang.String getTargetAccount()
This can be in either the management account or an application account.
static CfnResponsePlan.SsmAutomationProperty.Builder builder()