aws-cdk-lib.ScopedAws

class ScopedAws

LanguageType name
.NETAmazon.CDK.ScopedAws
Gogithub.com/aws/aws-cdk-go/awscdk/v2#ScopedAws
Javasoftware.amazon.awscdk.ScopedAws
Pythonaws_cdk.ScopedAws
TypeScript (source)aws-cdk-lib » ScopedAws

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.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as cdk from 'aws-cdk-lib';
const scopedAws = new cdk.ScopedAws(this);

Initializer

new ScopedAws(scope: Construct)

Parameters

  • scope Construct

Properties

NameTypeDescription
accountIdstring
notificationArnsstring[]
partitionstring
regionstring
stackIdstring
stackNamestring
urlSuffixstring

accountId

Type: string


notificationArns

Type: string[]


partition

Type: string


region

Type: string


stackId

Type: string


stackName

Type: string


urlSuffix

Type: string