elasticbeanstalk

package
v6.24.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 4, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Application

type Application struct {
	pulumi.CustomResourceState

	AppversionLifecycle ApplicationAppversionLifecyclePtrOutput `pulumi:"appversionLifecycle"`
	// The ARN assigned by AWS for this Elastic Beanstalk Application.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// Short description of the application
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The name of the application, must be unique within your account
	Name pulumi.StringOutput `pulumi:"name"`
	// Key-value map of tags for the Elastic Beanstalk Application. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
}

Provides an Elastic Beanstalk Application Resource. Elastic Beanstalk allows you to deploy and manage applications in the AWS cloud without worrying about the infrastructure that runs those applications.

This resource creates an application that has one configuration template named `default`, and no application versions

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/elasticbeanstalk"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := elasticbeanstalk.NewApplication(ctx, "tftest", &elasticbeanstalk.ApplicationArgs{
			Name:        pulumi.String("tf-test-name"),
			Description: pulumi.String("tf-test-desc"),
			AppversionLifecycle: &elasticbeanstalk.ApplicationAppversionLifecycleArgs{
				ServiceRole:        pulumi.Any(beanstalkService.Arn),
				MaxCount:           pulumi.Int(128),
				DeleteSourceFromS3: pulumi.Bool(true),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Using `pulumi import`, import Elastic Beanstalk Applications using the `name`. For example:

```sh

$ pulumi import aws:elasticbeanstalk/application:Application tf_test tf-test-name

```

func GetApplication

func GetApplication(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ApplicationState, opts ...pulumi.ResourceOption) (*Application, error)

GetApplication gets an existing Application resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewApplication

func NewApplication(ctx *pulumi.Context,
	name string, args *ApplicationArgs, opts ...pulumi.ResourceOption) (*Application, error)

NewApplication registers a new resource with the given unique name, arguments, and options.

func (*Application) ElementType

func (*Application) ElementType() reflect.Type

func (*Application) ToApplicationOutput

func (i *Application) ToApplicationOutput() ApplicationOutput

func (*Application) ToApplicationOutputWithContext

func (i *Application) ToApplicationOutputWithContext(ctx context.Context) ApplicationOutput

type ApplicationAppversionLifecycle

type ApplicationAppversionLifecycle struct {
	// Set to `true` to delete a version's source bundle from S3 when the application version is deleted.
	DeleteSourceFromS3 *bool `pulumi:"deleteSourceFromS3"`
	// The number of days to retain an application version ('max_age_in_days' and 'max_count' cannot be enabled simultaneously.).
	MaxAgeInDays *int `pulumi:"maxAgeInDays"`
	// The maximum number of application versions to retain ('max_age_in_days' and 'max_count' cannot be enabled simultaneously.).
	MaxCount *int `pulumi:"maxCount"`
	// The ARN of an IAM service role under which the application version is deleted.  Elastic Beanstalk must have permission to assume this role.
	ServiceRole string `pulumi:"serviceRole"`
}

type ApplicationAppversionLifecycleArgs

type ApplicationAppversionLifecycleArgs struct {
	// Set to `true` to delete a version's source bundle from S3 when the application version is deleted.
	DeleteSourceFromS3 pulumi.BoolPtrInput `pulumi:"deleteSourceFromS3"`
	// The number of days to retain an application version ('max_age_in_days' and 'max_count' cannot be enabled simultaneously.).
	MaxAgeInDays pulumi.IntPtrInput `pulumi:"maxAgeInDays"`
	// The maximum number of application versions to retain ('max_age_in_days' and 'max_count' cannot be enabled simultaneously.).
	MaxCount pulumi.IntPtrInput `pulumi:"maxCount"`
	// The ARN of an IAM service role under which the application version is deleted.  Elastic Beanstalk must have permission to assume this role.
	ServiceRole pulumi.StringInput `pulumi:"serviceRole"`
}

func (ApplicationAppversionLifecycleArgs) ElementType

func (ApplicationAppversionLifecycleArgs) ToApplicationAppversionLifecycleOutput

func (i ApplicationAppversionLifecycleArgs) ToApplicationAppversionLifecycleOutput() ApplicationAppversionLifecycleOutput

func (ApplicationAppversionLifecycleArgs) ToApplicationAppversionLifecycleOutputWithContext

func (i ApplicationAppversionLifecycleArgs) ToApplicationAppversionLifecycleOutputWithContext(ctx context.Context) ApplicationAppversionLifecycleOutput

func (ApplicationAppversionLifecycleArgs) ToApplicationAppversionLifecyclePtrOutput

func (i ApplicationAppversionLifecycleArgs) ToApplicationAppversionLifecyclePtrOutput() ApplicationAppversionLifecyclePtrOutput

func (ApplicationAppversionLifecycleArgs) ToApplicationAppversionLifecyclePtrOutputWithContext

func (i ApplicationAppversionLifecycleArgs) ToApplicationAppversionLifecyclePtrOutputWithContext(ctx context.Context) ApplicationAppversionLifecyclePtrOutput

type ApplicationAppversionLifecycleInput

type ApplicationAppversionLifecycleInput interface {
	pulumi.Input

	ToApplicationAppversionLifecycleOutput() ApplicationAppversionLifecycleOutput
	ToApplicationAppversionLifecycleOutputWithContext(context.Context) ApplicationAppversionLifecycleOutput
}

ApplicationAppversionLifecycleInput is an input type that accepts ApplicationAppversionLifecycleArgs and ApplicationAppversionLifecycleOutput values. You can construct a concrete instance of `ApplicationAppversionLifecycleInput` via:

ApplicationAppversionLifecycleArgs{...}

type ApplicationAppversionLifecycleOutput

type ApplicationAppversionLifecycleOutput struct{ *pulumi.OutputState }

func (ApplicationAppversionLifecycleOutput) DeleteSourceFromS3

Set to `true` to delete a version's source bundle from S3 when the application version is deleted.

func (ApplicationAppversionLifecycleOutput) ElementType

func (ApplicationAppversionLifecycleOutput) MaxAgeInDays

The number of days to retain an application version ('max_age_in_days' and 'max_count' cannot be enabled simultaneously.).

func (ApplicationAppversionLifecycleOutput) MaxCount

The maximum number of application versions to retain ('max_age_in_days' and 'max_count' cannot be enabled simultaneously.).

func (ApplicationAppversionLifecycleOutput) ServiceRole

The ARN of an IAM service role under which the application version is deleted. Elastic Beanstalk must have permission to assume this role.

func (ApplicationAppversionLifecycleOutput) ToApplicationAppversionLifecycleOutput

func (o ApplicationAppversionLifecycleOutput) ToApplicationAppversionLifecycleOutput() ApplicationAppversionLifecycleOutput

func (ApplicationAppversionLifecycleOutput) ToApplicationAppversionLifecycleOutputWithContext

func (o ApplicationAppversionLifecycleOutput) ToApplicationAppversionLifecycleOutputWithContext(ctx context.Context) ApplicationAppversionLifecycleOutput

func (ApplicationAppversionLifecycleOutput) ToApplicationAppversionLifecyclePtrOutput

func (o ApplicationAppversionLifecycleOutput) ToApplicationAppversionLifecyclePtrOutput() ApplicationAppversionLifecyclePtrOutput

func (ApplicationAppversionLifecycleOutput) ToApplicationAppversionLifecyclePtrOutputWithContext

func (o ApplicationAppversionLifecycleOutput) ToApplicationAppversionLifecyclePtrOutputWithContext(ctx context.Context) ApplicationAppversionLifecyclePtrOutput

type ApplicationAppversionLifecyclePtrInput

type ApplicationAppversionLifecyclePtrInput interface {
	pulumi.Input

	ToApplicationAppversionLifecyclePtrOutput() ApplicationAppversionLifecyclePtrOutput
	ToApplicationAppversionLifecyclePtrOutputWithContext(context.Context) ApplicationAppversionLifecyclePtrOutput
}

ApplicationAppversionLifecyclePtrInput is an input type that accepts ApplicationAppversionLifecycleArgs, ApplicationAppversionLifecyclePtr and ApplicationAppversionLifecyclePtrOutput values. You can construct a concrete instance of `ApplicationAppversionLifecyclePtrInput` via:

        ApplicationAppversionLifecycleArgs{...}

or:

        nil

type ApplicationAppversionLifecyclePtrOutput

type ApplicationAppversionLifecyclePtrOutput struct{ *pulumi.OutputState }

func (ApplicationAppversionLifecyclePtrOutput) DeleteSourceFromS3

Set to `true` to delete a version's source bundle from S3 when the application version is deleted.

func (ApplicationAppversionLifecyclePtrOutput) Elem

func (ApplicationAppversionLifecyclePtrOutput) ElementType

func (ApplicationAppversionLifecyclePtrOutput) MaxAgeInDays

The number of days to retain an application version ('max_age_in_days' and 'max_count' cannot be enabled simultaneously.).

func (ApplicationAppversionLifecyclePtrOutput) MaxCount

The maximum number of application versions to retain ('max_age_in_days' and 'max_count' cannot be enabled simultaneously.).

func (ApplicationAppversionLifecyclePtrOutput) ServiceRole

The ARN of an IAM service role under which the application version is deleted. Elastic Beanstalk must have permission to assume this role.

func (ApplicationAppversionLifecyclePtrOutput) ToApplicationAppversionLifecyclePtrOutput

func (o ApplicationAppversionLifecyclePtrOutput) ToApplicationAppversionLifecyclePtrOutput() ApplicationAppversionLifecyclePtrOutput

func (ApplicationAppversionLifecyclePtrOutput) ToApplicationAppversionLifecyclePtrOutputWithContext

func (o ApplicationAppversionLifecyclePtrOutput) ToApplicationAppversionLifecyclePtrOutputWithContext(ctx context.Context) ApplicationAppversionLifecyclePtrOutput

type ApplicationArgs

type ApplicationArgs struct {
	AppversionLifecycle ApplicationAppversionLifecyclePtrInput
	// Short description of the application
	Description pulumi.StringPtrInput
	// The name of the application, must be unique within your account
	Name pulumi.StringPtrInput
	// Key-value map of tags for the Elastic Beanstalk Application. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a Application resource.

func (ApplicationArgs) ElementType

func (ApplicationArgs) ElementType() reflect.Type

type ApplicationArray

type ApplicationArray []ApplicationInput

func (ApplicationArray) ElementType

func (ApplicationArray) ElementType() reflect.Type

func (ApplicationArray) ToApplicationArrayOutput

func (i ApplicationArray) ToApplicationArrayOutput() ApplicationArrayOutput

func (ApplicationArray) ToApplicationArrayOutputWithContext

func (i ApplicationArray) ToApplicationArrayOutputWithContext(ctx context.Context) ApplicationArrayOutput

type ApplicationArrayInput

type ApplicationArrayInput interface {
	pulumi.Input

	ToApplicationArrayOutput() ApplicationArrayOutput
	ToApplicationArrayOutputWithContext(context.Context) ApplicationArrayOutput
}

ApplicationArrayInput is an input type that accepts ApplicationArray and ApplicationArrayOutput values. You can construct a concrete instance of `ApplicationArrayInput` via:

ApplicationArray{ ApplicationArgs{...} }

type ApplicationArrayOutput

type ApplicationArrayOutput struct{ *pulumi.OutputState }

func (ApplicationArrayOutput) ElementType

func (ApplicationArrayOutput) ElementType() reflect.Type

func (ApplicationArrayOutput) Index

func (ApplicationArrayOutput) ToApplicationArrayOutput

func (o ApplicationArrayOutput) ToApplicationArrayOutput() ApplicationArrayOutput

func (ApplicationArrayOutput) ToApplicationArrayOutputWithContext

func (o ApplicationArrayOutput) ToApplicationArrayOutputWithContext(ctx context.Context) ApplicationArrayOutput

type ApplicationInput

type ApplicationInput interface {
	pulumi.Input

	ToApplicationOutput() ApplicationOutput
	ToApplicationOutputWithContext(ctx context.Context) ApplicationOutput
}

type ApplicationMap

type ApplicationMap map[string]ApplicationInput

func (ApplicationMap) ElementType

func (ApplicationMap) ElementType() reflect.Type

func (ApplicationMap) ToApplicationMapOutput

func (i ApplicationMap) ToApplicationMapOutput() ApplicationMapOutput

func (ApplicationMap) ToApplicationMapOutputWithContext

func (i ApplicationMap) ToApplicationMapOutputWithContext(ctx context.Context) ApplicationMapOutput

type ApplicationMapInput

type ApplicationMapInput interface {
	pulumi.Input

	ToApplicationMapOutput() ApplicationMapOutput
	ToApplicationMapOutputWithContext(context.Context) ApplicationMapOutput
}

ApplicationMapInput is an input type that accepts ApplicationMap and ApplicationMapOutput values. You can construct a concrete instance of `ApplicationMapInput` via:

ApplicationMap{ "key": ApplicationArgs{...} }

type ApplicationMapOutput

type ApplicationMapOutput struct{ *pulumi.OutputState }

func (ApplicationMapOutput) ElementType

func (ApplicationMapOutput) ElementType() reflect.Type

func (ApplicationMapOutput) MapIndex

func (ApplicationMapOutput) ToApplicationMapOutput

func (o ApplicationMapOutput) ToApplicationMapOutput() ApplicationMapOutput

func (ApplicationMapOutput) ToApplicationMapOutputWithContext

func (o ApplicationMapOutput) ToApplicationMapOutputWithContext(ctx context.Context) ApplicationMapOutput

type ApplicationOutput

type ApplicationOutput struct{ *pulumi.OutputState }

func (ApplicationOutput) AppversionLifecycle

func (ApplicationOutput) Arn

The ARN assigned by AWS for this Elastic Beanstalk Application.

func (ApplicationOutput) Description

func (o ApplicationOutput) Description() pulumi.StringPtrOutput

Short description of the application

func (ApplicationOutput) ElementType

func (ApplicationOutput) ElementType() reflect.Type

func (ApplicationOutput) Name

The name of the application, must be unique within your account

func (ApplicationOutput) Tags

Key-value map of tags for the Elastic Beanstalk Application. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.

func (ApplicationOutput) TagsAll deprecated

A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.

Deprecated: Please use `tags` instead.

func (ApplicationOutput) ToApplicationOutput

func (o ApplicationOutput) ToApplicationOutput() ApplicationOutput

func (ApplicationOutput) ToApplicationOutputWithContext

func (o ApplicationOutput) ToApplicationOutputWithContext(ctx context.Context) ApplicationOutput

type ApplicationState

type ApplicationState struct {
	AppversionLifecycle ApplicationAppversionLifecyclePtrInput
	// The ARN assigned by AWS for this Elastic Beanstalk Application.
	Arn pulumi.StringPtrInput
	// Short description of the application
	Description pulumi.StringPtrInput
	// The name of the application, must be unique within your account
	Name pulumi.StringPtrInput
	// Key-value map of tags for the Elastic Beanstalk Application. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapInput
}

func (ApplicationState) ElementType

func (ApplicationState) ElementType() reflect.Type

type ApplicationVersion

type ApplicationVersion struct {
	pulumi.CustomResourceState

	// Name of the Beanstalk Application the version is associated with.
	Application pulumi.StringOutput `pulumi:"application"`
	// ARN assigned by AWS for this Elastic Beanstalk Application.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// S3 bucket that contains the Application Version source bundle.
	Bucket pulumi.StringOutput `pulumi:"bucket"`
	// Short description of the Application Version.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// On delete, force an Application Version to be deleted when it may be in use by multiple Elastic Beanstalk Environments.
	ForceDelete pulumi.BoolPtrOutput `pulumi:"forceDelete"`
	// S3 object that is the Application Version source bundle.
	Key pulumi.StringOutput `pulumi:"key"`
	// Unique name for the this Application Version.
	//
	// The following arguments are optional:
	Name pulumi.StringOutput `pulumi:"name"`
	// Key-value map of tags for the Elastic Beanstalk Application Version. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
}

Provides an Elastic Beanstalk Application Version Resource. Elastic Beanstalk allows you to deploy and manage applications in the AWS cloud without worrying about the infrastructure that runs those applications.

This resource creates a Beanstalk Application Version that can be deployed to a Beanstalk Environment.

> **NOTE on Application Version Resource:** When using the Application Version resource with multiple Elastic Beanstalk Environments it is possible that an error may be returned when attempting to delete an Application Version while it is still in use by a different environment. To work around this you can either create each environment in a separate AWS account or create your `elasticbeanstalk.ApplicationVersion` resources with a unique names in your Elastic Beanstalk Application. For example <revision>-<environment>.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/elasticbeanstalk"
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/s3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := s3.NewBucketV2(ctx, "default", &s3.BucketV2Args{
			Bucket: pulumi.String("tftest.applicationversion.bucket"),
		})
		if err != nil {
			return err
		}
		defaultBucketObjectv2, err := s3.NewBucketObjectv2(ctx, "default", &s3.BucketObjectv2Args{
			Bucket: _default.ID(),
			Key:    pulumi.String("beanstalk/go-v1.zip"),
			Source: pulumi.NewFileAsset("go-v1.zip"),
		})
		if err != nil {
			return err
		}
		_, err = elasticbeanstalk.NewApplication(ctx, "default", &elasticbeanstalk.ApplicationArgs{
			Name:        pulumi.String("tf-test-name"),
			Description: pulumi.String("tf-test-desc"),
		})
		if err != nil {
			return err
		}
		_, err = elasticbeanstalk.NewApplicationVersion(ctx, "default", &elasticbeanstalk.ApplicationVersionArgs{
			Name:        pulumi.String("tf-test-version-label"),
			Application: pulumi.Any("tf-test-name"),
			Description: pulumi.String("application version"),
			Bucket:      _default.ID(),
			Key:         defaultBucketObjectv2.ID(),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

func GetApplicationVersion

func GetApplicationVersion(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ApplicationVersionState, opts ...pulumi.ResourceOption) (*ApplicationVersion, error)

GetApplicationVersion gets an existing ApplicationVersion resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewApplicationVersion

func NewApplicationVersion(ctx *pulumi.Context,
	name string, args *ApplicationVersionArgs, opts ...pulumi.ResourceOption) (*ApplicationVersion, error)

NewApplicationVersion registers a new resource with the given unique name, arguments, and options.

func (*ApplicationVersion) ElementType

func (*ApplicationVersion) ElementType() reflect.Type

func (*ApplicationVersion) ToApplicationVersionOutput

func (i *ApplicationVersion) ToApplicationVersionOutput() ApplicationVersionOutput

func (*ApplicationVersion) ToApplicationVersionOutputWithContext

func (i *ApplicationVersion) ToApplicationVersionOutputWithContext(ctx context.Context) ApplicationVersionOutput

type ApplicationVersionArgs

type ApplicationVersionArgs struct {
	// Name of the Beanstalk Application the version is associated with.
	Application pulumi.Input
	// S3 bucket that contains the Application Version source bundle.
	Bucket pulumi.Input
	// Short description of the Application Version.
	Description pulumi.StringPtrInput
	// On delete, force an Application Version to be deleted when it may be in use by multiple Elastic Beanstalk Environments.
	ForceDelete pulumi.BoolPtrInput
	// S3 object that is the Application Version source bundle.
	Key pulumi.StringInput
	// Unique name for the this Application Version.
	//
	// The following arguments are optional:
	Name pulumi.StringPtrInput
	// Key-value map of tags for the Elastic Beanstalk Application Version. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a ApplicationVersion resource.

func (ApplicationVersionArgs) ElementType

func (ApplicationVersionArgs) ElementType() reflect.Type

type ApplicationVersionArray

type ApplicationVersionArray []ApplicationVersionInput

func (ApplicationVersionArray) ElementType

func (ApplicationVersionArray) ElementType() reflect.Type

func (ApplicationVersionArray) ToApplicationVersionArrayOutput

func (i ApplicationVersionArray) ToApplicationVersionArrayOutput() ApplicationVersionArrayOutput

func (ApplicationVersionArray) ToApplicationVersionArrayOutputWithContext

func (i ApplicationVersionArray) ToApplicationVersionArrayOutputWithContext(ctx context.Context) ApplicationVersionArrayOutput

type ApplicationVersionArrayInput

type ApplicationVersionArrayInput interface {
	pulumi.Input

	ToApplicationVersionArrayOutput() ApplicationVersionArrayOutput
	ToApplicationVersionArrayOutputWithContext(context.Context) ApplicationVersionArrayOutput
}

ApplicationVersionArrayInput is an input type that accepts ApplicationVersionArray and ApplicationVersionArrayOutput values. You can construct a concrete instance of `ApplicationVersionArrayInput` via:

ApplicationVersionArray{ ApplicationVersionArgs{...} }

type ApplicationVersionArrayOutput

type ApplicationVersionArrayOutput struct{ *pulumi.OutputState }

func (ApplicationVersionArrayOutput) ElementType

func (ApplicationVersionArrayOutput) Index

func (ApplicationVersionArrayOutput) ToApplicationVersionArrayOutput

func (o ApplicationVersionArrayOutput) ToApplicationVersionArrayOutput() ApplicationVersionArrayOutput

func (ApplicationVersionArrayOutput) ToApplicationVersionArrayOutputWithContext

func (o ApplicationVersionArrayOutput) ToApplicationVersionArrayOutputWithContext(ctx context.Context) ApplicationVersionArrayOutput

type ApplicationVersionInput

type ApplicationVersionInput interface {
	pulumi.Input

	ToApplicationVersionOutput() ApplicationVersionOutput
	ToApplicationVersionOutputWithContext(ctx context.Context) ApplicationVersionOutput
}

type ApplicationVersionMap

type ApplicationVersionMap map[string]ApplicationVersionInput

func (ApplicationVersionMap) ElementType

func (ApplicationVersionMap) ElementType() reflect.Type

func (ApplicationVersionMap) ToApplicationVersionMapOutput

func (i ApplicationVersionMap) ToApplicationVersionMapOutput() ApplicationVersionMapOutput

func (ApplicationVersionMap) ToApplicationVersionMapOutputWithContext

func (i ApplicationVersionMap) ToApplicationVersionMapOutputWithContext(ctx context.Context) ApplicationVersionMapOutput

type ApplicationVersionMapInput

type ApplicationVersionMapInput interface {
	pulumi.Input

	ToApplicationVersionMapOutput() ApplicationVersionMapOutput
	ToApplicationVersionMapOutputWithContext(context.Context) ApplicationVersionMapOutput
}

ApplicationVersionMapInput is an input type that accepts ApplicationVersionMap and ApplicationVersionMapOutput values. You can construct a concrete instance of `ApplicationVersionMapInput` via:

ApplicationVersionMap{ "key": ApplicationVersionArgs{...} }

type ApplicationVersionMapOutput

type ApplicationVersionMapOutput struct{ *pulumi.OutputState }

func (ApplicationVersionMapOutput) ElementType

func (ApplicationVersionMapOutput) MapIndex

func (ApplicationVersionMapOutput) ToApplicationVersionMapOutput

func (o ApplicationVersionMapOutput) ToApplicationVersionMapOutput() ApplicationVersionMapOutput

func (ApplicationVersionMapOutput) ToApplicationVersionMapOutputWithContext

func (o ApplicationVersionMapOutput) ToApplicationVersionMapOutputWithContext(ctx context.Context) ApplicationVersionMapOutput

type ApplicationVersionOutput

type ApplicationVersionOutput struct{ *pulumi.OutputState }

func (ApplicationVersionOutput) Application

Name of the Beanstalk Application the version is associated with.

func (ApplicationVersionOutput) Arn

ARN assigned by AWS for this Elastic Beanstalk Application.

func (ApplicationVersionOutput) Bucket

S3 bucket that contains the Application Version source bundle.

func (ApplicationVersionOutput) Description

Short description of the Application Version.

func (ApplicationVersionOutput) ElementType

func (ApplicationVersionOutput) ElementType() reflect.Type

func (ApplicationVersionOutput) ForceDelete

On delete, force an Application Version to be deleted when it may be in use by multiple Elastic Beanstalk Environments.

func (ApplicationVersionOutput) Key

S3 object that is the Application Version source bundle.

func (ApplicationVersionOutput) Name

Unique name for the this Application Version.

The following arguments are optional:

func (ApplicationVersionOutput) Tags

Key-value map of tags for the Elastic Beanstalk Application Version. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.

func (ApplicationVersionOutput) TagsAll deprecated

Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.

Deprecated: Please use `tags` instead.

func (ApplicationVersionOutput) ToApplicationVersionOutput

func (o ApplicationVersionOutput) ToApplicationVersionOutput() ApplicationVersionOutput

func (ApplicationVersionOutput) ToApplicationVersionOutputWithContext

func (o ApplicationVersionOutput) ToApplicationVersionOutputWithContext(ctx context.Context) ApplicationVersionOutput

type ApplicationVersionState

type ApplicationVersionState struct {
	// Name of the Beanstalk Application the version is associated with.
	Application pulumi.Input
	// ARN assigned by AWS for this Elastic Beanstalk Application.
	Arn pulumi.StringPtrInput
	// S3 bucket that contains the Application Version source bundle.
	Bucket pulumi.Input
	// Short description of the Application Version.
	Description pulumi.StringPtrInput
	// On delete, force an Application Version to be deleted when it may be in use by multiple Elastic Beanstalk Environments.
	ForceDelete pulumi.BoolPtrInput
	// S3 object that is the Application Version source bundle.
	Key pulumi.StringPtrInput
	// Unique name for the this Application Version.
	//
	// The following arguments are optional:
	Name pulumi.StringPtrInput
	// Key-value map of tags for the Elastic Beanstalk Application Version. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapInput
}

func (ApplicationVersionState) ElementType

func (ApplicationVersionState) ElementType() reflect.Type

type ConfigurationTemplate

type ConfigurationTemplate struct {
	pulumi.CustomResourceState

	// name of the application to associate with this configuration template
	Application pulumi.StringOutput `pulumi:"application"`
	// Short description of the Template
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The ID of the environment used with this configuration template
	EnvironmentId pulumi.StringPtrOutput `pulumi:"environmentId"`
	// A unique name for this Template.
	Name pulumi.StringOutput `pulumi:"name"`
	// Option settings to configure the new Environment. These
	// override specific values that are set as defaults. The format is detailed
	// below in Option Settings
	Settings ConfigurationTemplateSettingArrayOutput `pulumi:"settings"`
	// A solution stack to base your Template
	// off of. Example stacks can be found in the [Amazon API documentation][1]
	SolutionStackName pulumi.StringPtrOutput `pulumi:"solutionStackName"`
}

Provides an Elastic Beanstalk Configuration Template, which are associated with a specific application and are used to deploy different versions of the application with the same configuration settings.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/elasticbeanstalk"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		tftest, err := elasticbeanstalk.NewApplication(ctx, "tftest", &elasticbeanstalk.ApplicationArgs{
			Name:        pulumi.String("tf-test-name"),
			Description: pulumi.String("tf-test-desc"),
		})
		if err != nil {
			return err
		}
		_, err = elasticbeanstalk.NewConfigurationTemplate(ctx, "my_template", &elasticbeanstalk.ConfigurationTemplateArgs{
			Name:              pulumi.String("tf-test-template-config"),
			Application:       tftest.Name,
			SolutionStackName: pulumi.String("64bit Amazon Linux 2015.09 v2.0.8 running Go 1.4"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ## Option Settings

The `setting` field supports the following format:

* `namespace` - unique namespace identifying the option's associated AWS resource * `name` - name of the configuration option * `value` - value for the configuration option * `resource` - (Optional) resource name for [scheduled action](https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/command-options-general.html#command-options-general-autoscalingscheduledaction)

func GetConfigurationTemplate

func GetConfigurationTemplate(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ConfigurationTemplateState, opts ...pulumi.ResourceOption) (*ConfigurationTemplate, error)

GetConfigurationTemplate gets an existing ConfigurationTemplate resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewConfigurationTemplate

func NewConfigurationTemplate(ctx *pulumi.Context,
	name string, args *ConfigurationTemplateArgs, opts ...pulumi.ResourceOption) (*ConfigurationTemplate, error)

NewConfigurationTemplate registers a new resource with the given unique name, arguments, and options.

func (*ConfigurationTemplate) ElementType

func (*ConfigurationTemplate) ElementType() reflect.Type

func (*ConfigurationTemplate) ToConfigurationTemplateOutput

func (i *ConfigurationTemplate) ToConfigurationTemplateOutput() ConfigurationTemplateOutput

func (*ConfigurationTemplate) ToConfigurationTemplateOutputWithContext

func (i *ConfigurationTemplate) ToConfigurationTemplateOutputWithContext(ctx context.Context) ConfigurationTemplateOutput

type ConfigurationTemplateArgs

type ConfigurationTemplateArgs struct {
	// name of the application to associate with this configuration template
	Application pulumi.StringInput
	// Short description of the Template
	Description pulumi.StringPtrInput
	// The ID of the environment used with this configuration template
	EnvironmentId pulumi.StringPtrInput
	// A unique name for this Template.
	Name pulumi.StringPtrInput
	// Option settings to configure the new Environment. These
	// override specific values that are set as defaults. The format is detailed
	// below in Option Settings
	Settings ConfigurationTemplateSettingArrayInput
	// A solution stack to base your Template
	// off of. Example stacks can be found in the [Amazon API documentation][1]
	SolutionStackName pulumi.StringPtrInput
}

The set of arguments for constructing a ConfigurationTemplate resource.

func (ConfigurationTemplateArgs) ElementType

func (ConfigurationTemplateArgs) ElementType() reflect.Type

type ConfigurationTemplateArray

type ConfigurationTemplateArray []ConfigurationTemplateInput

func (ConfigurationTemplateArray) ElementType

func (ConfigurationTemplateArray) ElementType() reflect.Type

func (ConfigurationTemplateArray) ToConfigurationTemplateArrayOutput

func (i ConfigurationTemplateArray) ToConfigurationTemplateArrayOutput() ConfigurationTemplateArrayOutput

func (ConfigurationTemplateArray) ToConfigurationTemplateArrayOutputWithContext

func (i ConfigurationTemplateArray) ToConfigurationTemplateArrayOutputWithContext(ctx context.Context) ConfigurationTemplateArrayOutput

type ConfigurationTemplateArrayInput

type ConfigurationTemplateArrayInput interface {
	pulumi.Input

	ToConfigurationTemplateArrayOutput() ConfigurationTemplateArrayOutput
	ToConfigurationTemplateArrayOutputWithContext(context.Context) ConfigurationTemplateArrayOutput
}

ConfigurationTemplateArrayInput is an input type that accepts ConfigurationTemplateArray and ConfigurationTemplateArrayOutput values. You can construct a concrete instance of `ConfigurationTemplateArrayInput` via:

ConfigurationTemplateArray{ ConfigurationTemplateArgs{...} }

type ConfigurationTemplateArrayOutput

type ConfigurationTemplateArrayOutput struct{ *pulumi.OutputState }

func (ConfigurationTemplateArrayOutput) ElementType

func (ConfigurationTemplateArrayOutput) Index

func (ConfigurationTemplateArrayOutput) ToConfigurationTemplateArrayOutput

func (o ConfigurationTemplateArrayOutput) ToConfigurationTemplateArrayOutput() ConfigurationTemplateArrayOutput

func (ConfigurationTemplateArrayOutput) ToConfigurationTemplateArrayOutputWithContext

func (o ConfigurationTemplateArrayOutput) ToConfigurationTemplateArrayOutputWithContext(ctx context.Context) ConfigurationTemplateArrayOutput

type ConfigurationTemplateInput

type ConfigurationTemplateInput interface {
	pulumi.Input

	ToConfigurationTemplateOutput() ConfigurationTemplateOutput
	ToConfigurationTemplateOutputWithContext(ctx context.Context) ConfigurationTemplateOutput
}

type ConfigurationTemplateMap

type ConfigurationTemplateMap map[string]ConfigurationTemplateInput

func (ConfigurationTemplateMap) ElementType

func (ConfigurationTemplateMap) ElementType() reflect.Type

func (ConfigurationTemplateMap) ToConfigurationTemplateMapOutput

func (i ConfigurationTemplateMap) ToConfigurationTemplateMapOutput() ConfigurationTemplateMapOutput

func (ConfigurationTemplateMap) ToConfigurationTemplateMapOutputWithContext

func (i ConfigurationTemplateMap) ToConfigurationTemplateMapOutputWithContext(ctx context.Context) ConfigurationTemplateMapOutput

type ConfigurationTemplateMapInput

type ConfigurationTemplateMapInput interface {
	pulumi.Input

	ToConfigurationTemplateMapOutput() ConfigurationTemplateMapOutput
	ToConfigurationTemplateMapOutputWithContext(context.Context) ConfigurationTemplateMapOutput
}

ConfigurationTemplateMapInput is an input type that accepts ConfigurationTemplateMap and ConfigurationTemplateMapOutput values. You can construct a concrete instance of `ConfigurationTemplateMapInput` via:

ConfigurationTemplateMap{ "key": ConfigurationTemplateArgs{...} }

type ConfigurationTemplateMapOutput

type ConfigurationTemplateMapOutput struct{ *pulumi.OutputState }

func (ConfigurationTemplateMapOutput) ElementType

func (ConfigurationTemplateMapOutput) MapIndex

func (ConfigurationTemplateMapOutput) ToConfigurationTemplateMapOutput

func (o ConfigurationTemplateMapOutput) ToConfigurationTemplateMapOutput() ConfigurationTemplateMapOutput

func (ConfigurationTemplateMapOutput) ToConfigurationTemplateMapOutputWithContext

func (o ConfigurationTemplateMapOutput) ToConfigurationTemplateMapOutputWithContext(ctx context.Context) ConfigurationTemplateMapOutput

type ConfigurationTemplateOutput

type ConfigurationTemplateOutput struct{ *pulumi.OutputState }

func (ConfigurationTemplateOutput) Application

name of the application to associate with this configuration template

func (ConfigurationTemplateOutput) Description

Short description of the Template

func (ConfigurationTemplateOutput) ElementType

func (ConfigurationTemplateOutput) EnvironmentId

The ID of the environment used with this configuration template

func (ConfigurationTemplateOutput) Name

A unique name for this Template.

func (ConfigurationTemplateOutput) Settings

Option settings to configure the new Environment. These override specific values that are set as defaults. The format is detailed below in Option Settings

func (ConfigurationTemplateOutput) SolutionStackName

func (o ConfigurationTemplateOutput) SolutionStackName() pulumi.StringPtrOutput

A solution stack to base your Template off of. Example stacks can be found in the [Amazon API documentation][1]

func (ConfigurationTemplateOutput) ToConfigurationTemplateOutput

func (o ConfigurationTemplateOutput) ToConfigurationTemplateOutput() ConfigurationTemplateOutput

func (ConfigurationTemplateOutput) ToConfigurationTemplateOutputWithContext

func (o ConfigurationTemplateOutput) ToConfigurationTemplateOutputWithContext(ctx context.Context) ConfigurationTemplateOutput

type ConfigurationTemplateSetting

type ConfigurationTemplateSetting struct {
	// A unique name for this Template.
	Name      string  `pulumi:"name"`
	Namespace string  `pulumi:"namespace"`
	Resource  *string `pulumi:"resource"`
	Value     string  `pulumi:"value"`
}

type ConfigurationTemplateSettingArgs

type ConfigurationTemplateSettingArgs struct {
	// A unique name for this Template.
	Name      pulumi.StringInput    `pulumi:"name"`
	Namespace pulumi.StringInput    `pulumi:"namespace"`
	Resource  pulumi.StringPtrInput `pulumi:"resource"`
	Value     pulumi.StringInput    `pulumi:"value"`
}

func (ConfigurationTemplateSettingArgs) ElementType

func (ConfigurationTemplateSettingArgs) ToConfigurationTemplateSettingOutput

func (i ConfigurationTemplateSettingArgs) ToConfigurationTemplateSettingOutput() ConfigurationTemplateSettingOutput

func (ConfigurationTemplateSettingArgs) ToConfigurationTemplateSettingOutputWithContext

func (i ConfigurationTemplateSettingArgs) ToConfigurationTemplateSettingOutputWithContext(ctx context.Context) ConfigurationTemplateSettingOutput

type ConfigurationTemplateSettingArray

type ConfigurationTemplateSettingArray []ConfigurationTemplateSettingInput

func (ConfigurationTemplateSettingArray) ElementType

func (ConfigurationTemplateSettingArray) ToConfigurationTemplateSettingArrayOutput

func (i ConfigurationTemplateSettingArray) ToConfigurationTemplateSettingArrayOutput() ConfigurationTemplateSettingArrayOutput

func (ConfigurationTemplateSettingArray) ToConfigurationTemplateSettingArrayOutputWithContext

func (i ConfigurationTemplateSettingArray) ToConfigurationTemplateSettingArrayOutputWithContext(ctx context.Context) ConfigurationTemplateSettingArrayOutput

type ConfigurationTemplateSettingArrayInput

type ConfigurationTemplateSettingArrayInput interface {
	pulumi.Input

	ToConfigurationTemplateSettingArrayOutput() ConfigurationTemplateSettingArrayOutput
	ToConfigurationTemplateSettingArrayOutputWithContext(context.Context) ConfigurationTemplateSettingArrayOutput
}

ConfigurationTemplateSettingArrayInput is an input type that accepts ConfigurationTemplateSettingArray and ConfigurationTemplateSettingArrayOutput values. You can construct a concrete instance of `ConfigurationTemplateSettingArrayInput` via:

ConfigurationTemplateSettingArray{ ConfigurationTemplateSettingArgs{...} }

type ConfigurationTemplateSettingArrayOutput

type ConfigurationTemplateSettingArrayOutput struct{ *pulumi.OutputState }

func (ConfigurationTemplateSettingArrayOutput) ElementType

func (ConfigurationTemplateSettingArrayOutput) Index

func (ConfigurationTemplateSettingArrayOutput) ToConfigurationTemplateSettingArrayOutput

func (o ConfigurationTemplateSettingArrayOutput) ToConfigurationTemplateSettingArrayOutput() ConfigurationTemplateSettingArrayOutput

func (ConfigurationTemplateSettingArrayOutput) ToConfigurationTemplateSettingArrayOutputWithContext

func (o ConfigurationTemplateSettingArrayOutput) ToConfigurationTemplateSettingArrayOutputWithContext(ctx context.Context) ConfigurationTemplateSettingArrayOutput

type ConfigurationTemplateSettingInput

type ConfigurationTemplateSettingInput interface {
	pulumi.Input

	ToConfigurationTemplateSettingOutput() ConfigurationTemplateSettingOutput
	ToConfigurationTemplateSettingOutputWithContext(context.Context) ConfigurationTemplateSettingOutput
}

ConfigurationTemplateSettingInput is an input type that accepts ConfigurationTemplateSettingArgs and ConfigurationTemplateSettingOutput values. You can construct a concrete instance of `ConfigurationTemplateSettingInput` via:

ConfigurationTemplateSettingArgs{...}

type ConfigurationTemplateSettingOutput

type ConfigurationTemplateSettingOutput struct{ *pulumi.OutputState }

func (ConfigurationTemplateSettingOutput) ElementType

func (ConfigurationTemplateSettingOutput) Name

A unique name for this Template.

func (ConfigurationTemplateSettingOutput) Namespace

func (ConfigurationTemplateSettingOutput) Resource

func (ConfigurationTemplateSettingOutput) ToConfigurationTemplateSettingOutput

func (o ConfigurationTemplateSettingOutput) ToConfigurationTemplateSettingOutput() ConfigurationTemplateSettingOutput

func (ConfigurationTemplateSettingOutput) ToConfigurationTemplateSettingOutputWithContext

func (o ConfigurationTemplateSettingOutput) ToConfigurationTemplateSettingOutputWithContext(ctx context.Context) ConfigurationTemplateSettingOutput

func (ConfigurationTemplateSettingOutput) Value

type ConfigurationTemplateState

type ConfigurationTemplateState struct {
	// name of the application to associate with this configuration template
	Application pulumi.StringPtrInput
	// Short description of the Template
	Description pulumi.StringPtrInput
	// The ID of the environment used with this configuration template
	EnvironmentId pulumi.StringPtrInput
	// A unique name for this Template.
	Name pulumi.StringPtrInput
	// Option settings to configure the new Environment. These
	// override specific values that are set as defaults. The format is detailed
	// below in Option Settings
	Settings ConfigurationTemplateSettingArrayInput
	// A solution stack to base your Template
	// off of. Example stacks can be found in the [Amazon API documentation][1]
	SolutionStackName pulumi.StringPtrInput
}

func (ConfigurationTemplateState) ElementType

func (ConfigurationTemplateState) ElementType() reflect.Type

type Environment

type Environment struct {
	pulumi.CustomResourceState

	// List of all option settings configured in this Environment. These
	// are a combination of default settings and their overrides from `setting` in
	// the configuration.
	AllSettings EnvironmentAllSettingArrayOutput `pulumi:"allSettings"`
	// Name of the application that contains the version
	// to be deployed
	Application pulumi.StringOutput `pulumi:"application"`
	Arn         pulumi.StringOutput `pulumi:"arn"`
	// The autoscaling groups used by this Environment.
	AutoscalingGroups pulumi.StringArrayOutput `pulumi:"autoscalingGroups"`
	// Fully qualified DNS name for this Environment.
	Cname pulumi.StringOutput `pulumi:"cname"`
	// Prefix to use for the fully qualified DNS name of
	// the Environment.
	CnamePrefix pulumi.StringOutput `pulumi:"cnamePrefix"`
	// Short description of the Environment
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The URL to the Load Balancer for this Environment
	EndpointUrl pulumi.StringOutput `pulumi:"endpointUrl"`
	// Instances used by this Environment.
	Instances pulumi.StringArrayOutput `pulumi:"instances"`
	// Launch configurations in use by this Environment.
	LaunchConfigurations pulumi.StringArrayOutput `pulumi:"launchConfigurations"`
	// Elastic load balancers in use by this Environment.
	LoadBalancers pulumi.StringArrayOutput `pulumi:"loadBalancers"`
	// A unique name for this Environment. This name is used
	// in the application URL
	Name pulumi.StringOutput `pulumi:"name"`
	// The [ARN](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) of the Elastic Beanstalk [Platform](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-beanstalk-environment.html#cfn-beanstalk-environment-platformarn)
	// to use in deployment
	PlatformArn pulumi.StringOutput `pulumi:"platformArn"`
	// The time between polling the AWS API to
	// check if changes have been applied. Use this to adjust the rate of API calls
	// for any `create` or `update` action. Minimum `10s`, maximum `180s`. Omit this to
	// use the default behavior, which is an exponential backoff
	PollInterval pulumi.StringPtrOutput `pulumi:"pollInterval"`
	// SQS queues in use by this Environment.
	Queues pulumi.StringArrayOutput `pulumi:"queues"`
	// Option settings to configure the new Environment. These
	// override specific values that are set as defaults. The format is detailed
	// below in Option Settings
	Settings EnvironmentSettingArrayOutput `pulumi:"settings"`
	// A solution stack to base your environment
	// off of. Example stacks can be found in the [Amazon API documentation](https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/concepts.platforms.html)
	SolutionStackName pulumi.StringOutput `pulumi:"solutionStackName"`
	// A set of tags to apply to the Environment. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
	// The name of the Elastic Beanstalk Configuration
	// template to use in deployment
	TemplateName pulumi.StringPtrOutput `pulumi:"templateName"`
	// Elastic Beanstalk Environment tier. Valid values are `Worker`
	// or `WebServer`. If tier is left blank `WebServer` will be used.
	Tier pulumi.StringPtrOutput `pulumi:"tier"`
	// Autoscaling triggers in use by this Environment.
	Triggers pulumi.StringArrayOutput `pulumi:"triggers"`
	// The name of the Elastic Beanstalk Application Version
	// to use in deployment.
	Version pulumi.StringOutput `pulumi:"version"`
	// The maximum
	// [duration](https://golang.org/pkg/time/#ParseDuration) that this provider should
	// wait for an Elastic Beanstalk Environment to be in a ready state before timing
	// out.
	WaitForReadyTimeout pulumi.StringPtrOutput `pulumi:"waitForReadyTimeout"`
}

Provides an Elastic Beanstalk Environment Resource. Elastic Beanstalk allows you to deploy and manage applications in the AWS cloud without worrying about the infrastructure that runs those applications.

Environments are often things such as `development`, `integration`, or `production`.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/elasticbeanstalk"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		tftest, err := elasticbeanstalk.NewApplication(ctx, "tftest", &elasticbeanstalk.ApplicationArgs{
			Name:        pulumi.String("tf-test-name"),
			Description: pulumi.String("tf-test-desc"),
		})
		if err != nil {
			return err
		}
		_, err = elasticbeanstalk.NewEnvironment(ctx, "tfenvtest", &elasticbeanstalk.EnvironmentArgs{
			Name:              pulumi.String("tf-test-name"),
			Application:       tftest.Name,
			SolutionStackName: pulumi.String("64bit Amazon Linux 2015.03 v2.0.3 running Go 1.4"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ## Option Settings

Some options can be stack-specific, check [AWS Docs](https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/command-options-general.html) for supported options and examples.

The `setting` and `allSettings` mappings support the following format:

* `namespace` - unique namespace identifying the option's associated AWS resource * `name` - name of the configuration option * `value` - value for the configuration option * `resource` - (Optional) resource name for [scheduled action](https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/command-options-general.html#command-options-general-autoscalingscheduledaction)

### Example With Options

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/elasticbeanstalk"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		tftest, err := elasticbeanstalk.NewApplication(ctx, "tftest", &elasticbeanstalk.ApplicationArgs{
			Name:        pulumi.String("tf-test-name"),
			Description: pulumi.String("tf-test-desc"),
		})
		if err != nil {
			return err
		}
		_, err = elasticbeanstalk.NewEnvironment(ctx, "tfenvtest", &elasticbeanstalk.EnvironmentArgs{
			Name:              pulumi.String("tf-test-name"),
			Application:       tftest.Name,
			SolutionStackName: pulumi.String("64bit Amazon Linux 2015.03 v2.0.3 running Go 1.4"),
			Settings: elasticbeanstalk.EnvironmentSettingArray{
				&elasticbeanstalk.EnvironmentSettingArgs{
					Namespace: pulumi.String("aws:ec2:vpc"),
					Name:      pulumi.String("VPCId"),
					Value:     pulumi.String("vpc-xxxxxxxx"),
				},
				&elasticbeanstalk.EnvironmentSettingArgs{
					Namespace: pulumi.String("aws:ec2:vpc"),
					Name:      pulumi.String("Subnets"),
					Value:     pulumi.String("subnet-xxxxxxxx"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Using `pulumi import`, import Elastic Beanstalk Environments using the `id`. For example:

```sh

$ pulumi import aws:elasticbeanstalk/environment:Environment prodenv e-rpqsewtp2j

```

func GetEnvironment

func GetEnvironment(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *EnvironmentState, opts ...pulumi.ResourceOption) (*Environment, error)

GetEnvironment gets an existing Environment resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewEnvironment

func NewEnvironment(ctx *pulumi.Context,
	name string, args *EnvironmentArgs, opts ...pulumi.ResourceOption) (*Environment, error)

NewEnvironment registers a new resource with the given unique name, arguments, and options.

func (*Environment) ElementType

func (*Environment) ElementType() reflect.Type

func (*Environment) ToEnvironmentOutput

func (i *Environment) ToEnvironmentOutput() EnvironmentOutput

func (*Environment) ToEnvironmentOutputWithContext

func (i *Environment) ToEnvironmentOutputWithContext(ctx context.Context) EnvironmentOutput

type EnvironmentAllSetting

type EnvironmentAllSetting struct {
	// A unique name for this Environment. This name is used
	// in the application URL
	Name      string  `pulumi:"name"`
	Namespace string  `pulumi:"namespace"`
	Resource  *string `pulumi:"resource"`
	Value     string  `pulumi:"value"`
}

type EnvironmentAllSettingArgs

type EnvironmentAllSettingArgs struct {
	// A unique name for this Environment. This name is used
	// in the application URL
	Name      pulumi.StringInput    `pulumi:"name"`
	Namespace pulumi.StringInput    `pulumi:"namespace"`
	Resource  pulumi.StringPtrInput `pulumi:"resource"`
	Value     pulumi.StringInput    `pulumi:"value"`
}

func (EnvironmentAllSettingArgs) ElementType

func (EnvironmentAllSettingArgs) ElementType() reflect.Type

func (EnvironmentAllSettingArgs) ToEnvironmentAllSettingOutput

func (i EnvironmentAllSettingArgs) ToEnvironmentAllSettingOutput() EnvironmentAllSettingOutput

func (EnvironmentAllSettingArgs) ToEnvironmentAllSettingOutputWithContext

func (i EnvironmentAllSettingArgs) ToEnvironmentAllSettingOutputWithContext(ctx context.Context) EnvironmentAllSettingOutput

type EnvironmentAllSettingArray

type EnvironmentAllSettingArray []EnvironmentAllSettingInput

func (EnvironmentAllSettingArray) ElementType

func (EnvironmentAllSettingArray) ElementType() reflect.Type

func (EnvironmentAllSettingArray) ToEnvironmentAllSettingArrayOutput

func (i EnvironmentAllSettingArray) ToEnvironmentAllSettingArrayOutput() EnvironmentAllSettingArrayOutput

func (EnvironmentAllSettingArray) ToEnvironmentAllSettingArrayOutputWithContext

func (i EnvironmentAllSettingArray) ToEnvironmentAllSettingArrayOutputWithContext(ctx context.Context) EnvironmentAllSettingArrayOutput

type EnvironmentAllSettingArrayInput

type EnvironmentAllSettingArrayInput interface {
	pulumi.Input

	ToEnvironmentAllSettingArrayOutput() EnvironmentAllSettingArrayOutput
	ToEnvironmentAllSettingArrayOutputWithContext(context.Context) EnvironmentAllSettingArrayOutput
}

EnvironmentAllSettingArrayInput is an input type that accepts EnvironmentAllSettingArray and EnvironmentAllSettingArrayOutput values. You can construct a concrete instance of `EnvironmentAllSettingArrayInput` via:

EnvironmentAllSettingArray{ EnvironmentAllSettingArgs{...} }

type EnvironmentAllSettingArrayOutput

type EnvironmentAllSettingArrayOutput struct{ *pulumi.OutputState }

func (EnvironmentAllSettingArrayOutput) ElementType

func (EnvironmentAllSettingArrayOutput) Index

func (EnvironmentAllSettingArrayOutput) ToEnvironmentAllSettingArrayOutput

func (o EnvironmentAllSettingArrayOutput) ToEnvironmentAllSettingArrayOutput() EnvironmentAllSettingArrayOutput

func (EnvironmentAllSettingArrayOutput) ToEnvironmentAllSettingArrayOutputWithContext

func (o EnvironmentAllSettingArrayOutput) ToEnvironmentAllSettingArrayOutputWithContext(ctx context.Context) EnvironmentAllSettingArrayOutput

type EnvironmentAllSettingInput

type EnvironmentAllSettingInput interface {
	pulumi.Input

	ToEnvironmentAllSettingOutput() EnvironmentAllSettingOutput
	ToEnvironmentAllSettingOutputWithContext(context.Context) EnvironmentAllSettingOutput
}

EnvironmentAllSettingInput is an input type that accepts EnvironmentAllSettingArgs and EnvironmentAllSettingOutput values. You can construct a concrete instance of `EnvironmentAllSettingInput` via:

EnvironmentAllSettingArgs{...}

type EnvironmentAllSettingOutput

type EnvironmentAllSettingOutput struct{ *pulumi.OutputState }

func (EnvironmentAllSettingOutput) ElementType

func (EnvironmentAllSettingOutput) Name

A unique name for this Environment. This name is used in the application URL

func (EnvironmentAllSettingOutput) Namespace

func (EnvironmentAllSettingOutput) Resource

func (EnvironmentAllSettingOutput) ToEnvironmentAllSettingOutput

func (o EnvironmentAllSettingOutput) ToEnvironmentAllSettingOutput() EnvironmentAllSettingOutput

func (EnvironmentAllSettingOutput) ToEnvironmentAllSettingOutputWithContext

func (o EnvironmentAllSettingOutput) ToEnvironmentAllSettingOutputWithContext(ctx context.Context) EnvironmentAllSettingOutput

func (EnvironmentAllSettingOutput) Value

type EnvironmentArgs

type EnvironmentArgs struct {
	// Name of the application that contains the version
	// to be deployed
	Application pulumi.Input
	// Prefix to use for the fully qualified DNS name of
	// the Environment.
	CnamePrefix pulumi.StringPtrInput
	// Short description of the Environment
	Description pulumi.StringPtrInput
	// A unique name for this Environment. This name is used
	// in the application URL
	Name pulumi.StringPtrInput
	// The [ARN](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) of the Elastic Beanstalk [Platform](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-beanstalk-environment.html#cfn-beanstalk-environment-platformarn)
	// to use in deployment
	PlatformArn pulumi.StringPtrInput
	// The time between polling the AWS API to
	// check if changes have been applied. Use this to adjust the rate of API calls
	// for any `create` or `update` action. Minimum `10s`, maximum `180s`. Omit this to
	// use the default behavior, which is an exponential backoff
	PollInterval pulumi.StringPtrInput
	// Option settings to configure the new Environment. These
	// override specific values that are set as defaults. The format is detailed
	// below in Option Settings
	Settings EnvironmentSettingArrayInput
	// A solution stack to base your environment
	// off of. Example stacks can be found in the [Amazon API documentation](https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/concepts.platforms.html)
	SolutionStackName pulumi.StringPtrInput
	// A set of tags to apply to the Environment. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// The name of the Elastic Beanstalk Configuration
	// template to use in deployment
	TemplateName pulumi.StringPtrInput
	// Elastic Beanstalk Environment tier. Valid values are `Worker`
	// or `WebServer`. If tier is left blank `WebServer` will be used.
	Tier pulumi.StringPtrInput
	// The name of the Elastic Beanstalk Application Version
	// to use in deployment.
	Version pulumi.StringPtrInput
	// The maximum
	// [duration](https://golang.org/pkg/time/#ParseDuration) that this provider should
	// wait for an Elastic Beanstalk Environment to be in a ready state before timing
	// out.
	WaitForReadyTimeout pulumi.StringPtrInput
}

The set of arguments for constructing a Environment resource.

func (EnvironmentArgs) ElementType

func (EnvironmentArgs) ElementType() reflect.Type

type EnvironmentArray

type EnvironmentArray []EnvironmentInput

func (EnvironmentArray) ElementType

func (EnvironmentArray) ElementType() reflect.Type

func (EnvironmentArray) ToEnvironmentArrayOutput

func (i EnvironmentArray) ToEnvironmentArrayOutput() EnvironmentArrayOutput

func (EnvironmentArray) ToEnvironmentArrayOutputWithContext

func (i EnvironmentArray) ToEnvironmentArrayOutputWithContext(ctx context.Context) EnvironmentArrayOutput

type EnvironmentArrayInput

type EnvironmentArrayInput interface {
	pulumi.Input

	ToEnvironmentArrayOutput() EnvironmentArrayOutput
	ToEnvironmentArrayOutputWithContext(context.Context) EnvironmentArrayOutput
}

EnvironmentArrayInput is an input type that accepts EnvironmentArray and EnvironmentArrayOutput values. You can construct a concrete instance of `EnvironmentArrayInput` via:

EnvironmentArray{ EnvironmentArgs{...} }

type EnvironmentArrayOutput

type EnvironmentArrayOutput struct{ *pulumi.OutputState }

func (EnvironmentArrayOutput) ElementType

func (EnvironmentArrayOutput) ElementType() reflect.Type

func (EnvironmentArrayOutput) Index

func (EnvironmentArrayOutput) ToEnvironmentArrayOutput

func (o EnvironmentArrayOutput) ToEnvironmentArrayOutput() EnvironmentArrayOutput

func (EnvironmentArrayOutput) ToEnvironmentArrayOutputWithContext

func (o EnvironmentArrayOutput) ToEnvironmentArrayOutputWithContext(ctx context.Context) EnvironmentArrayOutput

type EnvironmentInput

type EnvironmentInput interface {
	pulumi.Input

	ToEnvironmentOutput() EnvironmentOutput
	ToEnvironmentOutputWithContext(ctx context.Context) EnvironmentOutput
}

type EnvironmentMap

type EnvironmentMap map[string]EnvironmentInput

func (EnvironmentMap) ElementType

func (EnvironmentMap) ElementType() reflect.Type

func (EnvironmentMap) ToEnvironmentMapOutput

func (i EnvironmentMap) ToEnvironmentMapOutput() EnvironmentMapOutput

func (EnvironmentMap) ToEnvironmentMapOutputWithContext

func (i EnvironmentMap) ToEnvironmentMapOutputWithContext(ctx context.Context) EnvironmentMapOutput

type EnvironmentMapInput

type EnvironmentMapInput interface {
	pulumi.Input

	ToEnvironmentMapOutput() EnvironmentMapOutput
	ToEnvironmentMapOutputWithContext(context.Context) EnvironmentMapOutput
}

EnvironmentMapInput is an input type that accepts EnvironmentMap and EnvironmentMapOutput values. You can construct a concrete instance of `EnvironmentMapInput` via:

EnvironmentMap{ "key": EnvironmentArgs{...} }

type EnvironmentMapOutput

type EnvironmentMapOutput struct{ *pulumi.OutputState }

func (EnvironmentMapOutput) ElementType

func (EnvironmentMapOutput) ElementType() reflect.Type

func (EnvironmentMapOutput) MapIndex

func (EnvironmentMapOutput) ToEnvironmentMapOutput

func (o EnvironmentMapOutput) ToEnvironmentMapOutput() EnvironmentMapOutput

func (EnvironmentMapOutput) ToEnvironmentMapOutputWithContext

func (o EnvironmentMapOutput) ToEnvironmentMapOutputWithContext(ctx context.Context) EnvironmentMapOutput

type EnvironmentOutput

type EnvironmentOutput struct{ *pulumi.OutputState }

func (EnvironmentOutput) AllSettings

List of all option settings configured in this Environment. These are a combination of default settings and their overrides from `setting` in the configuration.

func (EnvironmentOutput) Application

func (o EnvironmentOutput) Application() pulumi.StringOutput

Name of the application that contains the version to be deployed

func (EnvironmentOutput) Arn

func (EnvironmentOutput) AutoscalingGroups

func (o EnvironmentOutput) AutoscalingGroups() pulumi.StringArrayOutput

The autoscaling groups used by this Environment.

func (EnvironmentOutput) Cname

Fully qualified DNS name for this Environment.

func (EnvironmentOutput) CnamePrefix

func (o EnvironmentOutput) CnamePrefix() pulumi.StringOutput

Prefix to use for the fully qualified DNS name of the Environment.

func (EnvironmentOutput) Description

func (o EnvironmentOutput) Description() pulumi.StringPtrOutput

Short description of the Environment

func (EnvironmentOutput) ElementType

func (EnvironmentOutput) ElementType() reflect.Type

func (EnvironmentOutput) EndpointUrl

func (o EnvironmentOutput) EndpointUrl() pulumi.StringOutput

The URL to the Load Balancer for this Environment

func (EnvironmentOutput) Instances

Instances used by this Environment.

func (EnvironmentOutput) LaunchConfigurations

func (o EnvironmentOutput) LaunchConfigurations() pulumi.StringArrayOutput

Launch configurations in use by this Environment.

func (EnvironmentOutput) LoadBalancers

func (o EnvironmentOutput) LoadBalancers() pulumi.StringArrayOutput

Elastic load balancers in use by this Environment.

func (EnvironmentOutput) Name

A unique name for this Environment. This name is used in the application URL

func (EnvironmentOutput) PollInterval

func (o EnvironmentOutput) PollInterval() pulumi.StringPtrOutput

The time between polling the AWS API to check if changes have been applied. Use this to adjust the rate of API calls for any `create` or `update` action. Minimum `10s`, maximum `180s`. Omit this to use the default behavior, which is an exponential backoff

func (EnvironmentOutput) Queues

SQS queues in use by this Environment.

func (EnvironmentOutput) Settings

Option settings to configure the new Environment. These override specific values that are set as defaults. The format is detailed below in Option Settings

func (EnvironmentOutput) SolutionStackName

func (o EnvironmentOutput) SolutionStackName() pulumi.StringOutput

A solution stack to base your environment off of. Example stacks can be found in the [Amazon API documentation](https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/concepts.platforms.html)

func (EnvironmentOutput) Tags

A set of tags to apply to the Environment. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.

func (EnvironmentOutput) TagsAll deprecated

A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.

Deprecated: Please use `tags` instead.

func (EnvironmentOutput) TemplateName

func (o EnvironmentOutput) TemplateName() pulumi.StringPtrOutput

The name of the Elastic Beanstalk Configuration template to use in deployment

func (EnvironmentOutput) Tier

Elastic Beanstalk Environment tier. Valid values are `Worker` or `WebServer`. If tier is left blank `WebServer` will be used.

func (EnvironmentOutput) ToEnvironmentOutput

func (o EnvironmentOutput) ToEnvironmentOutput() EnvironmentOutput

func (EnvironmentOutput) ToEnvironmentOutputWithContext

func (o EnvironmentOutput) ToEnvironmentOutputWithContext(ctx context.Context) EnvironmentOutput

func (EnvironmentOutput) Triggers

Autoscaling triggers in use by this Environment.

func (EnvironmentOutput) Version

The name of the Elastic Beanstalk Application Version to use in deployment.

func (EnvironmentOutput) WaitForReadyTimeout

func (o EnvironmentOutput) WaitForReadyTimeout() pulumi.StringPtrOutput

The maximum [duration](https://golang.org/pkg/time/#ParseDuration) that this provider should wait for an Elastic Beanstalk Environment to be in a ready state before timing out.

type EnvironmentSetting

type EnvironmentSetting struct {
	// A unique name for this Environment. This name is used
	// in the application URL
	Name      string  `pulumi:"name"`
	Namespace string  `pulumi:"namespace"`
	Resource  *string `pulumi:"resource"`
	Value     string  `pulumi:"value"`
}

type EnvironmentSettingArgs

type EnvironmentSettingArgs struct {
	// A unique name for this Environment. This name is used
	// in the application URL
	Name      pulumi.StringInput    `pulumi:"name"`
	Namespace pulumi.StringInput    `pulumi:"namespace"`
	Resource  pulumi.StringPtrInput `pulumi:"resource"`
	Value     pulumi.StringInput    `pulumi:"value"`
}

func (EnvironmentSettingArgs) ElementType

func (EnvironmentSettingArgs) ElementType() reflect.Type

func (EnvironmentSettingArgs) ToEnvironmentSettingOutput

func (i EnvironmentSettingArgs) ToEnvironmentSettingOutput() EnvironmentSettingOutput

func (EnvironmentSettingArgs) ToEnvironmentSettingOutputWithContext

func (i EnvironmentSettingArgs) ToEnvironmentSettingOutputWithContext(ctx context.Context) EnvironmentSettingOutput

type EnvironmentSettingArray

type EnvironmentSettingArray []EnvironmentSettingInput

func (EnvironmentSettingArray) ElementType

func (EnvironmentSettingArray) ElementType() reflect.Type

func (EnvironmentSettingArray) ToEnvironmentSettingArrayOutput

func (i EnvironmentSettingArray) ToEnvironmentSettingArrayOutput() EnvironmentSettingArrayOutput

func (EnvironmentSettingArray) ToEnvironmentSettingArrayOutputWithContext

func (i EnvironmentSettingArray) ToEnvironmentSettingArrayOutputWithContext(ctx context.Context) EnvironmentSettingArrayOutput

type EnvironmentSettingArrayInput

type EnvironmentSettingArrayInput interface {
	pulumi.Input

	ToEnvironmentSettingArrayOutput() EnvironmentSettingArrayOutput
	ToEnvironmentSettingArrayOutputWithContext(context.Context) EnvironmentSettingArrayOutput
}

EnvironmentSettingArrayInput is an input type that accepts EnvironmentSettingArray and EnvironmentSettingArrayOutput values. You can construct a concrete instance of `EnvironmentSettingArrayInput` via:

EnvironmentSettingArray{ EnvironmentSettingArgs{...} }

type EnvironmentSettingArrayOutput

type EnvironmentSettingArrayOutput struct{ *pulumi.OutputState }

func (EnvironmentSettingArrayOutput) ElementType

func (EnvironmentSettingArrayOutput) Index

func (EnvironmentSettingArrayOutput) ToEnvironmentSettingArrayOutput

func (o EnvironmentSettingArrayOutput) ToEnvironmentSettingArrayOutput() EnvironmentSettingArrayOutput

func (EnvironmentSettingArrayOutput) ToEnvironmentSettingArrayOutputWithContext

func (o EnvironmentSettingArrayOutput) ToEnvironmentSettingArrayOutputWithContext(ctx context.Context) EnvironmentSettingArrayOutput

type EnvironmentSettingInput

type EnvironmentSettingInput interface {
	pulumi.Input

	ToEnvironmentSettingOutput() EnvironmentSettingOutput
	ToEnvironmentSettingOutputWithContext(context.Context) EnvironmentSettingOutput
}

EnvironmentSettingInput is an input type that accepts EnvironmentSettingArgs and EnvironmentSettingOutput values. You can construct a concrete instance of `EnvironmentSettingInput` via:

EnvironmentSettingArgs{...}

type EnvironmentSettingOutput

type EnvironmentSettingOutput struct{ *pulumi.OutputState }

func (EnvironmentSettingOutput) ElementType

func (EnvironmentSettingOutput) ElementType() reflect.Type

func (EnvironmentSettingOutput) Name

A unique name for this Environment. This name is used in the application URL

func (EnvironmentSettingOutput) Namespace

func (EnvironmentSettingOutput) Resource

func (EnvironmentSettingOutput) ToEnvironmentSettingOutput

func (o EnvironmentSettingOutput) ToEnvironmentSettingOutput() EnvironmentSettingOutput

func (EnvironmentSettingOutput) ToEnvironmentSettingOutputWithContext

func (o EnvironmentSettingOutput) ToEnvironmentSettingOutputWithContext(ctx context.Context) EnvironmentSettingOutput

func (EnvironmentSettingOutput) Value

type EnvironmentState

type EnvironmentState struct {
	// List of all option settings configured in this Environment. These
	// are a combination of default settings and their overrides from `setting` in
	// the configuration.
	AllSettings EnvironmentAllSettingArrayInput
	// Name of the application that contains the version
	// to be deployed
	Application pulumi.Input
	Arn         pulumi.StringPtrInput
	// The autoscaling groups used by this Environment.
	AutoscalingGroups pulumi.StringArrayInput
	// Fully qualified DNS name for this Environment.
	Cname pulumi.StringPtrInput
	// Prefix to use for the fully qualified DNS name of
	// the Environment.
	CnamePrefix pulumi.StringPtrInput
	// Short description of the Environment
	Description pulumi.StringPtrInput
	// The URL to the Load Balancer for this Environment
	EndpointUrl pulumi.StringPtrInput
	// Instances used by this Environment.
	Instances pulumi.StringArrayInput
	// Launch configurations in use by this Environment.
	LaunchConfigurations pulumi.StringArrayInput
	// Elastic load balancers in use by this Environment.
	LoadBalancers pulumi.StringArrayInput
	// A unique name for this Environment. This name is used
	// in the application URL
	Name pulumi.StringPtrInput
	// The [ARN](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) of the Elastic Beanstalk [Platform](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-beanstalk-environment.html#cfn-beanstalk-environment-platformarn)
	// to use in deployment
	PlatformArn pulumi.StringPtrInput
	// The time between polling the AWS API to
	// check if changes have been applied. Use this to adjust the rate of API calls
	// for any `create` or `update` action. Minimum `10s`, maximum `180s`. Omit this to
	// use the default behavior, which is an exponential backoff
	PollInterval pulumi.StringPtrInput
	// SQS queues in use by this Environment.
	Queues pulumi.StringArrayInput
	// Option settings to configure the new Environment. These
	// override specific values that are set as defaults. The format is detailed
	// below in Option Settings
	Settings EnvironmentSettingArrayInput
	// A solution stack to base your environment
	// off of. Example stacks can be found in the [Amazon API documentation](https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/concepts.platforms.html)
	SolutionStackName pulumi.StringPtrInput
	// A set of tags to apply to the Environment. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapInput
	// The name of the Elastic Beanstalk Configuration
	// template to use in deployment
	TemplateName pulumi.StringPtrInput
	// Elastic Beanstalk Environment tier. Valid values are `Worker`
	// or `WebServer`. If tier is left blank `WebServer` will be used.
	Tier pulumi.StringPtrInput
	// Autoscaling triggers in use by this Environment.
	Triggers pulumi.StringArrayInput
	// The name of the Elastic Beanstalk Application Version
	// to use in deployment.
	Version pulumi.StringPtrInput
	// The maximum
	// [duration](https://golang.org/pkg/time/#ParseDuration) that this provider should
	// wait for an Elastic Beanstalk Environment to be in a ready state before timing
	// out.
	WaitForReadyTimeout pulumi.StringPtrInput
}

func (EnvironmentState) ElementType

func (EnvironmentState) ElementType() reflect.Type

type GetApplicationAppversionLifecycle

type GetApplicationAppversionLifecycle struct {
	// Specifies whether delete a version's source bundle from S3 when the application version is deleted.
	DeleteSourceFromS3 bool `pulumi:"deleteSourceFromS3"`
	// Number of days to retain an application version.
	MaxAgeInDays int `pulumi:"maxAgeInDays"`
	// Maximum number of application versions to retain.
	MaxCount int `pulumi:"maxCount"`
	// ARN of an IAM service role under which the application version is deleted.  Elastic Beanstalk must have permission to assume this role.
	ServiceRole string `pulumi:"serviceRole"`
}

type GetApplicationAppversionLifecycleArgs

type GetApplicationAppversionLifecycleArgs struct {
	// Specifies whether delete a version's source bundle from S3 when the application version is deleted.
	DeleteSourceFromS3 pulumi.BoolInput `pulumi:"deleteSourceFromS3"`
	// Number of days to retain an application version.
	MaxAgeInDays pulumi.IntInput `pulumi:"maxAgeInDays"`
	// Maximum number of application versions to retain.
	MaxCount pulumi.IntInput `pulumi:"maxCount"`
	// ARN of an IAM service role under which the application version is deleted.  Elastic Beanstalk must have permission to assume this role.
	ServiceRole pulumi.StringInput `pulumi:"serviceRole"`
}

func (GetApplicationAppversionLifecycleArgs) ElementType

func (GetApplicationAppversionLifecycleArgs) ToGetApplicationAppversionLifecycleOutput

func (i GetApplicationAppversionLifecycleArgs) ToGetApplicationAppversionLifecycleOutput() GetApplicationAppversionLifecycleOutput

func (GetApplicationAppversionLifecycleArgs) ToGetApplicationAppversionLifecycleOutputWithContext

func (i GetApplicationAppversionLifecycleArgs) ToGetApplicationAppversionLifecycleOutputWithContext(ctx context.Context) GetApplicationAppversionLifecycleOutput

type GetApplicationAppversionLifecycleInput

type GetApplicationAppversionLifecycleInput interface {
	pulumi.Input

	ToGetApplicationAppversionLifecycleOutput() GetApplicationAppversionLifecycleOutput
	ToGetApplicationAppversionLifecycleOutputWithContext(context.Context) GetApplicationAppversionLifecycleOutput
}

GetApplicationAppversionLifecycleInput is an input type that accepts GetApplicationAppversionLifecycleArgs and GetApplicationAppversionLifecycleOutput values. You can construct a concrete instance of `GetApplicationAppversionLifecycleInput` via:

GetApplicationAppversionLifecycleArgs{...}

type GetApplicationAppversionLifecycleOutput

type GetApplicationAppversionLifecycleOutput struct{ *pulumi.OutputState }

func (GetApplicationAppversionLifecycleOutput) DeleteSourceFromS3

Specifies whether delete a version's source bundle from S3 when the application version is deleted.

func (GetApplicationAppversionLifecycleOutput) ElementType

func (GetApplicationAppversionLifecycleOutput) MaxAgeInDays

Number of days to retain an application version.

func (GetApplicationAppversionLifecycleOutput) MaxCount

Maximum number of application versions to retain.

func (GetApplicationAppversionLifecycleOutput) ServiceRole

ARN of an IAM service role under which the application version is deleted. Elastic Beanstalk must have permission to assume this role.

func (GetApplicationAppversionLifecycleOutput) ToGetApplicationAppversionLifecycleOutput

func (o GetApplicationAppversionLifecycleOutput) ToGetApplicationAppversionLifecycleOutput() GetApplicationAppversionLifecycleOutput

func (GetApplicationAppversionLifecycleOutput) ToGetApplicationAppversionLifecycleOutputWithContext

func (o GetApplicationAppversionLifecycleOutput) ToGetApplicationAppversionLifecycleOutputWithContext(ctx context.Context) GetApplicationAppversionLifecycleOutput

type GetHostedZoneArgs

type GetHostedZoneArgs struct {
	// Region you'd like the zone for. By default, fetches the current region.
	Region *string `pulumi:"region"`
}

A collection of arguments for invoking getHostedZone.

type GetHostedZoneOutputArgs

type GetHostedZoneOutputArgs struct {
	// Region you'd like the zone for. By default, fetches the current region.
	Region pulumi.StringPtrInput `pulumi:"region"`
}

A collection of arguments for invoking getHostedZone.

func (GetHostedZoneOutputArgs) ElementType

func (GetHostedZoneOutputArgs) ElementType() reflect.Type

type GetHostedZoneResult

type GetHostedZoneResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// Region of the hosted zone.
	Region *string `pulumi:"region"`
}

A collection of values returned by getHostedZone.

func GetHostedZone

func GetHostedZone(ctx *pulumi.Context, args *GetHostedZoneArgs, opts ...pulumi.InvokeOption) (*GetHostedZoneResult, error)

Use this data source to get the ID of an [elastic beanstalk hosted zone](http://docs.aws.amazon.com/general/latest/gr/rande.html#elasticbeanstalk_region).

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/elasticbeanstalk"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := elasticbeanstalk.GetHostedZone(ctx, nil, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetHostedZoneResultOutput

type GetHostedZoneResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getHostedZone.

func (GetHostedZoneResultOutput) ElementType

func (GetHostedZoneResultOutput) ElementType() reflect.Type

func (GetHostedZoneResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetHostedZoneResultOutput) Region

Region of the hosted zone.

func (GetHostedZoneResultOutput) ToGetHostedZoneResultOutput

func (o GetHostedZoneResultOutput) ToGetHostedZoneResultOutput() GetHostedZoneResultOutput

func (GetHostedZoneResultOutput) ToGetHostedZoneResultOutputWithContext

func (o GetHostedZoneResultOutput) ToGetHostedZoneResultOutputWithContext(ctx context.Context) GetHostedZoneResultOutput

type GetSolutionStackArgs

type GetSolutionStackArgs struct {
	// If more than one result is returned, use the most
	// recent solution stack.
	MostRecent *bool `pulumi:"mostRecent"`
	// Regex string to apply to the solution stack list returned
	// by AWS. See [Elastic Beanstalk Supported Platforms][beanstalk-platforms] from
	// AWS documentation for reference solution stack names.
	//
	// > **NOTE:** If more or less than a single match is returned by the search,
	// this call will fail. Ensure that your search is specific enough to return
	// a single solution stack, or use `mostRecent` to choose the most recent one.
	NameRegex string `pulumi:"nameRegex"`
}

A collection of arguments for invoking getSolutionStack.

type GetSolutionStackOutputArgs

type GetSolutionStackOutputArgs struct {
	// If more than one result is returned, use the most
	// recent solution stack.
	MostRecent pulumi.BoolPtrInput `pulumi:"mostRecent"`
	// Regex string to apply to the solution stack list returned
	// by AWS. See [Elastic Beanstalk Supported Platforms][beanstalk-platforms] from
	// AWS documentation for reference solution stack names.
	//
	// > **NOTE:** If more or less than a single match is returned by the search,
	// this call will fail. Ensure that your search is specific enough to return
	// a single solution stack, or use `mostRecent` to choose the most recent one.
	NameRegex pulumi.StringInput `pulumi:"nameRegex"`
}

A collection of arguments for invoking getSolutionStack.

func (GetSolutionStackOutputArgs) ElementType

func (GetSolutionStackOutputArgs) ElementType() reflect.Type

type GetSolutionStackResult

type GetSolutionStackResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id         string `pulumi:"id"`
	MostRecent *bool  `pulumi:"mostRecent"`
	// Name of the solution stack.
	Name      string `pulumi:"name"`
	NameRegex string `pulumi:"nameRegex"`
}

A collection of values returned by getSolutionStack.

func GetSolutionStack

func GetSolutionStack(ctx *pulumi.Context, args *GetSolutionStackArgs, opts ...pulumi.InvokeOption) (*GetSolutionStackResult, error)

Use this data source to get the name of a elastic beanstalk solution stack.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/elasticbeanstalk"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := elasticbeanstalk.GetSolutionStack(ctx, &elasticbeanstalk.GetSolutionStackArgs{
			MostRecent: pulumi.BoolRef(true),
			NameRegex:  "^64bit Amazon Linux (.*) Multi-container Docker (.*)$",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetSolutionStackResultOutput

type GetSolutionStackResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getSolutionStack.

func (GetSolutionStackResultOutput) ElementType

func (GetSolutionStackResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetSolutionStackResultOutput) MostRecent

func (GetSolutionStackResultOutput) Name

Name of the solution stack.

func (GetSolutionStackResultOutput) NameRegex

func (GetSolutionStackResultOutput) ToGetSolutionStackResultOutput

func (o GetSolutionStackResultOutput) ToGetSolutionStackResultOutput() GetSolutionStackResultOutput

func (GetSolutionStackResultOutput) ToGetSolutionStackResultOutputWithContext

func (o GetSolutionStackResultOutput) ToGetSolutionStackResultOutputWithContext(ctx context.Context) GetSolutionStackResultOutput

type LookupApplicationArgs

type LookupApplicationArgs struct {
	// Name of the application
	Name string `pulumi:"name"`
}

A collection of arguments for invoking getApplication.

type LookupApplicationOutputArgs

type LookupApplicationOutputArgs struct {
	// Name of the application
	Name pulumi.StringInput `pulumi:"name"`
}

A collection of arguments for invoking getApplication.

func (LookupApplicationOutputArgs) ElementType

type LookupApplicationResult

type LookupApplicationResult struct {
	AppversionLifecycle GetApplicationAppversionLifecycle `pulumi:"appversionLifecycle"`
	// ARN of the application.
	Arn string `pulumi:"arn"`
	// Short description of the application
	Description string `pulumi:"description"`
	// The provider-assigned unique ID for this managed resource.
	Id   string `pulumi:"id"`
	Name string `pulumi:"name"`
}

A collection of values returned by getApplication.

func LookupApplication

func LookupApplication(ctx *pulumi.Context, args *LookupApplicationArgs, opts ...pulumi.InvokeOption) (*LookupApplicationResult, error)

Retrieve information about an Elastic Beanstalk Application.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/elasticbeanstalk"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := elasticbeanstalk.LookupApplication(ctx, &elasticbeanstalk.LookupApplicationArgs{
			Name: "example",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("arn", example.Arn)
		ctx.Export("description", example.Description)
		return nil
	})
}

```

type LookupApplicationResultOutput

type LookupApplicationResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getApplication.

func (LookupApplicationResultOutput) AppversionLifecycle

func (LookupApplicationResultOutput) Arn

ARN of the application.

func (LookupApplicationResultOutput) Description

Short description of the application

func (LookupApplicationResultOutput) ElementType

func (LookupApplicationResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupApplicationResultOutput) Name

func (LookupApplicationResultOutput) ToLookupApplicationResultOutput

func (o LookupApplicationResultOutput) ToLookupApplicationResultOutput() LookupApplicationResultOutput

func (LookupApplicationResultOutput) ToLookupApplicationResultOutputWithContext

func (o LookupApplicationResultOutput) ToLookupApplicationResultOutputWithContext(ctx context.Context) LookupApplicationResultOutput

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL