@Generated(value="jsii-pacmak/1.50.0 (build d1830a4)", date="2022-01-04T15:39:04.827Z") @Stability(value=Experimental) public class CloudFormationExecuteChangeSetAction extends Action
Example:
// Deploy some CFN change set and store output
Artifact executeOutput = new Artifact("CloudFormation");
CloudFormationExecuteChangeSetAction executeChangeSetAction = CloudFormationExecuteChangeSetAction.Builder.create()
.actionName("ExecuteChangesTest")
.runOrder(2)
.stackName("MyStack")
.changeSetName("MyChangeSet")
.outputFileName("overrides.json")
.output(executeOutput)
.build();
// Provide CFN output as manifest overrides
SecretValue clientId = SecretValue.secretsManager("AlexaClientId");
SecretValue clientSecret = SecretValue.secretsManager("AlexaClientSecret");
SecretValue refreshToken = SecretValue.secretsManager("AlexaRefreshToken");
Artifact sourceOutput = new Artifact();
AlexaSkillDeployAction.Builder.create()
.actionName("DeploySkill")
.runOrder(1)
.input(sourceOutput)
.parameterOverridesArtifact(executeOutput)
.clientId(clientId.toString())
.clientSecret(clientSecret)
.refreshToken(refreshToken)
.skillId("amzn1.ask.skill.12345678-1234-1234-1234-123456789012")
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
CloudFormationExecuteChangeSetAction.Builder
(experimental) A fluent builder for
CloudFormationExecuteChangeSetAction. |
software.amazon.jsii.JsiiObject.InitializationModeIAction.Jsii$Default| Modifier | Constructor and Description |
|---|---|
|
CloudFormationExecuteChangeSetAction(CloudFormationExecuteChangeSetActionProps props) |
protected |
CloudFormationExecuteChangeSetAction(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CloudFormationExecuteChangeSetAction(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
protected ActionConfig |
bound(Construct scope,
IStage stage,
ActionBindOptions options)
(experimental) This is a renamed version of the
IAction.bind method. |
getProvidedActionPropertiesbind, getActionProperties, onStateChange, onStateChange, onStateChange, variableExpressionjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected CloudFormationExecuteChangeSetAction(software.amazon.jsii.JsiiObjectRef objRef)
protected CloudFormationExecuteChangeSetAction(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental)
public CloudFormationExecuteChangeSetAction(@NotNull
CloudFormationExecuteChangeSetActionProps props)
props - This parameter is required.@Stability(value=Experimental) @NotNull protected ActionConfig bound(@NotNull Construct scope, @NotNull IStage stage, @NotNull ActionBindOptions options)
IAction.bind method.
Copyright © 2022. All rights reserved.