Class DefaultStagingStack
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.Stack
software.amazon.awscdk.app.staging.synthesizer.alpha.DefaultStagingStack
- All Implemented Interfaces:
IStagingResources
,ITaggable
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.101.0 (build b95fe5d)",
date="2024-08-02T00:29:19.248Z")
@Stability(Experimental)
public class DefaultStagingStack
extends Stack
implements IStagingResources
(experimental) A default Staging Stack that implements IStagingResources.
Example:
import software.amazon.awscdk.services.s3.BucketEncryption; IStagingResourcesFactory defaultStagingStack = DefaultStagingStack.factory(DefaultStagingStackOptions.builder().appId("my-app-id").stagingBucketEncryption(BucketEncryption.S3_MANAGED).build());
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
(experimental) A fluent builder forDefaultStagingStack
.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default, software.constructs.IConstruct.Jsii$Proxy
Nested classes/interfaces inherited from interface software.amazon.awscdk.app.staging.synthesizer.alpha.IStagingResources
IStagingResources.Jsii$Default, IStagingResources.Jsii$Proxy
Nested classes/interfaces inherited from interface software.amazon.awscdk.ITaggable
ITaggable.Jsii$Default, ITaggable.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionDefaultStagingStack
(App scope, String id, DefaultStagingStackProps props) protected
DefaultStagingStack
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
DefaultStagingStack
(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescription(experimental) Return staging resource information for a docker asset.addFile
(FileAssetSource asset) (experimental) Return staging resource information for a file asset.static IStagingResourcesFactory
factory
(DefaultStagingStackOptions options) (experimental) Return a factory that will create DefaultStagingStacks.(experimental) The stack to add dependencies to.(experimental) The app-scoped, evironment-keyed staging bucket.(experimental) The app-scoped, environment-keyed ecr repositories associated with this app.Methods inherited from class software.amazon.awscdk.Stack
addDependency, addDependency, addMetadata, addTransform, allocateLogicalId, exportStringListValue, exportStringListValue, exportValue, exportValue, formatArn, getAccount, getArtifactId, getAvailabilityZones, getBundlingRequired, getDependencies, getEnvironment, getLogicalId, getNested, getNestedStackParent, getNestedStackResource, getNotificationArns, getPartition, getRegion, getStackId, getStackName, getSynthesizer, getTags, getTemplateFile, getTemplateOptions, getTerminationProtection, getUrlSuffix, isStack, of, regionalFact, regionalFact, renameLogicalId, reportMissingContextKey, resolve, setTerminationProtection, splitArn, toJsonString, toJsonString, toYamlString
Methods inherited from class software.constructs.Construct
getNode, isConstruct, toString
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface software.constructs.IConstruct
getNode
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
DefaultStagingStack
protected DefaultStagingStack(software.amazon.jsii.JsiiObjectRef objRef) -
DefaultStagingStack
protected DefaultStagingStack(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
DefaultStagingStack
@Stability(Experimental) public DefaultStagingStack(@NotNull App scope, @NotNull String id, @NotNull DefaultStagingStackProps props) - Parameters:
scope
- This parameter is required.id
- This parameter is required.props
- This parameter is required.
-
-
Method Details
-
factory
@Stability(Experimental) @NotNull public static IStagingResourcesFactory factory(@NotNull DefaultStagingStackOptions options) (experimental) Return a factory that will create DefaultStagingStacks.- Parameters:
options
- This parameter is required.
-
addDockerImage
@Stability(Experimental) @NotNull public ImageStagingLocation addDockerImage(@NotNull DockerImageAssetSource asset) (experimental) Return staging resource information for a docker asset.- Specified by:
addDockerImage
in interfaceIStagingResources
- Parameters:
asset
- This parameter is required.
-
addFile
@Stability(Experimental) @NotNull public FileStagingLocation addFile(@NotNull FileAssetSource asset) (experimental) Return staging resource information for a file asset.- Specified by:
addFile
in interfaceIStagingResources
- Parameters:
asset
- This parameter is required.
-
getDependencyStack
(experimental) The stack to add dependencies to. -
getStagingRepos
(experimental) The app-scoped, environment-keyed ecr repositories associated with this app. -
getStagingBucket
(experimental) The app-scoped, evironment-keyed staging bucket.
-