ManualApprovalActionProps Struct
Construction properties of the ManualApprovalAction.
Example
const pipeline = new codepipeline.Pipeline(this, 'MyPipeline');
const approveStage = pipeline.addStage({ stageName: 'Approve' });
const manualApprovalAction = new codepipeline_actions.ManualApprovalAction({
actionName: 'Approve',
});
approveStage.addAction(manualApprovalAction);
const role = iam.Role.fromRoleArn(this, 'Admin', Arn.format({ service: 'iam', resource: 'role', resourceName: 'Admin' }, this));
manualApprovalAction.grantManualApproval(role);
Properties
Note that Action names must be unique within a single Stage.
additionalInformationoptionalstringadditional_informationoptionalstradditionalInformationoptionalStringAdditionalInformationoptionalstringAdditionalInformationoptional*string#externalEntityLinkoptionalstringexternal_entity_linkoptionalstrexternalEntityLinkoptionalStringExternalEntityLinkoptionalstringExternalEntityLinkoptional*string#Default: the approval request will not have an external link
notificationTopicoptionalITopicnotification_topicoptionalITopicnotificationTopicoptionalITopicNotificationTopicoptionalITopicNotificationTopicoptionalITopic#notifyEmailsoptionalstring[]notify_emailsoptionaltyping.List[str]notifyEmailsoptionalList<String>NotifyEmailsoptionalstring[]NotifyEmailsoptional*[]*string#If this has been provided, but not notificationTopic, a new Topic will be created.
Default: a new Role will be generated
notes
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.bind method in the ActionBindOptions.role property.
runOrderoptionalnumberrun_orderoptionalint | floatrunOrderoptionalNumberRunOrderoptionaldoubleRunOrderoptional*float64= 1#RunOrder determines the relative order in which multiple Actions in the same Stage execute.
timeoutoptionalDurationtimeoutoptionalDurationtimeoutoptionalDurationTimeoutoptionalDurationTimeoutoptionalDuration#Default: 10080 minutes (7 days)
It is configurable up to 86400 minutes (60 days) with a minimum value of 5 minutes.
variablesNamespaceoptionalstringvariables_namespaceoptionalstrvariablesNamespaceoptionalStringVariablesNamespaceoptionalstringVariablesNamespaceoptional*string#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