Skip to content
v2.275.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.

StagingRoles Struct ​

Roles that are included in the Staging Stack (for access to Staging Resources).

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';

declare const bootstrapRole: app_staging_synthesizer_alpha.BootstrapRole;
const stagingRoles: app_staging_synthesizer_alpha.StagingRoles = {
  dockerAssetPublishingRole: bootstrapRole,
  fileAssetPublishingRole: bootstrapRole,
};

Properties ​

dockerAssetPublishingRoleoptionalBootstrapRoledocker_asset_publishing_roleoptionalBootstrapRoledockerAssetPublishingRoleoptionalBootstrapRoleDockerAssetPublishingRoleoptionalBootstrapRoleDockerAssetPublishingRoleoptionalBootstrapRole#
Docker Asset Publishing Role.

Default: staging stack creates a docker asset publishing role

fileAssetPublishingRoleoptionalBootstrapRolefile_asset_publishing_roleoptionalBootstrapRolefileAssetPublishingRoleoptionalBootstrapRoleFileAssetPublishingRoleoptionalBootstrapRoleFileAssetPublishingRoleoptionalBootstrapRole#
File Asset Publishing Role.

Default: staging stack creates a file asset publishing role