Skip to content
v2.277.0

Experimental

@aws-cdk/app-staging-synthesizer-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.

ImageStagingLocation Struct ​

Information returned by the Staging Stack for each image asset.

Example ​

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
# 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
// 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();
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
};
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 ​

assumeRoleArnoptionalstringassume_role_arnoptionalstrassumeRoleArnoptionalStringAssumeRoleArnoptionalstringAssumeRoleArnoptional*string#
The arn to assume to write files to this repository.

Default: Don't assume a role

dependencyStackoptionalStackdependency_stackoptionalStackdependencyStackoptionalStackDependencyStackoptionalStackDependencyStackoptionalStack#
The stack that creates this repository (leads to dependencies on it).

Default: Don't add dependencies

repoNamestringrepo_namestrrepoNameStringRepoNamestringRepoName*stringrequired#
The name of the staging repository.