Class CloudFormationCreateUpdateStackActionProps.Jsii$Proxy
- All Implemented Interfaces:
CloudFormationCreateUpdateStackActionProps,CommonActionProps,CommonAwsActionProps,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CloudFormationCreateUpdateStackActionProps
CloudFormationCreateUpdateStackActionProps-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.codepipeline.actions.CloudFormationCreateUpdateStackActionProps
CloudFormationCreateUpdateStackActionProps.Builder, CloudFormationCreateUpdateStackActionProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCloudFormationCreateUpdateStackActionProps.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodefinal booleanfinal StringThe AWS account this Action is supposed to operate in.final StringThe physical, human-readable name of the Action.final BooleanWhether to grant full permissions to CloudFormation while deploying this template.final List<CfnCapabilities> Acknowledge certain changes made as part of deployment.final IRoleIAM role to assume when deploying changes.The list of additional input Artifacts for this Action.final ArtifactThe name of the output artifact to generate.final StringA name for the filename in the output artifact to store the AWS CloudFormation call's result.Additional template parameters.final StringThe AWS region the given Action resides in.final BooleanReplace the stack if it's in a failed state.final IRolegetRole()The Role in which context's this Action will be executing in.final NumberThe runOrder property for this Action.final StringThe name of the stack to apply this action to.final ArtifactPathInput artifact to use for template parameters values and stack policy.final ArtifactPathInput artifact with the CloudFormation template to deploy.final StringThe name of the namespace to use for variables emitted by this action.final inthashCode()Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theCloudFormationCreateUpdateStackActionProps.Builder.
-
-
Method Details
-
getAdminPermissions
Description copied from interface:CloudFormationCreateUpdateStackActionPropsWhether to grant full permissions to CloudFormation while deploying this template.Setting this to
trueaffects the defaults forroleandcapabilities, 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
addToRolePolicyandcapabilitiesto control what the CloudFormation deployment is allowed to do.- Specified by:
getAdminPermissionsin interfaceCloudFormationCreateUpdateStackActionProps
-
getStackName
Description copied from interface:CloudFormationCreateUpdateStackActionPropsThe name of the stack to apply this action to.- Specified by:
getStackNamein interfaceCloudFormationCreateUpdateStackActionProps
-
getTemplatePath
Description copied from interface:CloudFormationCreateUpdateStackActionPropsInput artifact with the CloudFormation template to deploy.- Specified by:
getTemplatePathin interfaceCloudFormationCreateUpdateStackActionProps
-
getAccount
Description copied from interface:CloudFormationCreateUpdateStackActionPropsThe AWS account this Action is supposed to operate in.Note: if you specify the
roleproperty, this is ignored - the action will operate in the same region the passed role does.Default: - action resides in the same account as the pipeline
- Specified by:
getAccountin interfaceCloudFormationCreateUpdateStackActionProps
-
getCfnCapabilities
Description copied from interface:CloudFormationCreateUpdateStackActionPropsAcknowledge certain changes made as part of deployment.For stacks that contain certain resources, explicit acknowledgement is required that AWS CloudFormation might create or update those resources. For example, you must specify
ANONYMOUS_IAMorNAMED_IAMif your stack template contains AWS Identity and Access Management (IAM) resources. For more information, see the link below.Default: None, unless `adminPermissions` is true
- Specified by:
getCfnCapabilitiesin interfaceCloudFormationCreateUpdateStackActionProps- See Also:
-
getDeploymentRole
Description copied from interface:CloudFormationCreateUpdateStackActionPropsIAM role to assume when deploying changes.If not specified, a fresh role is created. The role is created with zero permissions unless
adminPermissionsis true, in which case the role will have full permissions.Default: A fresh role with full or no permissions (depending on the value of `adminPermissions`).
- Specified by:
getDeploymentRolein interfaceCloudFormationCreateUpdateStackActionProps
-
getExtraInputs
Description copied from interface:CloudFormationCreateUpdateStackActionPropsThe list of additional input Artifacts for this Action.This is especially useful when used in conjunction with the
parameterOverridesproperty. For example, if you have:parameterOverrides: { 'Param1': action1.outputArtifact.bucketName, 'Param2': action2.outputArtifact.objectKey, }
, if the output Artifacts of
action1andaction2were not used to set either thetemplateConfigurationor thetemplatePathproperties, you need to make sure to include them in theextraInputs- otherwise, you'll get an "unrecognized Artifact" error during your Pipeline's execution.- Specified by:
getExtraInputsin interfaceCloudFormationCreateUpdateStackActionProps
-
getOutput
Description copied from interface:CloudFormationCreateUpdateStackActionPropsThe name of the output artifact to generate.Only applied if
outputFileNameis set as well.Default: Automatically generated artifact name.
- Specified by:
getOutputin interfaceCloudFormationCreateUpdateStackActionProps
-
getOutputFileName
Description copied from interface:CloudFormationCreateUpdateStackActionPropsA name for the filename in the output artifact to store the AWS CloudFormation call's result.The 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 generated
- Specified by:
getOutputFileNamein interfaceCloudFormationCreateUpdateStackActionProps
-
getParameterOverrides
Description copied from interface:CloudFormationCreateUpdateStackActionPropsAdditional template parameters.Template parameters specified here take precedence over template parameters found in the artifact specified by the
templateConfigurationproperty.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 overrides
- Specified by:
getParameterOverridesin interfaceCloudFormationCreateUpdateStackActionProps
-
getRegion
Description copied from interface:CloudFormationCreateUpdateStackActionPropsThe AWS region the given Action resides in.Note that a cross-region Pipeline requires replication buckets to function correctly. You can provide their names with the
PipelineProps#crossRegionReplicationBucketsproperty. If you don't, the CodePipeline Construct will create new Stacks in your CDK app containing those buckets, that you will need tocdk deploybefore deploying the main, Pipeline-containing Stack.Default: the Action resides in the same region as the Pipeline
- Specified by:
getRegionin interfaceCloudFormationCreateUpdateStackActionProps
-
getReplaceOnFailure
Description copied from interface:CloudFormationCreateUpdateStackActionPropsReplace the stack if it's in a failed state.If 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: false
- Specified by:
getReplaceOnFailurein interfaceCloudFormationCreateUpdateStackActionProps
-
getTemplateConfiguration
Description copied from interface:CloudFormationCreateUpdateStackActionPropsInput artifact to use for template parameters values and stack policy.The 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 artifacts
- Specified by:
getTemplateConfigurationin interfaceCloudFormationCreateUpdateStackActionProps
-
getRole
Description copied from interface:CommonAwsActionPropsThe Role in which context's this Action will be executing in.The Pipeline's Role will assume this Role (the required permissions for that will be granted automatically) right before executing this Action. This Action will be passed into your
IAction.bindmethod in theActionBindOptions.roleproperty.Default: a new Role will be generated
- Specified by:
getRolein interfaceCommonAwsActionProps
-
getActionName
Description copied from interface:CommonActionPropsThe physical, human-readable name of the Action.Note that Action names must be unique within a single Stage.
- Specified by:
getActionNamein interfaceCommonActionProps
-
getRunOrder
Description copied from interface:CommonActionPropsThe runOrder property for this Action.RunOrder determines the relative order in which multiple Actions in the same Stage execute.
Default: 1
- Specified by:
getRunOrderin interfaceCommonActionProps- See Also:
-
getVariablesNamespace
Description copied from interface:CommonActionPropsThe name of the namespace to use for variables emitted by this action.Default: - a name will be generated, based on the stage and action names, if any of the action's variables were referenced - otherwise, no namespace will be set
- Specified by:
getVariablesNamespacein interfaceCommonActionProps
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-