We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi
aws-native.elasticbeanstalk.getApplication
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi
The AWS::ElasticBeanstalk::Application resource specifies an Elastic Beanstalk application.
Using getApplication
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getApplication(args: GetApplicationArgs, opts?: InvokeOptions): Promise<GetApplicationResult>
function getApplicationOutput(args: GetApplicationOutputArgs, opts?: InvokeOptions): Output<GetApplicationResult>
def get_application(application_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetApplicationResult
def get_application_output(application_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetApplicationResult]
func LookupApplication(ctx *Context, args *LookupApplicationArgs, opts ...InvokeOption) (*LookupApplicationResult, error)
func LookupApplicationOutput(ctx *Context, args *LookupApplicationOutputArgs, opts ...InvokeOption) LookupApplicationResultOutput
> Note: This function is named LookupApplication
in the Go SDK.
public static class GetApplication
{
public static Task<GetApplicationResult> InvokeAsync(GetApplicationArgs args, InvokeOptions? opts = null)
public static Output<GetApplicationResult> Invoke(GetApplicationInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetApplicationResult> getApplication(GetApplicationArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws-native:elasticbeanstalk:getApplication
arguments:
# arguments dictionary
The following arguments are supported:
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
getApplication Result
The following output properties are available:
- Description string
- Your description of the application.
- Resource
Lifecycle Pulumi.Config Aws Native. Elastic Beanstalk. Outputs. Application Resource Lifecycle Config - Specifies an application resource lifecycle configuration to prevent your application from accumulating too many versions.
- 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.
- 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.
- 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.
- description str
- 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.
- 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.
Supporting Types
ApplicationMaxAgeRule
- 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
- 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
- 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
- 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.
AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi