@Stability(value=Stable) public static final class CloudFormationCreateUpdateStackActionProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CloudFormationCreateUpdateStackActionProps
CloudFormationCreateUpdateStackActionPropssoftware.amazon.jsii.JsiiObject.InitializationModeCloudFormationCreateUpdateStackActionProps.Builder, CloudFormationCreateUpdateStackActionProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
String |
getAccount()
The AWS account this Action is supposed to operate in.
|
String |
getActionName() |
Boolean |
getAdminPermissions()
Whether to grant full permissions to CloudFormation while deploying this template.
|
List<CloudFormationCapabilities> |
getCapabilities()
Acknowledge certain changes made as part of deployment.
|
IRole |
getDeploymentRole()
IAM role to assume when deploying changes.
|
List<Artifact> |
getExtraInputs()
The list of additional input Artifacts for this Action.
|
Artifact |
getOutput()
The name of the output artifact to generate.
|
String |
getOutputFileName()
A name for the filename in the output artifact to store the AWS CloudFormation call's result.
|
Map<String,Object> |
getParameterOverrides()
Additional template parameters.
|
String |
getRegion()
The AWS region the given Action resides in.
|
Boolean |
getReplaceOnFailure()
Replace the stack if it's in a failed state.
|
IRole |
getRole() |
Number |
getRunOrder() |
String |
getStackName()
The name of the stack to apply this action to.
|
ArtifactPath |
getTemplateConfiguration()
Input artifact to use for template parameters values and stack policy.
|
ArtifactPath |
getTemplatePath()
Input artifact with the CloudFormation template to deploy.
|
int |
hashCode() |
jsiiAsyncCall, jsiiCall, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticGet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.public Boolean getAdminPermissions()
CloudFormationCreateUpdateStackActionPropsSetting this to true affects the defaults for role and capabilities, if you
don't specify any alternatives.
The default role that will be created for you will have full (i.e., *)
permissions on all resources, and the deployment will have named IAM
capabilities (i.e., able to create all IAM resources).
This is a shorthand that you can use if you fully trust the templates that
are deployed in this pipeline. If you want more fine-grained permissions,
use addToRolePolicy and capabilities to control what the CloudFormation
deployment is allowed to do.
getAdminPermissions in interface CloudFormationCreateUpdateStackActionPropspublic String getStackName()
CloudFormationCreateUpdateStackActionPropsgetStackName in interface CloudFormationCreateUpdateStackActionPropspublic ArtifactPath getTemplatePath()
CloudFormationCreateUpdateStackActionPropsgetTemplatePath in interface CloudFormationCreateUpdateStackActionPropspublic String getAccount()
CloudFormationCreateUpdateStackActionPropsgetAccount in interface CloudFormationCreateUpdateStackActionPropspublic List<CloudFormationCapabilities> getCapabilities()
CloudFormationCreateUpdateStackActionPropsFor stacks that contain certain resources, explicit acknowledgement that AWS CloudFormation
might create or update those resources. For example, you must specify AnonymousIAM or NamedIAM
if your stack template contains AWS Identity and Access Management (IAM) resources. For more
information see the link below.
getCapabilities in interface CloudFormationCreateUpdateStackActionPropshttps://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-iam-template.html#using-iam-capabilitiespublic IRole getDeploymentRole()
CloudFormationCreateUpdateStackActionPropsIf not specified, a fresh role is created. The role is created with zero
permissions unless adminPermissions is true, in which case the role will have
full permissions.
getDeploymentRole in interface CloudFormationCreateUpdateStackActionPropspublic List<Artifact> getExtraInputs()
CloudFormationCreateUpdateStackActionPropsparameterOverrides: { 'Param1': action1.outputArtifact.bucketName, 'Param2': action2.outputArtifact.objectKey, }
, if the output Artifacts of action1 and action2 were not used to
set either the templateConfiguration or the templatePath properties,
you need to make sure to include them in the extraInputs -
otherwise, you'll get an "unrecognized Artifact" error during your Pipeline's execution.
getExtraInputs in interface CloudFormationCreateUpdateStackActionPropspublic Artifact getOutput()
CloudFormationCreateUpdateStackActionPropsOnly applied if outputFileName is set as well.
getOutput in interface CloudFormationCreateUpdateStackActionPropspublic String getOutputFileName()
CloudFormationCreateUpdateStackActionPropsThe file will contain the result of the call to AWS CloudFormation (for example the call to UpdateStack or CreateChangeSet).
AWS CodePipeline adds the file to the output artifact after performing the specified action.
Default: No output artifact generatedgetOutputFileName in interface CloudFormationCreateUpdateStackActionPropspublic Map<String,Object> getParameterOverrides()
CloudFormationCreateUpdateStackActionPropsTemplate parameters specified here take precedence over template parameters
found in the artifact specified by the templateConfiguration property.
We recommend that you use the template configuration file to specify most of your parameter values. Use parameter overrides to specify only dynamic parameter values (values that are unknown until you run the pipeline).
All parameter names must be present in the stack template.
Note: the entire object cannot be more than 1kB.
Default: No overridesgetParameterOverrides in interface CloudFormationCreateUpdateStackActionPropspublic String getRegion()
CloudFormationCreateUpdateStackActionPropsPipelineProps#crossRegionReplicationBuckets property. If you don't, the CodePipeline Construct will create new Stacks in your CDK app containing those buckets, that you will need to `cdk deploy` before deploying the main, Pipeline-containing Stack.
Default: the Action resides in the same region as the PipelinegetRegion in interface CloudFormationCreateUpdateStackActionPropspublic Boolean getReplaceOnFailure()
CloudFormationCreateUpdateStackActionPropsIf this is set to true and the stack is in a failed state (one of ROLLBACK_COMPLETE, ROLLBACK_FAILED, CREATE_FAILED, DELETE_FAILED, or UPDATE_ROLLBACK_FAILED), AWS CloudFormation deletes the stack and then creates a new stack.
If this is not set to true and the stack is in a failed state, the deployment fails.
Default: falsegetReplaceOnFailure in interface CloudFormationCreateUpdateStackActionPropspublic ArtifactPath getTemplateConfiguration()
CloudFormationCreateUpdateStackActionPropsThe template configuration file should contain a JSON object that should look like this:
{ "Parameters": {...}, "Tags": {...}, "StackPolicy": {... }}. For more information,
see AWS CloudFormation Artifacts.
Note that if you include sensitive information, such as passwords, restrict access to this file.
Default: No template configuration based on input artifactsgetTemplateConfiguration in interface CloudFormationCreateUpdateStackActionPropspublic IRole getRole()
getRole in interface CommonAwsActionPropspublic String getActionName()
getActionName in interface CommonActionPropspublic Number getRunOrder()
getRunOrder in interface CommonActionPropspublic com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2019. All rights reserved.