# ScopedAws

Class · Stable

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.

- Source: [`core/lib/cfn-pseudo.ts`](https://github.com/aws/aws-cdk/blob/v2.278.0/packages/aws-cdk-lib/core/lib/cfn-pseudo.ts#L40)

## Example

TypeScript:

```ts
// 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);
```

Python:

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

scoped_aws = cdk.ScopedAws(self)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.*;

ScopedAws scopedAws = new ScopedAws(this);
```

C#:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK;

var scopedAws = new ScopedAws(this);
```

Go:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import cdk "github.com/aws/aws-cdk-go/awscdk"

scopedAws := cdk.NewScopedAws(this)
```

## Initializer

TypeScript:

```ts
new ScopedAws(scope: Construct)
```

Python:

```python
ScopedAws(scope: Construct)
```

Java:

```java
new ScopedAws(Construct scope)
```

C#:

```csharp
new ScopedAws(Construct scope)
```

Go:

```go
NewScopedAws(Scope Construct)
```

## Properties

- `accountId`: string

- `notificationArns`: string[]

- `partition`: string

- `region`: string

- `stackId`: string

- `stackName`: string

- `urlSuffix`: string
