1. Registry
  2. Packages
  3. AWS Cloud Control
  4. API Docs
  5. elasticbeanstalk
  6. ApplicationVersion

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.81.0
published on Monday, Sep 28, 2026 by Pulumi
aws-native logo aws-native logo

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.81.0
published on Monday, Sep 28, 2026 by Pulumi

    Resource Type definition for AWS::ElasticBeanstalk::ApplicationVersion

    Create ApplicationVersion Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new ApplicationVersion(name: string, args: ApplicationVersionArgs, opts?: CustomResourceOptions);
    @overload
    def ApplicationVersion(resource_name: str,
                           args: ApplicationVersionArgs,
                           opts: Optional[ResourceOptions] = None)
    
    @overload
    def ApplicationVersion(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           application_name: Optional[str] = None,
                           build_configuration: Optional[ApplicationVersionBuildConfigurationArgs] = None,
                           description: Optional[str] = None,
                           image_configuration: Optional[ApplicationVersionImageConfigurationArgs] = None,
                           process: Optional[bool] = None,
                           source_bundle: Optional[ApplicationVersionSourceBundleArgs] = None)
    func NewApplicationVersion(ctx *Context, name string, args ApplicationVersionArgs, opts ...ResourceOption) (*ApplicationVersion, error)
    public ApplicationVersion(string name, ApplicationVersionArgs args, CustomResourceOptions? opts = null)
    public ApplicationVersion(String name, ApplicationVersionArgs args)
    public ApplicationVersion(String name, ApplicationVersionArgs args, CustomResourceOptions options)
    
    type: aws-native:elasticbeanstalk:ApplicationVersion
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "aws-native_elasticbeanstalk_application_version" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args ApplicationVersionArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args ApplicationVersionArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args ApplicationVersionArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ApplicationVersionArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ApplicationVersionArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    ApplicationVersion Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The ApplicationVersion resource accepts the following input properties:

    ApplicationName string
    The name of the Elastic Beanstalk application that is associated with this application version.
    BuildConfiguration Pulumi.AwsNative.ElasticBeanstalk.Inputs.ApplicationVersionBuildConfiguration
    Settings for an AWS CodeBuild build that packages and builds an application version from source code.
    Description string
    A description of this application version.
    ImageConfiguration Pulumi.AwsNative.ElasticBeanstalk.Inputs.ApplicationVersionImageConfiguration
    Configuration for image-based application versions.
    Process bool
    Pre-process and validate the environment manifest (env.yaml) and configuration files in the source bundle. Leave unset for the service default.
    SourceBundle Pulumi.AwsNative.ElasticBeanstalk.Inputs.ApplicationVersionSourceBundle
    The Amazon S3 bucket and key that identify the location of the source bundle for this version.
    ApplicationName string
    The name of the Elastic Beanstalk application that is associated with this application version.
    BuildConfiguration ApplicationVersionBuildConfigurationArgs
    Settings for an AWS CodeBuild build that packages and builds an application version from source code.
    Description string
    A description of this application version.
    ImageConfiguration ApplicationVersionImageConfigurationArgs
    Configuration for image-based application versions.
    Process bool
    Pre-process and validate the environment manifest (env.yaml) and configuration files in the source bundle. Leave unset for the service default.
    SourceBundle ApplicationVersionSourceBundleArgs
    The Amazon S3 bucket and key that identify the location of the source bundle for this version.
    application_name string
    The name of the Elastic Beanstalk application that is associated with this application version.
    build_configuration object
    Settings for an AWS CodeBuild build that packages and builds an application version from source code.
    description string
    A description of this application version.
    image_configuration object
    Configuration for image-based application versions.
    process bool
    Pre-process and validate the environment manifest (env.yaml) and configuration files in the source bundle. Leave unset for the service default.
    source_bundle object
    The Amazon S3 bucket and key that identify the location of the source bundle for this version.
    applicationName String
    The name of the Elastic Beanstalk application that is associated with this application version.
    buildConfiguration ApplicationVersionBuildConfiguration
    Settings for an AWS CodeBuild build that packages and builds an application version from source code.
    description String
    A description of this application version.
    imageConfiguration ApplicationVersionImageConfiguration
    Configuration for image-based application versions.
    process Boolean
    Pre-process and validate the environment manifest (env.yaml) and configuration files in the source bundle. Leave unset for the service default.
    sourceBundle ApplicationVersionSourceBundle
    The Amazon S3 bucket and key that identify the location of the source bundle for this version.
    applicationName string
    The name of the Elastic Beanstalk application that is associated with this application version.
    buildConfiguration ApplicationVersionBuildConfiguration
    Settings for an AWS CodeBuild build that packages and builds an application version from source code.
    description string
    A description of this application version.
    imageConfiguration ApplicationVersionImageConfiguration
    Configuration for image-based application versions.
    process boolean
    Pre-process and validate the environment manifest (env.yaml) and configuration files in the source bundle. Leave unset for the service default.
    sourceBundle ApplicationVersionSourceBundle
    The Amazon S3 bucket and key that identify the location of the source bundle for this version.
    application_name str
    The name of the Elastic Beanstalk application that is associated with this application version.
    build_configuration ApplicationVersionBuildConfigurationArgs
    Settings for an AWS CodeBuild build that packages and builds an application version from source code.
    description str
    A description of this application version.
    image_configuration ApplicationVersionImageConfigurationArgs
    Configuration for image-based application versions.
    process bool
    Pre-process and validate the environment manifest (env.yaml) and configuration files in the source bundle. Leave unset for the service default.
    source_bundle ApplicationVersionSourceBundleArgs
    The Amazon S3 bucket and key that identify the location of the source bundle for this version.
    applicationName String
    The name of the Elastic Beanstalk application that is associated with this application version.
    buildConfiguration Property Map
    Settings for an AWS CodeBuild build that packages and builds an application version from source code.
    description String
    A description of this application version.
    imageConfiguration Property Map
    Configuration for image-based application versions.
    process Boolean
    Pre-process and validate the environment manifest (env.yaml) and configuration files in the source bundle. Leave unset for the service default.
    sourceBundle Property Map
    The Amazon S3 bucket and key that identify the location of the source bundle for this version.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the ApplicationVersion resource produces the following output properties:

    AwsId string
    Id string
    The provider-assigned unique ID for this managed resource.
    AwsId string
    Id string
    The provider-assigned unique ID for this managed resource.
    aws_id string
    id string
    The provider-assigned unique ID for this managed resource.
    awsId String
    id String
    The provider-assigned unique ID for this managed resource.
    awsId string
    id string
    The provider-assigned unique ID for this managed resource.
    aws_id str
    id str
    The provider-assigned unique ID for this managed resource.
    awsId String
    id String
    The provider-assigned unique ID for this managed resource.

    Supporting Types

    ApplicationVersionBuildConfiguration, ApplicationVersionBuildConfigurationArgs

    CodeBuildServiceRole string
    The ARN of the IAM role that AWS CodeBuild assumes to build the application version.
    Image string
    The CodeBuild image used for the build environment.
    ArtifactName string
    The name of the build artifact.
    ComputeType Pulumi.AwsNative.ElasticBeanstalk.ApplicationVersionBuildConfigurationComputeType
    The compute type for the CodeBuild build environment.
    TimeoutInMinutes int
    The timeout for the CodeBuild build, in minutes.
    CodeBuildServiceRole string
    The ARN of the IAM role that AWS CodeBuild assumes to build the application version.
    Image string
    The CodeBuild image used for the build environment.
    ArtifactName string
    The name of the build artifact.
    ComputeType ApplicationVersionBuildConfigurationComputeType
    The compute type for the CodeBuild build environment.
    TimeoutInMinutes int
    The timeout for the CodeBuild build, in minutes.
    code_build_service_role string
    The ARN of the IAM role that AWS CodeBuild assumes to build the application version.
    image string
    The CodeBuild image used for the build environment.
    artifact_name string
    The name of the build artifact.
    compute_type "BUILD_GENERAL1_SMALL" | "BUILD_GENERAL1_MEDIUM" | "BUILD_GENERAL1_LARGE"
    The compute type for the CodeBuild build environment.
    timeout_in_minutes number
    The timeout for the CodeBuild build, in minutes.
    codeBuildServiceRole String
    The ARN of the IAM role that AWS CodeBuild assumes to build the application version.
    image String
    The CodeBuild image used for the build environment.
    artifactName String
    The name of the build artifact.
    computeType ApplicationVersionBuildConfigurationComputeType
    The compute type for the CodeBuild build environment.
    timeoutInMinutes Integer
    The timeout for the CodeBuild build, in minutes.
    codeBuildServiceRole string
    The ARN of the IAM role that AWS CodeBuild assumes to build the application version.
    image string
    The CodeBuild image used for the build environment.
    artifactName string
    The name of the build artifact.
    computeType ApplicationVersionBuildConfigurationComputeType
    The compute type for the CodeBuild build environment.
    timeoutInMinutes number
    The timeout for the CodeBuild build, in minutes.
    code_build_service_role str
    The ARN of the IAM role that AWS CodeBuild assumes to build the application version.
    image str
    The CodeBuild image used for the build environment.
    artifact_name str
    The name of the build artifact.
    compute_type ApplicationVersionBuildConfigurationComputeType
    The compute type for the CodeBuild build environment.
    timeout_in_minutes int
    The timeout for the CodeBuild build, in minutes.
    codeBuildServiceRole String
    The ARN of the IAM role that AWS CodeBuild assumes to build the application version.
    image String
    The CodeBuild image used for the build environment.
    artifactName String
    The name of the build artifact.
    computeType "BUILD_GENERAL1_SMALL" | "BUILD_GENERAL1_MEDIUM" | "BUILD_GENERAL1_LARGE"
    The compute type for the CodeBuild build environment.
    timeoutInMinutes Number
    The timeout for the CodeBuild build, in minutes.

    ApplicationVersionBuildConfigurationComputeType, ApplicationVersionBuildConfigurationComputeTypeArgs

    BuildGeneral1Small
    BUILD_GENERAL1_SMALL
    BuildGeneral1Medium
    BUILD_GENERAL1_MEDIUM
    BuildGeneral1Large
    BUILD_GENERAL1_LARGE
    ApplicationVersionBuildConfigurationComputeTypeBuildGeneral1Small
    BUILD_GENERAL1_SMALL
    ApplicationVersionBuildConfigurationComputeTypeBuildGeneral1Medium
    BUILD_GENERAL1_MEDIUM
    ApplicationVersionBuildConfigurationComputeTypeBuildGeneral1Large
    BUILD_GENERAL1_LARGE
    "BUILD_GENERAL1_SMALL"
    BUILD_GENERAL1_SMALL
    "BUILD_GENERAL1_MEDIUM"
    BUILD_GENERAL1_MEDIUM
    "BUILD_GENERAL1_LARGE"
    BUILD_GENERAL1_LARGE
    BuildGeneral1Small
    BUILD_GENERAL1_SMALL
    BuildGeneral1Medium
    BUILD_GENERAL1_MEDIUM
    BuildGeneral1Large
    BUILD_GENERAL1_LARGE
    BuildGeneral1Small
    BUILD_GENERAL1_SMALL
    BuildGeneral1Medium
    BUILD_GENERAL1_MEDIUM
    BuildGeneral1Large
    BUILD_GENERAL1_LARGE
    BUILD_GENERAL1_SMALL
    BUILD_GENERAL1_SMALL
    BUILD_GENERAL1_MEDIUM
    BUILD_GENERAL1_MEDIUM
    BUILD_GENERAL1_LARGE
    BUILD_GENERAL1_LARGE
    "BUILD_GENERAL1_SMALL"
    BUILD_GENERAL1_SMALL
    "BUILD_GENERAL1_MEDIUM"
    BUILD_GENERAL1_MEDIUM
    "BUILD_GENERAL1_LARGE"
    BUILD_GENERAL1_LARGE

    ApplicationVersionImageBuildConfiguration, ApplicationVersionImageBuildConfigurationArgs

    CodeBuildServiceRole string
    The ARN of the IAM role that AWS CodeBuild assumes to build the application version.
    Type Pulumi.AwsNative.ElasticBeanstalk.ApplicationVersionImageBuildConfigurationType
    The type of image build: docker or buildpack.
    Architecture Pulumi.AwsNative.ElasticBeanstalk.ApplicationVersionImageBuildConfigurationArchitecture
    The target architecture for the built container image.
    Buildpack string
    The buildpack to use for building the image.
    ComputeType Pulumi.AwsNative.ElasticBeanstalk.ApplicationVersionImageBuildConfigurationComputeType
    The compute type for the CodeBuild build environment.
    DockerfileLocation string
    The path to the Dockerfile, relative to the source root.
    TimeoutInMinutes int
    The timeout for the CodeBuild build, in minutes.
    CodeBuildServiceRole string
    The ARN of the IAM role that AWS CodeBuild assumes to build the application version.
    Type ApplicationVersionImageBuildConfigurationType
    The type of image build: docker or buildpack.
    Architecture ApplicationVersionImageBuildConfigurationArchitecture
    The target architecture for the built container image.
    Buildpack string
    The buildpack to use for building the image.
    ComputeType ApplicationVersionImageBuildConfigurationComputeType
    The compute type for the CodeBuild build environment.
    DockerfileLocation string
    The path to the Dockerfile, relative to the source root.
    TimeoutInMinutes int
    The timeout for the CodeBuild build, in minutes.
    code_build_service_role string
    The ARN of the IAM role that AWS CodeBuild assumes to build the application version.
    type "docker" | "buildpack"
    The type of image build: docker or buildpack.
    architecture "amd64" | "arm64"
    The target architecture for the built container image.
    buildpack string
    The buildpack to use for building the image.
    compute_type "BUILD_GENERAL1_SMALL" | "BUILD_GENERAL1_MEDIUM" | "BUILD_GENERAL1_LARGE"
    The compute type for the CodeBuild build environment.
    dockerfile_location string
    The path to the Dockerfile, relative to the source root.
    timeout_in_minutes number
    The timeout for the CodeBuild build, in minutes.
    codeBuildServiceRole String
    The ARN of the IAM role that AWS CodeBuild assumes to build the application version.
    type ApplicationVersionImageBuildConfigurationType
    The type of image build: docker or buildpack.
    architecture ApplicationVersionImageBuildConfigurationArchitecture
    The target architecture for the built container image.
    buildpack String
    The buildpack to use for building the image.
    computeType ApplicationVersionImageBuildConfigurationComputeType
    The compute type for the CodeBuild build environment.
    dockerfileLocation String
    The path to the Dockerfile, relative to the source root.
    timeoutInMinutes Integer
    The timeout for the CodeBuild build, in minutes.
    codeBuildServiceRole string
    The ARN of the IAM role that AWS CodeBuild assumes to build the application version.
    type ApplicationVersionImageBuildConfigurationType
    The type of image build: docker or buildpack.
    architecture ApplicationVersionImageBuildConfigurationArchitecture
    The target architecture for the built container image.
    buildpack string
    The buildpack to use for building the image.
    computeType ApplicationVersionImageBuildConfigurationComputeType
    The compute type for the CodeBuild build environment.
    dockerfileLocation string
    The path to the Dockerfile, relative to the source root.
    timeoutInMinutes number
    The timeout for the CodeBuild build, in minutes.
    code_build_service_role str
    The ARN of the IAM role that AWS CodeBuild assumes to build the application version.
    type ApplicationVersionImageBuildConfigurationType
    The type of image build: docker or buildpack.
    architecture ApplicationVersionImageBuildConfigurationArchitecture
    The target architecture for the built container image.
    buildpack str
    The buildpack to use for building the image.
    compute_type ApplicationVersionImageBuildConfigurationComputeType
    The compute type for the CodeBuild build environment.
    dockerfile_location str
    The path to the Dockerfile, relative to the source root.
    timeout_in_minutes int
    The timeout for the CodeBuild build, in minutes.
    codeBuildServiceRole String
    The ARN of the IAM role that AWS CodeBuild assumes to build the application version.
    type "docker" | "buildpack"
    The type of image build: docker or buildpack.
    architecture "amd64" | "arm64"
    The target architecture for the built container image.
    buildpack String
    The buildpack to use for building the image.
    computeType "BUILD_GENERAL1_SMALL" | "BUILD_GENERAL1_MEDIUM" | "BUILD_GENERAL1_LARGE"
    The compute type for the CodeBuild build environment.
    dockerfileLocation String
    The path to the Dockerfile, relative to the source root.
    timeoutInMinutes Number
    The timeout for the CodeBuild build, in minutes.

    ApplicationVersionImageBuildConfigurationArchitecture, ApplicationVersionImageBuildConfigurationArchitectureArgs

    Amd64
    amd64
    Arm64
    arm64
    ApplicationVersionImageBuildConfigurationArchitectureAmd64
    amd64
    ApplicationVersionImageBuildConfigurationArchitectureArm64
    arm64
    "amd64"
    amd64
    "arm64"
    arm64
    Amd64
    amd64
    Arm64
    arm64
    Amd64
    amd64
    Arm64
    arm64
    AMD64
    amd64
    ARM64
    arm64
    "amd64"
    amd64
    "arm64"
    arm64

    ApplicationVersionImageBuildConfigurationComputeType, ApplicationVersionImageBuildConfigurationComputeTypeArgs

    BuildGeneral1Small
    BUILD_GENERAL1_SMALL
    BuildGeneral1Medium
    BUILD_GENERAL1_MEDIUM
    BuildGeneral1Large
    BUILD_GENERAL1_LARGE
    ApplicationVersionImageBuildConfigurationComputeTypeBuildGeneral1Small
    BUILD_GENERAL1_SMALL
    ApplicationVersionImageBuildConfigurationComputeTypeBuildGeneral1Medium
    BUILD_GENERAL1_MEDIUM
    ApplicationVersionImageBuildConfigurationComputeTypeBuildGeneral1Large
    BUILD_GENERAL1_LARGE
    "BUILD_GENERAL1_SMALL"
    BUILD_GENERAL1_SMALL
    "BUILD_GENERAL1_MEDIUM"
    BUILD_GENERAL1_MEDIUM
    "BUILD_GENERAL1_LARGE"
    BUILD_GENERAL1_LARGE
    BuildGeneral1Small
    BUILD_GENERAL1_SMALL
    BuildGeneral1Medium
    BUILD_GENERAL1_MEDIUM
    BuildGeneral1Large
    BUILD_GENERAL1_LARGE
    BuildGeneral1Small
    BUILD_GENERAL1_SMALL
    BuildGeneral1Medium
    BUILD_GENERAL1_MEDIUM
    BuildGeneral1Large
    BUILD_GENERAL1_LARGE
    BUILD_GENERAL1_SMALL
    BUILD_GENERAL1_SMALL
    BUILD_GENERAL1_MEDIUM
    BUILD_GENERAL1_MEDIUM
    BUILD_GENERAL1_LARGE
    BUILD_GENERAL1_LARGE
    "BUILD_GENERAL1_SMALL"
    BUILD_GENERAL1_SMALL
    "BUILD_GENERAL1_MEDIUM"
    BUILD_GENERAL1_MEDIUM
    "BUILD_GENERAL1_LARGE"
    BUILD_GENERAL1_LARGE

    ApplicationVersionImageBuildConfigurationType, ApplicationVersionImageBuildConfigurationTypeArgs

    Docker
    docker
    Buildpack
    buildpack
    ApplicationVersionImageBuildConfigurationTypeDocker
    docker
    ApplicationVersionImageBuildConfigurationTypeBuildpack
    buildpack
    "docker"
    docker
    "buildpack"
    buildpack
    Docker
    docker
    Buildpack
    buildpack
    Docker
    docker
    Buildpack
    buildpack
    DOCKER
    docker
    BUILDPACK
    buildpack
    "docker"
    docker
    "buildpack"
    buildpack

    ApplicationVersionImageConfiguration, ApplicationVersionImageConfigurationArgs

    Build Pulumi.AwsNative.ElasticBeanstalk.Inputs.ApplicationVersionImageBuildConfiguration
    Configuration for building a container image from source code.
    Source Pulumi.AwsNative.ElasticBeanstalk.Inputs.ApplicationVersionImageSource
    The container image source for this version, as an ECR image URI.
    Build ApplicationVersionImageBuildConfiguration
    Configuration for building a container image from source code.
    Source ApplicationVersionImageSource
    The container image source for this version, as an ECR image URI.
    build object
    Configuration for building a container image from source code.
    source object
    The container image source for this version, as an ECR image URI.
    build ApplicationVersionImageBuildConfiguration
    Configuration for building a container image from source code.
    source ApplicationVersionImageSource
    The container image source for this version, as an ECR image URI.
    build ApplicationVersionImageBuildConfiguration
    Configuration for building a container image from source code.
    source ApplicationVersionImageSource
    The container image source for this version, as an ECR image URI.
    build ApplicationVersionImageBuildConfiguration
    Configuration for building a container image from source code.
    source ApplicationVersionImageSource
    The container image source for this version, as an ECR image URI.
    build Property Map
    Configuration for building a container image from source code.
    source Property Map
    The container image source for this version, as an ECR image URI.

    ApplicationVersionImageSource, ApplicationVersionImageSourceArgs

    Uri string
    The URI of the container image, e.g. an ECR image URI.
    Uri string
    The URI of the container image, e.g. an ECR image URI.
    uri string
    The URI of the container image, e.g. an ECR image URI.
    uri String
    The URI of the container image, e.g. an ECR image URI.
    uri string
    The URI of the container image, e.g. an ECR image URI.
    uri str
    The URI of the container image, e.g. an ECR image URI.
    uri String
    The URI of the container image, e.g. an ECR image URI.

    ApplicationVersionSourceBundle, ApplicationVersionSourceBundleArgs

    S3Bucket string
    The Amazon S3 bucket where the data is located.
    S3Key string
    The Amazon S3 key where the data is located.
    S3Bucket string
    The Amazon S3 bucket where the data is located.
    S3Key string
    The Amazon S3 key where the data is located.
    s3_bucket string
    The Amazon S3 bucket where the data is located.
    s3_key string
    The Amazon S3 key where the data is located.
    s3Bucket String
    The Amazon S3 bucket where the data is located.
    s3Key String
    The Amazon S3 key where the data is located.
    s3Bucket string
    The Amazon S3 bucket where the data is located.
    s3Key string
    The Amazon S3 key where the data is located.
    s3_bucket str
    The Amazon S3 bucket where the data is located.
    s3_key str
    The Amazon S3 key where the data is located.
    s3Bucket String
    The Amazon S3 bucket where the data is located.
    s3Key String
    The Amazon S3 key where the data is located.

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo aws-native logo

    We recommend new projects start with resources from the AWS provider.

    Viewing docs for AWS Cloud Control v1.81.0
    published on Monday, Sep 28, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial