Documentation ¶
Overview ¶
Package callback provides functions for creating resource providers that may need to be called multiple times while waiting for resources to settle.
Index ¶
Constants ¶
View Source
const ( //ServiceInternalError ... ServiceInternalError string = "ServiceInternal" //MaxRetries is the number of retries allowed to report status. MaxRetries uint = 3 )
Variables ¶
This section is empty.
Functions ¶
func TranslateErrorCode ¶
TranslateErrorCode : Translate the error code into a standard Cloudformation error
func TranslateOperationStatus ¶
TranslateOperationStatus Translate the operation Status into a standard Cloudformation error
Types ¶
type CloudFormationCallbackAdapter ¶
type CloudFormationCallbackAdapter struct {
// contains filtered or unexported fields
}
CloudFormationCallbackAdapter used to report progress events back to CloudFormation.
func New ¶
func New(client cloudformationiface.CloudFormationAPI) *CloudFormationCallbackAdapter
New creates a CloudFormationCallbackAdapter and returns a pointer to the struct.
func (*CloudFormationCallbackAdapter) ReportProgress ¶
func (c *CloudFormationCallbackAdapter) ReportProgress(bearerToken string, code string, operationStatus string, currentOperationStatus string, resourceModel string, statusMessage string) error
ReportProgress reports the current status back to the Cloudformation service.
Click to show internal directories.
Click to hide internal directories.