CloudFormation#
Client#
- class CloudFormation.Client#
A low-level client representing AWS CloudFormation
CloudFormation allows you to create and manage Amazon Web Services infrastructure deployments predictably and repeatedly. You can use CloudFormation to leverage Amazon Web Services products, such as Amazon Elastic Compute Cloud, Amazon Elastic Block Store, Amazon Simple Notification Service, Elastic Load Balancing, and Auto Scaling to build highly reliable, highly scalable, cost-effective applications without creating or configuring the underlying Amazon Web Services infrastructure.
With CloudFormation, you declare all your resources and dependencies in a template file. The template defines a collection of resources as a single unit called a stack. CloudFormation creates and deletes all member resources of the stack together and manages all dependencies between the resources for you.
For more information about CloudFormation, see the CloudFormation product page.
CloudFormation makes use of other Amazon Web Services products. If you need additional technical information about a specific Amazon Web Services product, you can find the product’s technical documentation at docs.aws.amazon.com.
client = session.create_client('cloudformation')
These are the available methods:
- activate_organizations_access
- activate_type
- batch_describe_type_configurations
- can_paginate
- cancel_update_stack
- close
- continue_update_rollback
- create_change_set
- create_generated_template
- create_stack
- create_stack_instances
- create_stack_set
- deactivate_organizations_access
- deactivate_type
- delete_change_set
- delete_generated_template
- delete_stack
- delete_stack_instances
- delete_stack_set
- deregister_type
- describe_account_limits
- describe_change_set
- describe_change_set_hooks
- describe_generated_template
- describe_organizations_access
- describe_publisher
- describe_resource_scan
- describe_stack_drift_detection_status
- describe_stack_events
- describe_stack_instance
- describe_stack_resource
- describe_stack_resource_drifts
- describe_stack_resources
- describe_stack_set
- describe_stack_set_operation
- describe_stacks
- describe_type
- describe_type_registration
- detect_stack_drift
- detect_stack_resource_drift
- detect_stack_set_drift
- estimate_template_cost
- execute_change_set
- get_generated_template
- get_paginator
- get_stack_policy
- get_template
- get_template_summary
- get_waiter
- import_stacks_to_stack_set
- list_change_sets
- list_exports
- list_generated_templates
- list_imports
- list_resource_scan_related_resources
- list_resource_scan_resources
- list_resource_scans
- list_stack_instance_resource_drifts
- list_stack_instances
- list_stack_resources
- list_stack_set_auto_deployment_targets
- list_stack_set_operation_results
- list_stack_set_operations
- list_stack_sets
- list_stacks
- list_type_registrations
- list_type_versions
- list_types
- publish_type
- record_handler_progress
- register_publisher
- register_type
- rollback_stack
- set_stack_policy
- set_type_configuration
- set_type_default_version
- signal_resource
- start_resource_scan
- stop_stack_set_operation
- test_type
- update_generated_template
- update_stack
- update_stack_instances
- update_stack_set
- update_termination_protection
- validate_template
Client Exceptions#
Client exceptions are available on a client instance via the exceptions
property. For more detailed instructions and examples on the exact usage of client exceptions, see the error handling user guide.
The available client exceptions are:
- AlreadyExistsException
- CFNRegistryException
- ChangeSetNotFoundException
- ConcurrentResourcesLimitExceededException
- CreatedButModifiedException
- GeneratedTemplateNotFoundException
- InsufficientCapabilitiesException
- InvalidChangeSetStatusException
- InvalidOperationException
- InvalidStateTransitionException
- LimitExceededException
- NameAlreadyExistsException
- OperationIdAlreadyExistsException
- OperationInProgressException
- OperationNotFoundException
- OperationStatusCheckFailedException
- ResourceScanInProgressException
- ResourceScanLimitExceededException
- ResourceScanNotFoundException
- StackInstanceNotFoundException
- StackNotFoundException
- StackSetNotEmptyException
- StackSetNotFoundException
- StaleRequestException
- TokenAlreadyExistsException
- TypeConfigurationNotFoundException
- TypeNotFoundException
Paginators#
Paginators are available on a client instance via the get_paginator
method. For more detailed instructions and examples on the usage of paginators, see the paginators user guide.
The available paginators are:
- DescribeAccountLimits
- DescribeChangeSet
- DescribeStackEvents
- DescribeStacks
- ListChangeSets
- ListExports
- ListGeneratedTemplates
- ListImports
- ListResourceScanRelatedResources
- ListResourceScanResources
- ListResourceScans
- ListStackInstances
- ListStackResources
- ListStackSetOperationResults
- ListStackSetOperations
- ListStackSets
- ListStacks
- ListTypes
Waiters#
Waiters are available on a client instance via the get_waiter
method. For more detailed instructions and examples on the usage or waiters, see the waiters user guide.
The available waiters are: