StackProps

class aws_cdk.core.StackProps(*, description=None, env=None, stack_name=None, tags=None)

Bases: object

__init__(*, description=None, env=None, stack_name=None, tags=None)
Parameters
  • description (Optional[str]) – A description of the stack. Default: - No description.

  • env (Optional[Environment]) – The AWS environment (account/region) where this stack will be deployed. Default: - The default-account and default-region context parameters will be used. If they are undefined, it will not be possible to deploy the stack.

  • stack_name (Optional[str]) – Name to deploy the stack with. Default: - Derived from construct path.

  • tags (Optional[Mapping[str, str]]) – Stack tags that will be applied to all the taggable resources and the stack itself. Default: {}

Attributes

description

A description of the stack.

default :default: - No description.

Return type

Optional[str]

env

The AWS environment (account/region) where this stack will be deployed.

default :default:

  • The default-account and default-region context parameters will be used. If they are undefined, it will not be possible to deploy the stack.

Return type

Optional[Environment]

stack_name

Name to deploy the stack with.

default :default: - Derived from construct path.

Return type

Optional[str]

tags

Stack tags that will be applied to all the taggable resources and the stack itself.

default :default: {}

Return type

Optional[Mapping[str, str]]