[][src]Trait rusoto_cloudformation::CloudFormation

pub trait CloudFormation {
    fn cancel_update_stack(
        &self,
        input: CancelUpdateStackInput
    ) -> RusotoFuture<(), CancelUpdateStackError>;
fn continue_update_rollback(
        &self,
        input: ContinueUpdateRollbackInput
    ) -> RusotoFuture<ContinueUpdateRollbackOutput, ContinueUpdateRollbackError>;
fn create_change_set(
        &self,
        input: CreateChangeSetInput
    ) -> RusotoFuture<CreateChangeSetOutput, CreateChangeSetError>;
fn create_stack(
        &self,
        input: CreateStackInput
    ) -> RusotoFuture<CreateStackOutput, CreateStackError>;
fn create_stack_instances(
        &self,
        input: CreateStackInstancesInput
    ) -> RusotoFuture<CreateStackInstancesOutput, CreateStackInstancesError>;
fn create_stack_set(
        &self,
        input: CreateStackSetInput
    ) -> RusotoFuture<CreateStackSetOutput, CreateStackSetError>;
fn delete_change_set(
        &self,
        input: DeleteChangeSetInput
    ) -> RusotoFuture<DeleteChangeSetOutput, DeleteChangeSetError>;
fn delete_stack(
        &self,
        input: DeleteStackInput
    ) -> RusotoFuture<(), DeleteStackError>;
fn delete_stack_instances(
        &self,
        input: DeleteStackInstancesInput
    ) -> RusotoFuture<DeleteStackInstancesOutput, DeleteStackInstancesError>;
fn delete_stack_set(
        &self,
        input: DeleteStackSetInput
    ) -> RusotoFuture<DeleteStackSetOutput, DeleteStackSetError>;
fn describe_account_limits(
        &self,
        input: DescribeAccountLimitsInput
    ) -> RusotoFuture<DescribeAccountLimitsOutput, DescribeAccountLimitsError>;
fn describe_change_set(
        &self,
        input: DescribeChangeSetInput
    ) -> RusotoFuture<DescribeChangeSetOutput, DescribeChangeSetError>;
fn describe_stack_drift_detection_status(
        &self,
        input: DescribeStackDriftDetectionStatusInput
    ) -> RusotoFuture<DescribeStackDriftDetectionStatusOutput, DescribeStackDriftDetectionStatusError>;
fn describe_stack_events(
        &self,
        input: DescribeStackEventsInput
    ) -> RusotoFuture<DescribeStackEventsOutput, DescribeStackEventsError>;
fn describe_stack_instance(
        &self,
        input: DescribeStackInstanceInput
    ) -> RusotoFuture<DescribeStackInstanceOutput, DescribeStackInstanceError>;
fn describe_stack_resource(
        &self,
        input: DescribeStackResourceInput
    ) -> RusotoFuture<DescribeStackResourceOutput, DescribeStackResourceError>;
fn describe_stack_resource_drifts(
        &self,
        input: DescribeStackResourceDriftsInput
    ) -> RusotoFuture<DescribeStackResourceDriftsOutput, DescribeStackResourceDriftsError>;
fn describe_stack_resources(
        &self,
        input: DescribeStackResourcesInput
    ) -> RusotoFuture<DescribeStackResourcesOutput, DescribeStackResourcesError>;
fn describe_stack_set(
        &self,
        input: DescribeStackSetInput
    ) -> RusotoFuture<DescribeStackSetOutput, DescribeStackSetError>;
fn describe_stack_set_operation(
        &self,
        input: DescribeStackSetOperationInput
    ) -> RusotoFuture<DescribeStackSetOperationOutput, DescribeStackSetOperationError>;
fn describe_stacks(
        &self,
        input: DescribeStacksInput
    ) -> RusotoFuture<DescribeStacksOutput, DescribeStacksError>;
fn detect_stack_drift(
        &self,
        input: DetectStackDriftInput
    ) -> RusotoFuture<DetectStackDriftOutput, DetectStackDriftError>;
fn detect_stack_resource_drift(
        &self,
        input: DetectStackResourceDriftInput
    ) -> RusotoFuture<DetectStackResourceDriftOutput, DetectStackResourceDriftError>;
fn estimate_template_cost(
        &self,
        input: EstimateTemplateCostInput
    ) -> RusotoFuture<EstimateTemplateCostOutput, EstimateTemplateCostError>;
fn execute_change_set(
        &self,
        input: ExecuteChangeSetInput
    ) -> RusotoFuture<ExecuteChangeSetOutput, ExecuteChangeSetError>;
fn get_stack_policy(
        &self,
        input: GetStackPolicyInput
    ) -> RusotoFuture<GetStackPolicyOutput, GetStackPolicyError>;
fn get_template(
        &self,
        input: GetTemplateInput
    ) -> RusotoFuture<GetTemplateOutput, GetTemplateError>;
fn get_template_summary(
        &self,
        input: GetTemplateSummaryInput
    ) -> RusotoFuture<GetTemplateSummaryOutput, GetTemplateSummaryError>;
fn list_change_sets(
        &self,
        input: ListChangeSetsInput
    ) -> RusotoFuture<ListChangeSetsOutput, ListChangeSetsError>;
fn list_exports(
        &self,
        input: ListExportsInput
    ) -> RusotoFuture<ListExportsOutput, ListExportsError>;
fn list_imports(
        &self,
        input: ListImportsInput
    ) -> RusotoFuture<ListImportsOutput, ListImportsError>;
fn list_stack_instances(
        &self,
        input: ListStackInstancesInput
    ) -> RusotoFuture<ListStackInstancesOutput, ListStackInstancesError>;
fn list_stack_resources(
        &self,
        input: ListStackResourcesInput
    ) -> RusotoFuture<ListStackResourcesOutput, ListStackResourcesError>;
fn list_stack_set_operation_results(
        &self,
        input: ListStackSetOperationResultsInput
    ) -> RusotoFuture<ListStackSetOperationResultsOutput, ListStackSetOperationResultsError>;
fn list_stack_set_operations(
        &self,
        input: ListStackSetOperationsInput
    ) -> RusotoFuture<ListStackSetOperationsOutput, ListStackSetOperationsError>;
fn list_stack_sets(
        &self,
        input: ListStackSetsInput
    ) -> RusotoFuture<ListStackSetsOutput, ListStackSetsError>;
fn list_stacks(
        &self,
        input: ListStacksInput
    ) -> RusotoFuture<ListStacksOutput, ListStacksError>;
fn set_stack_policy(
        &self,
        input: SetStackPolicyInput
    ) -> RusotoFuture<(), SetStackPolicyError>;
fn signal_resource(
        &self,
        input: SignalResourceInput
    ) -> RusotoFuture<(), SignalResourceError>;
fn stop_stack_set_operation(
        &self,
        input: StopStackSetOperationInput
    ) -> RusotoFuture<StopStackSetOperationOutput, StopStackSetOperationError>;
fn update_stack(
        &self,
        input: UpdateStackInput
    ) -> RusotoFuture<UpdateStackOutput, UpdateStackError>;
fn update_stack_instances(
        &self,
        input: UpdateStackInstancesInput
    ) -> RusotoFuture<UpdateStackInstancesOutput, UpdateStackInstancesError>;
fn update_stack_set(
        &self,
        input: UpdateStackSetInput
    ) -> RusotoFuture<UpdateStackSetOutput, UpdateStackSetError>;
fn update_termination_protection(
        &self,
        input: UpdateTerminationProtectionInput
    ) -> RusotoFuture<UpdateTerminationProtectionOutput, UpdateTerminationProtectionError>;
fn validate_template(
        &self,
        input: ValidateTemplateInput
    ) -> RusotoFuture<ValidateTemplateOutput, ValidateTemplateError>; }

Trait representing the capabilities of the AWS CloudFormation API. AWS CloudFormation clients implement this trait.

Required methods

fn cancel_update_stack(
    &self,
    input: CancelUpdateStackInput
) -> RusotoFuture<(), CancelUpdateStackError>

Cancels an update on the specified stack. If the call completes successfully, the stack rolls back the update and reverts to the previous stack configuration.

You can cancel only stacks that are in the UPDATEINPROGRESS state.

fn continue_update_rollback(
    &self,
    input: ContinueUpdateRollbackInput
) -> RusotoFuture<ContinueUpdateRollbackOutput, ContinueUpdateRollbackError>

For a specified stack that is in the UPDATE_ROLLBACK_FAILED state, continues rolling it back to the UPDATE_ROLLBACK_COMPLETE state. Depending on the cause of the failure, you can manually fix the error and continue the rollback. By continuing the rollback, you can return your stack to a working state (the UPDATE_ROLLBACK_COMPLETE state), and then try to update the stack again.

A stack goes into the UPDATE_ROLLBACK_FAILED state when AWS CloudFormation cannot roll back all changes after a failed stack update. For example, you might have a stack that is rolling back to an old database instance that was deleted outside of AWS CloudFormation. Because AWS CloudFormation doesn't know the database was deleted, it assumes that the database instance still exists and attempts to roll back to it, causing the update rollback to fail.

fn create_change_set(
    &self,
    input: CreateChangeSetInput
) -> RusotoFuture<CreateChangeSetOutput, CreateChangeSetError>

Creates a list of changes that will be applied to a stack so that you can review the changes before executing them. You can create a change set for a stack that doesn't exist or an existing stack. If you create a change set for a stack that doesn't exist, the change set shows all of the resources that AWS CloudFormation will create. If you create a change set for an existing stack, AWS CloudFormation compares the stack's information with the information that you submit in the change set and lists the differences. Use change sets to understand which resources AWS CloudFormation will create or change, and how it will change resources in an existing stack, before you create or update a stack.

To create a change set for a stack that doesn't exist, for the ChangeSetType parameter, specify CREATE. To create a change set for an existing stack, specify UPDATE for the ChangeSetType parameter. After the CreateChangeSet call successfully completes, AWS CloudFormation starts creating the change set. To check the status of the change set or to review it, use the DescribeChangeSet action.

When you are satisfied with the changes the change set will make, execute the change set by using the ExecuteChangeSet action. AWS CloudFormation doesn't make changes until you execute the change set.

fn create_stack(
    &self,
    input: CreateStackInput
) -> RusotoFuture<CreateStackOutput, CreateStackError>

Creates a stack as specified in the template. After the call completes successfully, the stack creation starts. You can check the status of the stack via the DescribeStacks API.

fn create_stack_instances(
    &self,
    input: CreateStackInstancesInput
) -> RusotoFuture<CreateStackInstancesOutput, CreateStackInstancesError>

Creates stack instances for the specified accounts, within the specified regions. A stack instance refers to a stack in a specific account and region. Accounts and Regions are required parameters—you must specify at least one account and one region.

fn create_stack_set(
    &self,
    input: CreateStackSetInput
) -> RusotoFuture<CreateStackSetOutput, CreateStackSetError>

Creates a stack set.

fn delete_change_set(
    &self,
    input: DeleteChangeSetInput
) -> RusotoFuture<DeleteChangeSetOutput, DeleteChangeSetError>

Deletes the specified change set. Deleting change sets ensures that no one executes the wrong change set.

If the call successfully completes, AWS CloudFormation successfully deleted the change set.

fn delete_stack(
    &self,
    input: DeleteStackInput
) -> RusotoFuture<(), DeleteStackError>

Deletes a specified stack. Once the call completes successfully, stack deletion starts. Deleted stacks do not show up in the DescribeStacks API if the deletion has been completed successfully.

fn delete_stack_instances(
    &self,
    input: DeleteStackInstancesInput
) -> RusotoFuture<DeleteStackInstancesOutput, DeleteStackInstancesError>

Deletes stack instances for the specified accounts, in the specified regions.

fn delete_stack_set(
    &self,
    input: DeleteStackSetInput
) -> RusotoFuture<DeleteStackSetOutput, DeleteStackSetError>

Deletes a stack set. Before you can delete a stack set, all of its member stack instances must be deleted. For more information about how to do this, see DeleteStackInstances.

fn describe_account_limits(
    &self,
    input: DescribeAccountLimitsInput
) -> RusotoFuture<DescribeAccountLimitsOutput, DescribeAccountLimitsError>

Retrieves your account's AWS CloudFormation limits, such as the maximum number of stacks that you can create in your account. For more information about account limits, see AWS CloudFormation Limits in the AWS CloudFormation User Guide.

fn describe_change_set(
    &self,
    input: DescribeChangeSetInput
) -> RusotoFuture<DescribeChangeSetOutput, DescribeChangeSetError>

Returns the inputs for the change set and a list of changes that AWS CloudFormation will make if you execute the change set. For more information, see Updating Stacks Using Change Sets in the AWS CloudFormation User Guide.

fn describe_stack_drift_detection_status(
    &self,
    input: DescribeStackDriftDetectionStatusInput
) -> RusotoFuture<DescribeStackDriftDetectionStatusOutput, DescribeStackDriftDetectionStatusError>

Returns information about a stack drift detection operation. A stack drift detection operation detects whether a stack's actual configuration differs, or has drifted, from it's expected configuration, as defined in the stack template and any values specified as template parameters. A stack is considered to have drifted if one or more of its resources have drifted. For more information on stack and resource drift, see Detecting Unregulated Configuration Changes to Stacks and Resources.

Use DetectStackDrift to initiate a stack drift detection operation. DetectStackDrift returns a StackDriftDetectionId you can use to monitor the progress of the operation using DescribeStackDriftDetectionStatus. Once the drift detection operation has completed, use DescribeStackResourceDrifts to return drift information about the stack and its resources.

fn describe_stack_events(
    &self,
    input: DescribeStackEventsInput
) -> RusotoFuture<DescribeStackEventsOutput, DescribeStackEventsError>

Returns all stack related events for a specified stack in reverse chronological order. For more information about a stack's event history, go to Stacks in the AWS CloudFormation User Guide.

You can list events for stacks that have failed to create or have been deleted by specifying the unique stack identifier (stack ID).

fn describe_stack_instance(
    &self,
    input: DescribeStackInstanceInput
) -> RusotoFuture<DescribeStackInstanceOutput, DescribeStackInstanceError>

Returns the stack instance that's associated with the specified stack set, AWS account, and region.

For a list of stack instances that are associated with a specific stack set, use ListStackInstances.

fn describe_stack_resource(
    &self,
    input: DescribeStackResourceInput
) -> RusotoFuture<DescribeStackResourceOutput, DescribeStackResourceError>

Returns a description of the specified resource in the specified stack.

For deleted stacks, DescribeStackResource returns resource information for up to 90 days after the stack has been deleted.

fn describe_stack_resource_drifts(
    &self,
    input: DescribeStackResourceDriftsInput
) -> RusotoFuture<DescribeStackResourceDriftsOutput, DescribeStackResourceDriftsError>

Returns drift information for the resources that have been checked for drift in the specified stack. This includes actual and expected configuration values for resources where AWS CloudFormation detects configuration drift.

For a given stack, there will be one StackResourceDrift for each stack resource that has been checked for drift. Resources that have not yet been checked for drift are not included. Resources that do not currently support drift detection are not checked, and so not included. For a list of resources that support drift detection, see Resources that Support Drift Detection.

Use DetectStackResourceDrift to detect drift on individual resources, or DetectStackDrift to detect drift on all supported resources for a given stack.

fn describe_stack_resources(
    &self,
    input: DescribeStackResourcesInput
) -> RusotoFuture<DescribeStackResourcesOutput, DescribeStackResourcesError>

Returns AWS resource descriptions for running and deleted stacks. If StackName is specified, all the associated resources that are part of the stack are returned. If PhysicalResourceId is specified, the associated resources of the stack that the resource belongs to are returned.

Only the first 100 resources will be returned. If your stack has more resources than this, you should use ListStackResources instead.

For deleted stacks, DescribeStackResources returns resource information for up to 90 days after the stack has been deleted.

You must specify either StackName or PhysicalResourceId, but not both. In addition, you can specify LogicalResourceId to filter the returned result. For more information about resources, the LogicalResourceId and PhysicalResourceId, go to the AWS CloudFormation User Guide.

A ValidationError is returned if you specify both StackName and PhysicalResourceId in the same request.

fn describe_stack_set(
    &self,
    input: DescribeStackSetInput
) -> RusotoFuture<DescribeStackSetOutput, DescribeStackSetError>

Returns the description of the specified stack set.

fn describe_stack_set_operation(
    &self,
    input: DescribeStackSetOperationInput
) -> RusotoFuture<DescribeStackSetOperationOutput, DescribeStackSetOperationError>

Returns the description of the specified stack set operation.

fn describe_stacks(
    &self,
    input: DescribeStacksInput
) -> RusotoFuture<DescribeStacksOutput, DescribeStacksError>

Returns the description for the specified stack; if no stack name was specified, then it returns the description for all the stacks created.

If the stack does not exist, an AmazonCloudFormationException is returned.

fn detect_stack_drift(
    &self,
    input: DetectStackDriftInput
) -> RusotoFuture<DetectStackDriftOutput, DetectStackDriftError>

Detects whether a stack's actual configuration differs, or has drifted, from it's expected configuration, as defined in the stack template and any values specified as template parameters. For each resource in the stack that supports drift detection, AWS CloudFormation compares the actual configuration of the resource with its expected template configuration. Only resource properties explicitly defined in the stack template are checked for drift. A stack is considered to have drifted if one or more of its resources differ from their expected template configurations. For more information, see Detecting Unregulated Configuration Changes to Stacks and Resources.

Use DetectStackDrift to detect drift on all supported resources for a given stack, or DetectStackResourceDrift to detect drift on individual resources.

For a list of stack resources that currently support drift detection, see Resources that Support Drift Detection.

DetectStackDrift can take up to several minutes, depending on the number of resources contained within the stack. Use DescribeStackDriftDetectionStatus to monitor the progress of a detect stack drift operation. Once the drift detection operation has completed, use DescribeStackResourceDrifts to return drift information about the stack and its resources.

When detecting drift on a stack, AWS CloudFormation does not detect drift on any nested stacks belonging to that stack. Perform DetectStackDrift directly on the nested stack itself.

fn detect_stack_resource_drift(
    &self,
    input: DetectStackResourceDriftInput
) -> RusotoFuture<DetectStackResourceDriftOutput, DetectStackResourceDriftError>

Returns information about whether a resource's actual configuration differs, or has drifted, from it's expected configuration, as defined in the stack template and any values specified as template parameters. This information includes actual and expected property values for resources in which AWS CloudFormation detects drift. Only resource properties explicitly defined in the stack template are checked for drift. For more information about stack and resource drift, see Detecting Unregulated Configuration Changes to Stacks and Resources.

Use DetectStackResourceDrift to detect drift on individual resources, or DetectStackDrift to detect drift on all resources in a given stack that support drift detection.

Resources that do not currently support drift detection cannot be checked. For a list of resources that support drift detection, see Resources that Support Drift Detection.

fn estimate_template_cost(
    &self,
    input: EstimateTemplateCostInput
) -> RusotoFuture<EstimateTemplateCostOutput, EstimateTemplateCostError>

Returns the estimated monthly cost of a template. The return value is an AWS Simple Monthly Calculator URL with a query string that describes the resources required to run the template.

fn execute_change_set(
    &self,
    input: ExecuteChangeSetInput
) -> RusotoFuture<ExecuteChangeSetOutput, ExecuteChangeSetError>

Updates a stack using the input information that was provided when the specified change set was created. After the call successfully completes, AWS CloudFormation starts updating the stack. Use the DescribeStacks action to view the status of the update.

When you execute a change set, AWS CloudFormation deletes all other change sets associated with the stack because they aren't valid for the updated stack.

If a stack policy is associated with the stack, AWS CloudFormation enforces the policy during the update. You can't specify a temporary stack policy that overrides the current policy.

fn get_stack_policy(
    &self,
    input: GetStackPolicyInput
) -> RusotoFuture<GetStackPolicyOutput, GetStackPolicyError>

Returns the stack policy for a specified stack. If a stack doesn't have a policy, a null value is returned.

fn get_template(
    &self,
    input: GetTemplateInput
) -> RusotoFuture<GetTemplateOutput, GetTemplateError>

Returns the template body for a specified stack. You can get the template for running or deleted stacks.

For deleted stacks, GetTemplate returns the template for up to 90 days after the stack has been deleted.

If the template does not exist, a ValidationError is returned.

fn get_template_summary(
    &self,
    input: GetTemplateSummaryInput
) -> RusotoFuture<GetTemplateSummaryOutput, GetTemplateSummaryError>

Returns information about a new or existing template. The GetTemplateSummary action is useful for viewing parameter information, such as default parameter values and parameter types, before you create or update a stack or stack set.

You can use the GetTemplateSummary action when you submit a template, or you can get template information for a stack set, or a running or deleted stack.

For deleted stacks, GetTemplateSummary returns the template information for up to 90 days after the stack has been deleted. If the template does not exist, a ValidationError is returned.

fn list_change_sets(
    &self,
    input: ListChangeSetsInput
) -> RusotoFuture<ListChangeSetsOutput, ListChangeSetsError>

Returns the ID and status of each active change set for a stack. For example, AWS CloudFormation lists change sets that are in the CREATE_IN_PROGRESS or CREATE_PENDING state.

fn list_exports(
    &self,
    input: ListExportsInput
) -> RusotoFuture<ListExportsOutput, ListExportsError>

Lists all exported output values in the account and region in which you call this action. Use this action to see the exported output values that you can import into other stacks. To import values, use the Fn::ImportValue function.

For more information, see AWS CloudFormation Export Stack Output Values.

fn list_imports(
    &self,
    input: ListImportsInput
) -> RusotoFuture<ListImportsOutput, ListImportsError>

Lists all stacks that are importing an exported output value. To modify or remove an exported output value, first use this action to see which stacks are using it. To see the exported output values in your account, see ListExports.

For more information about importing an exported output value, see the Fn::ImportValue function.

fn list_stack_instances(
    &self,
    input: ListStackInstancesInput
) -> RusotoFuture<ListStackInstancesOutput, ListStackInstancesError>

Returns summary information about stack instances that are associated with the specified stack set. You can filter for stack instances that are associated with a specific AWS account name or region.

fn list_stack_resources(
    &self,
    input: ListStackResourcesInput
) -> RusotoFuture<ListStackResourcesOutput, ListStackResourcesError>

Returns descriptions of all resources of the specified stack.

For deleted stacks, ListStackResources returns resource information for up to 90 days after the stack has been deleted.

fn list_stack_set_operation_results(
    &self,
    input: ListStackSetOperationResultsInput
) -> RusotoFuture<ListStackSetOperationResultsOutput, ListStackSetOperationResultsError>

Returns summary information about the results of a stack set operation.

fn list_stack_set_operations(
    &self,
    input: ListStackSetOperationsInput
) -> RusotoFuture<ListStackSetOperationsOutput, ListStackSetOperationsError>

Returns summary information about operations performed on a stack set.

fn list_stack_sets(
    &self,
    input: ListStackSetsInput
) -> RusotoFuture<ListStackSetsOutput, ListStackSetsError>

Returns summary information about stack sets that are associated with the user.

fn list_stacks(
    &self,
    input: ListStacksInput
) -> RusotoFuture<ListStacksOutput, ListStacksError>

Returns the summary information for stacks whose status matches the specified StackStatusFilter. Summary information for stacks that have been deleted is kept for 90 days after the stack is deleted. If no StackStatusFilter is specified, summary information for all stacks is returned (including existing stacks and stacks that have been deleted).

fn set_stack_policy(
    &self,
    input: SetStackPolicyInput
) -> RusotoFuture<(), SetStackPolicyError>

Sets a stack policy for a specified stack.

fn signal_resource(
    &self,
    input: SignalResourceInput
) -> RusotoFuture<(), SignalResourceError>

Sends a signal to the specified resource with a success or failure status. You can use the SignalResource API in conjunction with a creation policy or update policy. AWS CloudFormation doesn't proceed with a stack creation or update until resources receive the required number of signals or the timeout period is exceeded. The SignalResource API is useful in cases where you want to send signals from anywhere other than an Amazon EC2 instance.

fn stop_stack_set_operation(
    &self,
    input: StopStackSetOperationInput
) -> RusotoFuture<StopStackSetOperationOutput, StopStackSetOperationError>

Stops an in-progress operation on a stack set and its associated stack instances.

fn update_stack(
    &self,
    input: UpdateStackInput
) -> RusotoFuture<UpdateStackOutput, UpdateStackError>

Updates a stack as specified in the template. After the call completes successfully, the stack update starts. You can check the status of the stack via the DescribeStacks action.

To get a copy of the template for an existing stack, you can use the GetTemplate action.

For more information about creating an update template, updating a stack, and monitoring the progress of the update, see Updating a Stack.

fn update_stack_instances(
    &self,
    input: UpdateStackInstancesInput
) -> RusotoFuture<UpdateStackInstancesOutput, UpdateStackInstancesError>

Updates the parameter values for stack instances for the specified accounts, within the specified regions. A stack instance refers to a stack in a specific account and region.

You can only update stack instances in regions and accounts where they already exist; to create additional stack instances, use CreateStackInstances.

During stack set updates, any parameters overridden for a stack instance are not updated, but retain their overridden value.

You can only update the parameter values that are specified in the stack set; to add or delete a parameter itself, use UpdateStackSet to update the stack set template. If you add a parameter to a template, before you can override the parameter value specified in the stack set you must first use UpdateStackSet to update all stack instances with the updated template and parameter value specified in the stack set. Once a stack instance has been updated with the new parameter, you can then override the parameter value using UpdateStackInstances.

fn update_stack_set(
    &self,
    input: UpdateStackSetInput
) -> RusotoFuture<UpdateStackSetOutput, UpdateStackSetError>

Updates the stack set, and associated stack instances in the specified accounts and regions.

Even if the stack set operation created by updating the stack set fails (completely or partially, below or above a specified failure tolerance), the stack set is updated with your changes. Subsequent CreateStackInstances calls on the specified stack set use the updated stack set.

fn update_termination_protection(
    &self,
    input: UpdateTerminationProtectionInput
) -> RusotoFuture<UpdateTerminationProtectionOutput, UpdateTerminationProtectionError>

Updates termination protection for the specified stack. If a user attempts to delete a stack with termination protection enabled, the operation fails and the stack remains unchanged. For more information, see Protecting a Stack From Being Deleted in the AWS CloudFormation User Guide.

For nested stacks, termination protection is set on the root stack and cannot be changed directly on the nested stack.

fn validate_template(
    &self,
    input: ValidateTemplateInput
) -> RusotoFuture<ValidateTemplateOutput, ValidateTemplateError>

Validates a specified template. AWS CloudFormation first checks if the template is valid JSON. If it isn't, AWS CloudFormation checks if the template is valid YAML. If both these checks fail, AWS CloudFormation returns a template validation error.

Loading content...

Implementors

impl CloudFormation for CloudFormationClient[src]

fn cancel_update_stack(
    &self,
    input: CancelUpdateStackInput
) -> RusotoFuture<(), CancelUpdateStackError>
[src]

Cancels an update on the specified stack. If the call completes successfully, the stack rolls back the update and reverts to the previous stack configuration.

You can cancel only stacks that are in the UPDATEINPROGRESS state.

fn continue_update_rollback(
    &self,
    input: ContinueUpdateRollbackInput
) -> RusotoFuture<ContinueUpdateRollbackOutput, ContinueUpdateRollbackError>
[src]

For a specified stack that is in the UPDATE_ROLLBACK_FAILED state, continues rolling it back to the UPDATE_ROLLBACK_COMPLETE state. Depending on the cause of the failure, you can manually fix the error and continue the rollback. By continuing the rollback, you can return your stack to a working state (the UPDATE_ROLLBACK_COMPLETE state), and then try to update the stack again.

A stack goes into the UPDATE_ROLLBACK_FAILED state when AWS CloudFormation cannot roll back all changes after a failed stack update. For example, you might have a stack that is rolling back to an old database instance that was deleted outside of AWS CloudFormation. Because AWS CloudFormation doesn't know the database was deleted, it assumes that the database instance still exists and attempts to roll back to it, causing the update rollback to fail.

fn create_change_set(
    &self,
    input: CreateChangeSetInput
) -> RusotoFuture<CreateChangeSetOutput, CreateChangeSetError>
[src]

Creates a list of changes that will be applied to a stack so that you can review the changes before executing them. You can create a change set for a stack that doesn't exist or an existing stack. If you create a change set for a stack that doesn't exist, the change set shows all of the resources that AWS CloudFormation will create. If you create a change set for an existing stack, AWS CloudFormation compares the stack's information with the information that you submit in the change set and lists the differences. Use change sets to understand which resources AWS CloudFormation will create or change, and how it will change resources in an existing stack, before you create or update a stack.

To create a change set for a stack that doesn't exist, for the ChangeSetType parameter, specify CREATE. To create a change set for an existing stack, specify UPDATE for the ChangeSetType parameter. After the CreateChangeSet call successfully completes, AWS CloudFormation starts creating the change set. To check the status of the change set or to review it, use the DescribeChangeSet action.

When you are satisfied with the changes the change set will make, execute the change set by using the ExecuteChangeSet action. AWS CloudFormation doesn't make changes until you execute the change set.

fn create_stack(
    &self,
    input: CreateStackInput
) -> RusotoFuture<CreateStackOutput, CreateStackError>
[src]

Creates a stack as specified in the template. After the call completes successfully, the stack creation starts. You can check the status of the stack via the DescribeStacks API.

fn create_stack_instances(
    &self,
    input: CreateStackInstancesInput
) -> RusotoFuture<CreateStackInstancesOutput, CreateStackInstancesError>
[src]

Creates stack instances for the specified accounts, within the specified regions. A stack instance refers to a stack in a specific account and region. Accounts and Regions are required parameters—you must specify at least one account and one region.

fn create_stack_set(
    &self,
    input: CreateStackSetInput
) -> RusotoFuture<CreateStackSetOutput, CreateStackSetError>
[src]

Creates a stack set.

fn delete_change_set(
    &self,
    input: DeleteChangeSetInput
) -> RusotoFuture<DeleteChangeSetOutput, DeleteChangeSetError>
[src]

Deletes the specified change set. Deleting change sets ensures that no one executes the wrong change set.

If the call successfully completes, AWS CloudFormation successfully deleted the change set.

fn delete_stack(
    &self,
    input: DeleteStackInput
) -> RusotoFuture<(), DeleteStackError>
[src]

Deletes a specified stack. Once the call completes successfully, stack deletion starts. Deleted stacks do not show up in the DescribeStacks API if the deletion has been completed successfully.

fn delete_stack_instances(
    &self,
    input: DeleteStackInstancesInput
) -> RusotoFuture<DeleteStackInstancesOutput, DeleteStackInstancesError>
[src]

Deletes stack instances for the specified accounts, in the specified regions.

fn delete_stack_set(
    &self,
    input: DeleteStackSetInput
) -> RusotoFuture<DeleteStackSetOutput, DeleteStackSetError>
[src]

Deletes a stack set. Before you can delete a stack set, all of its member stack instances must be deleted. For more information about how to do this, see DeleteStackInstances.

fn describe_account_limits(
    &self,
    input: DescribeAccountLimitsInput
) -> RusotoFuture<DescribeAccountLimitsOutput, DescribeAccountLimitsError>
[src]

Retrieves your account's AWS CloudFormation limits, such as the maximum number of stacks that you can create in your account. For more information about account limits, see AWS CloudFormation Limits in the AWS CloudFormation User Guide.

fn describe_change_set(
    &self,
    input: DescribeChangeSetInput
) -> RusotoFuture<DescribeChangeSetOutput, DescribeChangeSetError>
[src]

Returns the inputs for the change set and a list of changes that AWS CloudFormation will make if you execute the change set. For more information, see Updating Stacks Using Change Sets in the AWS CloudFormation User Guide.

fn describe_stack_drift_detection_status(
    &self,
    input: DescribeStackDriftDetectionStatusInput
) -> RusotoFuture<DescribeStackDriftDetectionStatusOutput, DescribeStackDriftDetectionStatusError>
[src]

Returns information about a stack drift detection operation. A stack drift detection operation detects whether a stack's actual configuration differs, or has drifted, from it's expected configuration, as defined in the stack template and any values specified as template parameters. A stack is considered to have drifted if one or more of its resources have drifted. For more information on stack and resource drift, see Detecting Unregulated Configuration Changes to Stacks and Resources.

Use DetectStackDrift to initiate a stack drift detection operation. DetectStackDrift returns a StackDriftDetectionId you can use to monitor the progress of the operation using DescribeStackDriftDetectionStatus. Once the drift detection operation has completed, use DescribeStackResourceDrifts to return drift information about the stack and its resources.

fn describe_stack_events(
    &self,
    input: DescribeStackEventsInput
) -> RusotoFuture<DescribeStackEventsOutput, DescribeStackEventsError>
[src]

Returns all stack related events for a specified stack in reverse chronological order. For more information about a stack's event history, go to Stacks in the AWS CloudFormation User Guide.

You can list events for stacks that have failed to create or have been deleted by specifying the unique stack identifier (stack ID).

fn describe_stack_instance(
    &self,
    input: DescribeStackInstanceInput
) -> RusotoFuture<DescribeStackInstanceOutput, DescribeStackInstanceError>
[src]

Returns the stack instance that's associated with the specified stack set, AWS account, and region.

For a list of stack instances that are associated with a specific stack set, use ListStackInstances.

fn describe_stack_resource(
    &self,
    input: DescribeStackResourceInput
) -> RusotoFuture<DescribeStackResourceOutput, DescribeStackResourceError>
[src]

Returns a description of the specified resource in the specified stack.

For deleted stacks, DescribeStackResource returns resource information for up to 90 days after the stack has been deleted.

fn describe_stack_resource_drifts(
    &self,
    input: DescribeStackResourceDriftsInput
) -> RusotoFuture<DescribeStackResourceDriftsOutput, DescribeStackResourceDriftsError>
[src]

Returns drift information for the resources that have been checked for drift in the specified stack. This includes actual and expected configuration values for resources where AWS CloudFormation detects configuration drift.

For a given stack, there will be one StackResourceDrift for each stack resource that has been checked for drift. Resources that have not yet been checked for drift are not included. Resources that do not currently support drift detection are not checked, and so not included. For a list of resources that support drift detection, see Resources that Support Drift Detection.

Use DetectStackResourceDrift to detect drift on individual resources, or DetectStackDrift to detect drift on all supported resources for a given stack.

fn describe_stack_resources(
    &self,
    input: DescribeStackResourcesInput
) -> RusotoFuture<DescribeStackResourcesOutput, DescribeStackResourcesError>
[src]

Returns AWS resource descriptions for running and deleted stacks. If StackName is specified, all the associated resources that are part of the stack are returned. If PhysicalResourceId is specified, the associated resources of the stack that the resource belongs to are returned.

Only the first 100 resources will be returned. If your stack has more resources than this, you should use ListStackResources instead.

For deleted stacks, DescribeStackResources returns resource information for up to 90 days after the stack has been deleted.

You must specify either StackName or PhysicalResourceId, but not both. In addition, you can specify LogicalResourceId to filter the returned result. For more information about resources, the LogicalResourceId and PhysicalResourceId, go to the AWS CloudFormation User Guide.

A ValidationError is returned if you specify both StackName and PhysicalResourceId in the same request.

fn describe_stack_set(
    &self,
    input: DescribeStackSetInput
) -> RusotoFuture<DescribeStackSetOutput, DescribeStackSetError>
[src]

Returns the description of the specified stack set.

fn describe_stack_set_operation(
    &self,
    input: DescribeStackSetOperationInput
) -> RusotoFuture<DescribeStackSetOperationOutput, DescribeStackSetOperationError>
[src]

Returns the description of the specified stack set operation.

fn describe_stacks(
    &self,
    input: DescribeStacksInput
) -> RusotoFuture<DescribeStacksOutput, DescribeStacksError>
[src]

Returns the description for the specified stack; if no stack name was specified, then it returns the description for all the stacks created.

If the stack does not exist, an AmazonCloudFormationException is returned.

fn detect_stack_drift(
    &self,
    input: DetectStackDriftInput
) -> RusotoFuture<DetectStackDriftOutput, DetectStackDriftError>
[src]

Detects whether a stack's actual configuration differs, or has drifted, from it's expected configuration, as defined in the stack template and any values specified as template parameters. For each resource in the stack that supports drift detection, AWS CloudFormation compares the actual configuration of the resource with its expected template configuration. Only resource properties explicitly defined in the stack template are checked for drift. A stack is considered to have drifted if one or more of its resources differ from their expected template configurations. For more information, see Detecting Unregulated Configuration Changes to Stacks and Resources.

Use DetectStackDrift to detect drift on all supported resources for a given stack, or DetectStackResourceDrift to detect drift on individual resources.

For a list of stack resources that currently support drift detection, see Resources that Support Drift Detection.

DetectStackDrift can take up to several minutes, depending on the number of resources contained within the stack. Use DescribeStackDriftDetectionStatus to monitor the progress of a detect stack drift operation. Once the drift detection operation has completed, use DescribeStackResourceDrifts to return drift information about the stack and its resources.

When detecting drift on a stack, AWS CloudFormation does not detect drift on any nested stacks belonging to that stack. Perform DetectStackDrift directly on the nested stack itself.

fn detect_stack_resource_drift(
    &self,
    input: DetectStackResourceDriftInput
) -> RusotoFuture<DetectStackResourceDriftOutput, DetectStackResourceDriftError>
[src]

Returns information about whether a resource's actual configuration differs, or has drifted, from it's expected configuration, as defined in the stack template and any values specified as template parameters. This information includes actual and expected property values for resources in which AWS CloudFormation detects drift. Only resource properties explicitly defined in the stack template are checked for drift. For more information about stack and resource drift, see Detecting Unregulated Configuration Changes to Stacks and Resources.

Use DetectStackResourceDrift to detect drift on individual resources, or DetectStackDrift to detect drift on all resources in a given stack that support drift detection.

Resources that do not currently support drift detection cannot be checked. For a list of resources that support drift detection, see Resources that Support Drift Detection.

fn estimate_template_cost(
    &self,
    input: EstimateTemplateCostInput
) -> RusotoFuture<EstimateTemplateCostOutput, EstimateTemplateCostError>
[src]

Returns the estimated monthly cost of a template. The return value is an AWS Simple Monthly Calculator URL with a query string that describes the resources required to run the template.

fn execute_change_set(
    &self,
    input: ExecuteChangeSetInput
) -> RusotoFuture<ExecuteChangeSetOutput, ExecuteChangeSetError>
[src]

Updates a stack using the input information that was provided when the specified change set was created. After the call successfully completes, AWS CloudFormation starts updating the stack. Use the DescribeStacks action to view the status of the update.

When you execute a change set, AWS CloudFormation deletes all other change sets associated with the stack because they aren't valid for the updated stack.

If a stack policy is associated with the stack, AWS CloudFormation enforces the policy during the update. You can't specify a temporary stack policy that overrides the current policy.

fn get_stack_policy(
    &self,
    input: GetStackPolicyInput
) -> RusotoFuture<GetStackPolicyOutput, GetStackPolicyError>
[src]

Returns the stack policy for a specified stack. If a stack doesn't have a policy, a null value is returned.

fn get_template(
    &self,
    input: GetTemplateInput
) -> RusotoFuture<GetTemplateOutput, GetTemplateError>
[src]

Returns the template body for a specified stack. You can get the template for running or deleted stacks.

For deleted stacks, GetTemplate returns the template for up to 90 days after the stack has been deleted.

If the template does not exist, a ValidationError is returned.

fn get_template_summary(
    &self,
    input: GetTemplateSummaryInput
) -> RusotoFuture<GetTemplateSummaryOutput, GetTemplateSummaryError>
[src]

Returns information about a new or existing template. The GetTemplateSummary action is useful for viewing parameter information, such as default parameter values and parameter types, before you create or update a stack or stack set.

You can use the GetTemplateSummary action when you submit a template, or you can get template information for a stack set, or a running or deleted stack.

For deleted stacks, GetTemplateSummary returns the template information for up to 90 days after the stack has been deleted. If the template does not exist, a ValidationError is returned.

fn list_change_sets(
    &self,
    input: ListChangeSetsInput
) -> RusotoFuture<ListChangeSetsOutput, ListChangeSetsError>
[src]

Returns the ID and status of each active change set for a stack. For example, AWS CloudFormation lists change sets that are in the CREATE_IN_PROGRESS or CREATE_PENDING state.

fn list_exports(
    &self,
    input: ListExportsInput
) -> RusotoFuture<ListExportsOutput, ListExportsError>
[src]

Lists all exported output values in the account and region in which you call this action. Use this action to see the exported output values that you can import into other stacks. To import values, use the Fn::ImportValue function.

For more information, see AWS CloudFormation Export Stack Output Values.

fn list_imports(
    &self,
    input: ListImportsInput
) -> RusotoFuture<ListImportsOutput, ListImportsError>
[src]

Lists all stacks that are importing an exported output value. To modify or remove an exported output value, first use this action to see which stacks are using it. To see the exported output values in your account, see ListExports.

For more information about importing an exported output value, see the Fn::ImportValue function.

fn list_stack_instances(
    &self,
    input: ListStackInstancesInput
) -> RusotoFuture<ListStackInstancesOutput, ListStackInstancesError>
[src]

Returns summary information about stack instances that are associated with the specified stack set. You can filter for stack instances that are associated with a specific AWS account name or region.

fn list_stack_resources(
    &self,
    input: ListStackResourcesInput
) -> RusotoFuture<ListStackResourcesOutput, ListStackResourcesError>
[src]

Returns descriptions of all resources of the specified stack.

For deleted stacks, ListStackResources returns resource information for up to 90 days after the stack has been deleted.

fn list_stack_set_operation_results(
    &self,
    input: ListStackSetOperationResultsInput
) -> RusotoFuture<ListStackSetOperationResultsOutput, ListStackSetOperationResultsError>
[src]

Returns summary information about the results of a stack set operation.

fn list_stack_set_operations(
    &self,
    input: ListStackSetOperationsInput
) -> RusotoFuture<ListStackSetOperationsOutput, ListStackSetOperationsError>
[src]

Returns summary information about operations performed on a stack set.

fn list_stack_sets(
    &self,
    input: ListStackSetsInput
) -> RusotoFuture<ListStackSetsOutput, ListStackSetsError>
[src]

Returns summary information about stack sets that are associated with the user.

fn list_stacks(
    &self,
    input: ListStacksInput
) -> RusotoFuture<ListStacksOutput, ListStacksError>
[src]

Returns the summary information for stacks whose status matches the specified StackStatusFilter. Summary information for stacks that have been deleted is kept for 90 days after the stack is deleted. If no StackStatusFilter is specified, summary information for all stacks is returned (including existing stacks and stacks that have been deleted).

fn set_stack_policy(
    &self,
    input: SetStackPolicyInput
) -> RusotoFuture<(), SetStackPolicyError>
[src]

Sets a stack policy for a specified stack.

fn signal_resource(
    &self,
    input: SignalResourceInput
) -> RusotoFuture<(), SignalResourceError>
[src]

Sends a signal to the specified resource with a success or failure status. You can use the SignalResource API in conjunction with a creation policy or update policy. AWS CloudFormation doesn't proceed with a stack creation or update until resources receive the required number of signals or the timeout period is exceeded. The SignalResource API is useful in cases where you want to send signals from anywhere other than an Amazon EC2 instance.

fn stop_stack_set_operation(
    &self,
    input: StopStackSetOperationInput
) -> RusotoFuture<StopStackSetOperationOutput, StopStackSetOperationError>
[src]

Stops an in-progress operation on a stack set and its associated stack instances.

fn update_stack(
    &self,
    input: UpdateStackInput
) -> RusotoFuture<UpdateStackOutput, UpdateStackError>
[src]

Updates a stack as specified in the template. After the call completes successfully, the stack update starts. You can check the status of the stack via the DescribeStacks action.

To get a copy of the template for an existing stack, you can use the GetTemplate action.

For more information about creating an update template, updating a stack, and monitoring the progress of the update, see Updating a Stack.

fn update_stack_instances(
    &self,
    input: UpdateStackInstancesInput
) -> RusotoFuture<UpdateStackInstancesOutput, UpdateStackInstancesError>
[src]

Updates the parameter values for stack instances for the specified accounts, within the specified regions. A stack instance refers to a stack in a specific account and region.

You can only update stack instances in regions and accounts where they already exist; to create additional stack instances, use CreateStackInstances.

During stack set updates, any parameters overridden for a stack instance are not updated, but retain their overridden value.

You can only update the parameter values that are specified in the stack set; to add or delete a parameter itself, use UpdateStackSet to update the stack set template. If you add a parameter to a template, before you can override the parameter value specified in the stack set you must first use UpdateStackSet to update all stack instances with the updated template and parameter value specified in the stack set. Once a stack instance has been updated with the new parameter, you can then override the parameter value using UpdateStackInstances.

fn update_stack_set(
    &self,
    input: UpdateStackSetInput
) -> RusotoFuture<UpdateStackSetOutput, UpdateStackSetError>
[src]

Updates the stack set, and associated stack instances in the specified accounts and regions.

Even if the stack set operation created by updating the stack set fails (completely or partially, below or above a specified failure tolerance), the stack set is updated with your changes. Subsequent CreateStackInstances calls on the specified stack set use the updated stack set.

fn update_termination_protection(
    &self,
    input: UpdateTerminationProtectionInput
) -> RusotoFuture<UpdateTerminationProtectionOutput, UpdateTerminationProtectionError>
[src]

Updates termination protection for the specified stack. If a user attempts to delete a stack with termination protection enabled, the operation fails and the stack remains unchanged. For more information, see Protecting a Stack From Being Deleted in the AWS CloudFormation User Guide.

For nested stacks, termination protection is set on the root stack and cannot be changed directly on the nested stack.

fn validate_template(
    &self,
    input: ValidateTemplateInput
) -> RusotoFuture<ValidateTemplateOutput, ValidateTemplateError>
[src]

Validates a specified template. AWS CloudFormation first checks if the template is valid JSON. If it isn't, AWS CloudFormation checks if the template is valid YAML. If both these checks fail, AWS CloudFormation returns a template validation error.

Loading content...