ScopedAws

class aws_cdk.core.ScopedAws(scope)

Bases: object

Accessor for scoped pseudo parameters.

These pseudo parameters are anchored to a stack somewhere in the construct tree, and their values will be exported automatically.

ExampleMetadata

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.core as cdk

scoped_aws = cdk.ScopedAws(self)
Parameters

scope (Construct) –

Attributes

account_id
Return type

str

notification_arns
Return type

List[str]

partition
Return type

str

region
Return type

str

stack_id
Return type

str

stack_name
Return type

str

url_suffix
Return type

str