Experimental
@aws-cdk/app-staging-synthesizer-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.
FileStagingLocation Struct
Information returned by the Staging Stack for each file 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 fileStagingLocation: app_staging_synthesizer_alpha.FileStagingLocation = {
bucketName: 'bucketName',
// the properties below are optional
assumeRoleArn: 'assumeRoleArn',
dependencyStack: stack,
prefix: 'prefix',
};
Properties
assumeRoleArnoptionalstringassume_role_arnoptionalstrassumeRoleArnoptionalStringAssumeRoleArnoptionalstringAssumeRoleArnoptional*string#The ARN to assume to write files to this bucket.
Default: Don't assume a role
The name of the staging bucket.
dependencyStackoptionalStackdependency_stackoptionalStackdependencyStackoptionalStackDependencyStackoptionalStackDependencyStackoptionalStack#The stack that creates this bucket (leads to dependencies on it).
Default: Don't add dependencies
prefixoptionalstringprefixoptionalstrprefixoptionalStringPrefixoptionalstringPrefixoptional*string= ''#A prefix to add to the keys.