We recommend new projects start with resources from the AWS provider.
aws-native.elasticbeanstalk.Application
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
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.
- ResourceLifecycle Pulumi.Config Aws Native. Elastic Beanstalk. Inputs. Application Resource Lifecycle Config 
- 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.
- ResourceLifecycle ApplicationConfig Resource Lifecycle Config Args 
- 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.
- resourceLifecycle ApplicationConfig Resource Lifecycle Config 
- 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.
- resourceLifecycle ApplicationConfig Resource Lifecycle Config 
- 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_ Applicationconfig Resource Lifecycle Config Args 
- 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.
- resourceLifecycle Property MapConfig 
- 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        
- DeleteSource boolFrom S3 
- 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.
- MaxAge intIn Days 
- Specify the number of days to retain an application versions.
- DeleteSource boolFrom S3 
- 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.
- MaxAge intIn Days 
- Specify the number of days to retain an application versions.
- deleteSource BooleanFrom S3 
- 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.
- maxAge IntegerIn Days 
- Specify the number of days to retain an application versions.
- deleteSource booleanFrom S3 
- 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.
- maxAge numberIn Days 
- Specify the number of days to retain an application versions.
- delete_source_ boolfrom_ s3 
- 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_ intin_ days 
- Specify the number of days to retain an application versions.
- deleteSource BooleanFrom S3 
- 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.
- maxAge NumberIn Days 
- Specify the number of days to retain an application versions.
ApplicationMaxCountRule, ApplicationMaxCountRuleArgs        
- DeleteSource boolFrom S3 
- 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.
- DeleteSource boolFrom S3 
- 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.
- deleteSource BooleanFrom S3 
- 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.
- deleteSource booleanFrom S3 
- 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_ boolfrom_ s3 
- 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.
- deleteSource BooleanFrom S3 
- 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.
- VersionLifecycle Pulumi.Config Aws Native. Elastic Beanstalk. Inputs. Application Version Lifecycle Config 
- 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.
- VersionLifecycle ApplicationConfig Version Lifecycle Config 
- 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.
- versionLifecycle ApplicationConfig Version Lifecycle Config 
- 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.
- versionLifecycle ApplicationConfig Version Lifecycle Config 
- 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_ Applicationconfig Version Lifecycle Config 
- 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.
- versionLifecycle Property MapConfig 
- Defines lifecycle settings for application versions.
ApplicationVersionLifecycleConfig, ApplicationVersionLifecycleConfigArgs        
- MaxAge Pulumi.Rule Aws Native. Elastic Beanstalk. Inputs. Application Max Age Rule 
- Specify a max age rule to restrict the length of time that application versions are retained for an application.
- MaxCount Pulumi.Rule Aws Native. Elastic Beanstalk. Inputs. Application Max Count Rule 
- Specify a max count rule to restrict the number of application versions that are retained for an application.
- MaxAge ApplicationRule Max Age Rule 
- Specify a max age rule to restrict the length of time that application versions are retained for an application.
- MaxCount ApplicationRule Max Count Rule 
- Specify a max count rule to restrict the number of application versions that are retained for an application.
- maxAge ApplicationRule Max Age Rule 
- Specify a max age rule to restrict the length of time that application versions are retained for an application.
- maxCount ApplicationRule Max Count Rule 
- Specify a max count rule to restrict the number of application versions that are retained for an application.
- maxAge ApplicationRule Max Age Rule 
- Specify a max age rule to restrict the length of time that application versions are retained for an application.
- maxCount ApplicationRule Max Count Rule 
- Specify a max count rule to restrict the number of application versions that are retained for an application.
- max_age_ Applicationrule Max Age Rule 
- Specify a max age rule to restrict the length of time that application versions are retained for an application.
- max_count_ Applicationrule Max Count Rule 
- Specify a max count rule to restrict the number of application versions that are retained for an application.
- maxAge Property MapRule 
- Specify a max age rule to restrict the length of time that application versions are retained for an application.
- maxCount Property MapRule 
- 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
We recommend new projects start with resources from the AWS provider.