Interface CfnApplicationVersionProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnApplicationVersionProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.140.0 (build 79fd58c)",
date="2026-09-30T11:04:51.773Z")
@Stability(Stable)
public interface CfnApplicationVersionProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnApplicationVersion.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.elasticbeanstalk.*;
CfnApplicationVersionProps cfnApplicationVersionProps = CfnApplicationVersionProps.builder()
.applicationName("applicationName")
// the properties below are optional
.buildConfiguration(BuildConfigurationProperty.builder()
.codeBuildServiceRole("codeBuildServiceRole")
.image("image")
// the properties below are optional
.artifactName("artifactName")
.computeType("computeType")
.timeoutInMinutes(123)
.build())
.description("description")
.imageConfiguration(ImageConfigurationProperty.builder()
.buildProperty(ImageBuildConfigurationProperty.builder()
.codeBuildServiceRole("codeBuildServiceRole")
.type("type")
// the properties below are optional
.architecture("architecture")
.buildpack("buildpack")
.computeType("computeType")
.dockerfileLocation("dockerfileLocation")
.timeoutInMinutes(123)
.build())
.source(ImageSourceProperty.builder()
.uri("uri")
.build())
.build())
.process(false)
.sourceBundle(SourceBundleProperty.builder()
.s3Bucket("s3Bucket")
.s3Key("s3Key")
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnApplicationVersionPropsstatic final classAn implementation forCfnApplicationVersionProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()The name of the Elastic Beanstalk application that is associated with this application version.default ObjectReturns union: eitherIResolvableorCfnApplicationVersion.BuildConfigurationPropertydefault StringA description of this application version.default ObjectReturns union: eitherIResolvableorCfnApplicationVersion.ImageConfigurationPropertydefault ObjectPre-process and validate the environment manifest (env.yaml) and configuration files in the source bundle.default ObjectThe Amazon S3 bucket and key that identify the location of the source bundle for this version.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getApplicationName
The name of the Elastic Beanstalk application that is associated with this application version.Returns union: either
StringorIApplicationRef- See Also:
-
getBuildConfiguration
Returns union: eitherIResolvableorCfnApplicationVersion.BuildConfigurationProperty- See Also:
-
getDescription
A description of this application version.- See Also:
-
getImageConfiguration
Returns union: eitherIResolvableorCfnApplicationVersion.ImageConfigurationProperty- See Also:
-
getProcess
Pre-process and validate the environment manifest (env.yaml) and configuration files in the source bundle. Leave unset for the service default.Returns union: either
BooleanorIResolvable- See Also:
-
getSourceBundle
The Amazon S3 bucket and key that identify the location of the source bundle for this version.The Amazon S3 bucket must be in the same region as the environment.
Returns union: either
IResolvableorCfnApplicationVersion.SourceBundleProperty- See Also:
-
builder
- Returns:
- a
CfnApplicationVersionProps.BuilderofCfnApplicationVersionProps
-