1. Packages
  2. AWS Native
  3. API Docs
  4. elasticbeanstalk
  5. Application

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi

aws-native.elasticbeanstalk.Application

Explore with Pulumi AI

aws-native logo

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi

    The AWS::ElasticBeanstalk::Application resource specifies an Elastic Beanstalk application.

    Create Application Resource

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

    Constructor syntax

    new Application(name: string, args?: ApplicationArgs, opts?: CustomResourceOptions);
    @overload
    def Application(resource_name: str,
                    args: Optional[ApplicationArgs] = None,
                    opts: Optional[ResourceOptions] = None)
    
    @overload
    def Application(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    application_name: Optional[str] = None,
                    description: Optional[str] = None,
                    resource_lifecycle_config: Optional[ApplicationResourceLifecycleConfigArgs] = None)
    func NewApplication(ctx *Context, name string, args *ApplicationArgs, opts ...ResourceOption) (*Application, error)
    public Application(string name, ApplicationArgs? args = null, CustomResourceOptions? opts = null)
    public Application(String name, ApplicationArgs args)
    public Application(String name, ApplicationArgs args, CustomResourceOptions options)
    
    type: aws-native:elasticbeanstalk:Application
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args ApplicationArgs
    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 ApplicationArgs
    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 ApplicationArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ApplicationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ApplicationArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Application Resource Properties

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

    Inputs

    The Application resource accepts the following input properties:

    ApplicationName string
    A name for the Elastic Beanstalk application. If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the application name.
    Description string
    Your description of the application.
    ResourceLifecycleConfig Pulumi.AwsNative.ElasticBeanstalk.Inputs.ApplicationResourceLifecycleConfig
    Specifies an application resource lifecycle configuration to prevent your application from accumulating too many versions.
    ApplicationName string
    A name for the Elastic Beanstalk application. If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the application name.
    Description string
    Your description of the application.
    ResourceLifecycleConfig ApplicationResourceLifecycleConfigArgs
    Specifies an application resource lifecycle configuration to prevent your application from accumulating too many versions.
    applicationName String
    A name for the Elastic Beanstalk application. If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the application name.
    description String
    Your description of the application.
    resourceLifecycleConfig ApplicationResourceLifecycleConfig
    Specifies an application resource lifecycle configuration to prevent your application from accumulating too many versions.
    applicationName string
    A name for the Elastic Beanstalk application. If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the application name.
    description string
    Your description of the application.
    resourceLifecycleConfig ApplicationResourceLifecycleConfig
    Specifies an application resource lifecycle configuration to prevent your application from accumulating too many versions.
    application_name str
    A name for the Elastic Beanstalk application. If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the application name.
    description str
    Your description of the application.
    resource_lifecycle_config ApplicationResourceLifecycleConfigArgs
    Specifies an application resource lifecycle configuration to prevent your application from accumulating too many versions.
    applicationName String
    A name for the Elastic Beanstalk application. If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the application name.
    description String
    Your description of the application.
    resourceLifecycleConfig Property Map
    Specifies an application resource lifecycle configuration to prevent your application from accumulating too many versions.

    Outputs

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

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

    Supporting Types

    ApplicationMaxAgeRule, ApplicationMaxAgeRuleArgs

    DeleteSourceFromS3 bool
    Set to true to delete a version's source bundle from Amazon S3 when Elastic Beanstalk deletes the application version.
    Enabled bool
    Specify true to apply the rule, or false to disable it.
    MaxAgeInDays int
    Specify the number of days to retain an application versions.
    DeleteSourceFromS3 bool
    Set to true to delete a version's source bundle from Amazon S3 when Elastic Beanstalk deletes the application version.
    Enabled bool
    Specify true to apply the rule, or false to disable it.
    MaxAgeInDays int
    Specify the number of days to retain an application versions.
    deleteSourceFromS3 Boolean
    Set to true to delete a version's source bundle from Amazon S3 when Elastic Beanstalk deletes the application version.
    enabled Boolean
    Specify true to apply the rule, or false to disable it.
    maxAgeInDays Integer
    Specify the number of days to retain an application versions.
    deleteSourceFromS3 boolean
    Set to true to delete a version's source bundle from Amazon S3 when Elastic Beanstalk deletes the application version.
    enabled boolean
    Specify true to apply the rule, or false to disable it.
    maxAgeInDays number
    Specify the number of days to retain an application versions.
    delete_source_from_s3 bool
    Set to true to delete a version's source bundle from Amazon S3 when Elastic Beanstalk deletes the application version.
    enabled bool
    Specify true to apply the rule, or false to disable it.
    max_age_in_days int
    Specify the number of days to retain an application versions.
    deleteSourceFromS3 Boolean
    Set to true to delete a version's source bundle from Amazon S3 when Elastic Beanstalk deletes the application version.
    enabled Boolean
    Specify true to apply the rule, or false to disable it.
    maxAgeInDays Number
    Specify the number of days to retain an application versions.

    ApplicationMaxCountRule, ApplicationMaxCountRuleArgs

    DeleteSourceFromS3 bool
    Set to true to delete a version's source bundle from Amazon S3 when Elastic Beanstalk deletes the application version.
    Enabled bool
    Specify true to apply the rule, or false to disable it.
    MaxCount int
    Specify the maximum number of application versions to retain.
    DeleteSourceFromS3 bool
    Set to true to delete a version's source bundle from Amazon S3 when Elastic Beanstalk deletes the application version.
    Enabled bool
    Specify true to apply the rule, or false to disable it.
    MaxCount int
    Specify the maximum number of application versions to retain.
    deleteSourceFromS3 Boolean
    Set to true to delete a version's source bundle from Amazon S3 when Elastic Beanstalk deletes the application version.
    enabled Boolean
    Specify true to apply the rule, or false to disable it.
    maxCount Integer
    Specify the maximum number of application versions to retain.
    deleteSourceFromS3 boolean
    Set to true to delete a version's source bundle from Amazon S3 when Elastic Beanstalk deletes the application version.
    enabled boolean
    Specify true to apply the rule, or false to disable it.
    maxCount number
    Specify the maximum number of application versions to retain.
    delete_source_from_s3 bool
    Set to true to delete a version's source bundle from Amazon S3 when Elastic Beanstalk deletes the application version.
    enabled bool
    Specify true to apply the rule, or false to disable it.
    max_count int
    Specify the maximum number of application versions to retain.
    deleteSourceFromS3 Boolean
    Set to true to delete a version's source bundle from Amazon S3 when Elastic Beanstalk deletes the application version.
    enabled Boolean
    Specify true to apply the rule, or false to disable it.
    maxCount Number
    Specify the maximum number of application versions to retain.

    ApplicationResourceLifecycleConfig, ApplicationResourceLifecycleConfigArgs

    ServiceRole string
    The ARN of an IAM service role that Elastic Beanstalk has permission to assume. The ServiceRole property is required the first time that you provide a ResourceLifecycleConfig for the application. After you provide it once, Elastic Beanstalk persists the Service Role with the application, and you don't need to specify it again. You can, however, specify it in subsequent updates to change the Service Role to another value.
    VersionLifecycleConfig Pulumi.AwsNative.ElasticBeanstalk.Inputs.ApplicationVersionLifecycleConfig
    Defines lifecycle settings for application versions.
    ServiceRole string
    The ARN of an IAM service role that Elastic Beanstalk has permission to assume. The ServiceRole property is required the first time that you provide a ResourceLifecycleConfig for the application. After you provide it once, Elastic Beanstalk persists the Service Role with the application, and you don't need to specify it again. You can, however, specify it in subsequent updates to change the Service Role to another value.
    VersionLifecycleConfig ApplicationVersionLifecycleConfig
    Defines lifecycle settings for application versions.
    serviceRole String
    The ARN of an IAM service role that Elastic Beanstalk has permission to assume. The ServiceRole property is required the first time that you provide a ResourceLifecycleConfig for the application. After you provide it once, Elastic Beanstalk persists the Service Role with the application, and you don't need to specify it again. You can, however, specify it in subsequent updates to change the Service Role to another value.
    versionLifecycleConfig ApplicationVersionLifecycleConfig
    Defines lifecycle settings for application versions.
    serviceRole string
    The ARN of an IAM service role that Elastic Beanstalk has permission to assume. The ServiceRole property is required the first time that you provide a ResourceLifecycleConfig for the application. After you provide it once, Elastic Beanstalk persists the Service Role with the application, and you don't need to specify it again. You can, however, specify it in subsequent updates to change the Service Role to another value.
    versionLifecycleConfig ApplicationVersionLifecycleConfig
    Defines lifecycle settings for application versions.
    service_role str
    The ARN of an IAM service role that Elastic Beanstalk has permission to assume. The ServiceRole property is required the first time that you provide a ResourceLifecycleConfig for the application. After you provide it once, Elastic Beanstalk persists the Service Role with the application, and you don't need to specify it again. You can, however, specify it in subsequent updates to change the Service Role to another value.
    version_lifecycle_config ApplicationVersionLifecycleConfig
    Defines lifecycle settings for application versions.
    serviceRole String
    The ARN of an IAM service role that Elastic Beanstalk has permission to assume. The ServiceRole property is required the first time that you provide a ResourceLifecycleConfig for the application. After you provide it once, Elastic Beanstalk persists the Service Role with the application, and you don't need to specify it again. You can, however, specify it in subsequent updates to change the Service Role to another value.
    versionLifecycleConfig Property Map
    Defines lifecycle settings for application versions.

    ApplicationVersionLifecycleConfig, ApplicationVersionLifecycleConfigArgs

    MaxAgeRule Pulumi.AwsNative.ElasticBeanstalk.Inputs.ApplicationMaxAgeRule
    Specify a max age rule to restrict the length of time that application versions are retained for an application.
    MaxCountRule Pulumi.AwsNative.ElasticBeanstalk.Inputs.ApplicationMaxCountRule
    Specify a max count rule to restrict the number of application versions that are retained for an application.
    MaxAgeRule ApplicationMaxAgeRule
    Specify a max age rule to restrict the length of time that application versions are retained for an application.
    MaxCountRule ApplicationMaxCountRule
    Specify a max count rule to restrict the number of application versions that are retained for an application.
    maxAgeRule ApplicationMaxAgeRule
    Specify a max age rule to restrict the length of time that application versions are retained for an application.
    maxCountRule ApplicationMaxCountRule
    Specify a max count rule to restrict the number of application versions that are retained for an application.
    maxAgeRule ApplicationMaxAgeRule
    Specify a max age rule to restrict the length of time that application versions are retained for an application.
    maxCountRule ApplicationMaxCountRule
    Specify a max count rule to restrict the number of application versions that are retained for an application.
    max_age_rule ApplicationMaxAgeRule
    Specify a max age rule to restrict the length of time that application versions are retained for an application.
    max_count_rule ApplicationMaxCountRule
    Specify a max count rule to restrict the number of application versions that are retained for an application.
    maxAgeRule Property Map
    Specify a max age rule to restrict the length of time that application versions are retained for an application.
    maxCountRule Property Map
    Specify a max count rule to restrict the number of application versions that are retained for an application.

    Package Details

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

    AWS Native is in preview. AWS Classic is fully supported.

    AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi