> **Experimental**
>
> `@aws-cdk/app-staging-synthesizer-alpha` is an [**experimental**](https://docs.aws.amazon.com/cdk/api/stability.html) (alpha) package: its API may change in any release, without a major version bump.
# ImageStagingLocation

Information returned by the Staging Stack for each image asset.

Returned by: [IStagingResources.addDockerImage](https://docs.aws.amazon.com/cdk/api/v2/docs/@aws-cdk_app-staging-synthesizer-alpha.IStagingResources.html#adddockerimage)

- Stability: [Experimental](https://docs.aws.amazon.com/cdk/api/stability.html)
- Source: [`lib/staging-stack.ts`](https://github.com/aws/aws-cdk/blob/v2.278.0/packages/@aws-cdk/app-staging-synthesizer-alpha/lib/staging-stack.ts#L38)

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as app_staging_synthesizer_alpha from '@aws-cdk/app-staging-synthesizer-alpha';
import * as cdk from 'aws-cdk-lib';

declare const stack: cdk.Stack;
const imageStagingLocation: app_staging_synthesizer_alpha.ImageStagingLocation = {
  repoName: 'repoName',

  // the properties below are optional
  assumeRoleArn: 'assumeRoleArn',
  dependencyStack: stack,
};
```

Python:

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

# stack: cdk.Stack

image_staging_location = app_staging_synthesizer_alpha.ImageStagingLocation(
    repo_name="repoName",

    # the properties below are optional
    assume_role_arn="assumeRoleArn",
    dependency_stack=stack
)
```

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.app.staging.synthesizer.alpha.*;
import software.amazon.awscdk.*;

Stack stack;

ImageStagingLocation imageStagingLocation = ImageStagingLocation.builder()
        .repoName("repoName")

        // the properties below are optional
        .assumeRoleArn("assumeRoleArn")
        .dependencyStack(stack)
        .build();
```

C# / .NET:

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

Stack stack;

var imageStagingLocation = new ImageStagingLocation {
    RepoName = "repoName",

    // the properties below are optional
    AssumeRoleArn = "assumeRoleArn",
    DependencyStack = stack
};
```

Golang:

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

var stack Stack

imageStagingLocation := &ImageStagingLocation{
	RepoName: jsii.String("repoName"),

	// the properties below are optional
	AssumeRoleArn: jsii.String("assumeRoleArn"),
	DependencyStack: stack,
}
```

## Properties

- `assumeRoleArn`: string — The arn to assume to write files to this repository.

  **Default:** Don't assume a role

- `dependencyStack`: [Stack](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.Stack.html) — The stack that creates this repository (leads to dependencies on it).

  **Default:** Don't add dependencies

- `repoName`: string (required) — The name of the staging repository.
