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:
- Application
Name 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.
- Resource
Lifecycle 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.
- Application
Name 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.
- Resource
Lifecycle ApplicationConfig Resource Lifecycle Config Args - Specifies an application resource lifecycle configuration to prevent your application from accumulating too many versions.
- application
Name 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.
- resource
Lifecycle ApplicationConfig Resource Lifecycle Config - Specifies an application resource lifecycle configuration to prevent your application from accumulating too many versions.
- application
Name 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.
- resource
Lifecycle 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.
- application
Name 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.
- resource
Lifecycle 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
- 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.
- 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.
- delete
Source 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.
- max
Age IntegerIn Days - Specify the number of days to retain an application versions.
- delete
Source 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.
- max
Age 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.
- delete
Source 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.
- max
Age NumberIn Days - Specify the number of days to retain an application versions.
ApplicationMaxCountRule, ApplicationMaxCountRuleArgs
- 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.
- 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.
- delete
Source 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.
- max
Count Integer - Specify the maximum number of application versions to retain.
- delete
Source 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.
- max
Count 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.
- delete
Source 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.
- max
Count Number - Specify the maximum number of application versions to retain.
ApplicationResourceLifecycleConfig, ApplicationResourceLifecycleConfigArgs
- Service
Role 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.
- Version
Lifecycle Pulumi.Config Aws Native. Elastic Beanstalk. Inputs. Application Version Lifecycle Config - Defines lifecycle settings for application versions.
- Service
Role 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.
- Version
Lifecycle ApplicationConfig Version Lifecycle Config - Defines lifecycle settings for application versions.
- service
Role 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.
- version
Lifecycle ApplicationConfig Version Lifecycle Config - Defines lifecycle settings for application versions.
- service
Role 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.
- version
Lifecycle 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.
- service
Role 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.
- version
Lifecycle Property MapConfig - Defines lifecycle settings for application versions.
ApplicationVersionLifecycleConfig, ApplicationVersionLifecycleConfigArgs
- Max
Age 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.
- Max
Count 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.
- 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.
- 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.
- 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.
- 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.
- max
Age Property MapRule - Specify a max age rule to restrict the length of time that application versions are retained for an application.
- max
Count 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.