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

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

AWS Native v0.102.0 published on Tuesday, Apr 16, 2024 by Pulumi

aws-native.elasticbeanstalk.getApplication

Explore with Pulumi AI

aws-native logo

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

AWS Native v0.102.0 published on Tuesday, Apr 16, 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:

    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.
    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.
    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.
    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.
    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.
    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.

    getApplication Result

    The following output properties are available:

    Description string
    Your description of the application.
    ResourceLifecycleConfig Pulumi.AwsNative.ElasticBeanstalk.Outputs.ApplicationResourceLifecycleConfig
    Specifies an application resource lifecycle configuration to prevent your application from accumulating too many versions.
    Description string
    Your description of the application.
    ResourceLifecycleConfig ApplicationResourceLifecycleConfig
    Specifies an application resource lifecycle configuration to prevent your application from accumulating too many versions.
    description String
    Your description of the application.
    resourceLifecycleConfig ApplicationResourceLifecycleConfig
    Specifies an application resource lifecycle configuration to prevent your application from accumulating too many versions.
    description string
    Your description of the application.
    resourceLifecycleConfig ApplicationResourceLifecycleConfig
    Specifies an application resource lifecycle configuration to prevent your application from accumulating too many versions.
    description str
    Your description of the application.
    resource_lifecycle_config ApplicationResourceLifecycleConfig
    Specifies an application resource lifecycle configuration to prevent your application from accumulating too many versions.
    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.

    Supporting Types

    ApplicationMaxAgeRule

    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

    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

    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

    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.102.0 published on Tuesday, Apr 16, 2024 by Pulumi