interface FileStagingLocation
Language | Type name |
---|---|
![]() | Amazon.CDK.AppStagingSynthesizer.Alpha.FileStagingLocation |
![]() | software.amazon.awscdk.app.staging.synthesizer.alpha.FileStagingLocation |
![]() | aws_cdk.app_staging_synthesizer_alpha.FileStagingLocation |
![]() | @aws-cdk/app-staging-synthesizer-alpha ยป FileStagingLocation |
Obtainable from
Default
.addFile()
Information returned by the Staging Stack for each file asset.
Example
// 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
Name | Type | Description |
---|---|---|
bucket | string | The name of the staging bucket. |
assume | string | The ARN to assume to write files to this bucket. |
dependency | Stack | The stack that creates this bucket (leads to dependencies on it). |
prefix? | string | A prefix to add to the keys. |
bucketName
Type:
string
The name of the staging bucket.
assumeRoleArn?
Type:
string
(optional, default: Don't assume a role)
The ARN to assume to write files to this bucket.
dependencyStack?
Type:
Stack
(optional, default: Don't add dependencies)
The stack that creates this bucket (leads to dependencies on it).
prefix?
Type:
string
(optional, default: '')
A prefix to add to the keys.