elasticbeanstalk

package
v3.38.1 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2021 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.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
}

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/v3/go/aws/elasticbeanstalk"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

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

```

## Import

Elastic Beanstalk Applications can be imported using the `name`, e.g.

```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 added in v3.13.0

func (*Application) ElementType() reflect.Type

func (*Application) ToApplicationOutput added in v3.13.0

func (i *Application) ToApplicationOutput() ApplicationOutput

func (*Application) ToApplicationOutputWithContext added in v3.13.0

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

func (*Application) ToApplicationPtrOutput added in v3.25.0

func (i *Application) ToApplicationPtrOutput() ApplicationPtrOutput

func (*Application) ToApplicationPtrOutputWithContext added in v3.25.0

func (i *Application) ToApplicationPtrOutputWithContext(ctx context.Context) ApplicationPtrOutput

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.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a Application resource.

func (ApplicationArgs) ElementType

func (ApplicationArgs) ElementType() reflect.Type

type ApplicationArray added in v3.25.0

type ApplicationArray []ApplicationInput

func (ApplicationArray) ElementType added in v3.25.0

func (ApplicationArray) ElementType() reflect.Type

func (ApplicationArray) ToApplicationArrayOutput added in v3.25.0

func (i ApplicationArray) ToApplicationArrayOutput() ApplicationArrayOutput

func (ApplicationArray) ToApplicationArrayOutputWithContext added in v3.25.0

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

type ApplicationArrayInput added in v3.25.0

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 added in v3.25.0

type ApplicationArrayOutput struct{ *pulumi.OutputState }

func (ApplicationArrayOutput) ElementType added in v3.25.0

func (ApplicationArrayOutput) ElementType() reflect.Type

func (ApplicationArrayOutput) Index added in v3.25.0

func (ApplicationArrayOutput) ToApplicationArrayOutput added in v3.25.0

func (o ApplicationArrayOutput) ToApplicationArrayOutput() ApplicationArrayOutput

func (ApplicationArrayOutput) ToApplicationArrayOutputWithContext added in v3.25.0

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

type ApplicationInput added in v3.13.0

type ApplicationInput interface {
	pulumi.Input

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

type ApplicationMap added in v3.25.0

type ApplicationMap map[string]ApplicationInput

func (ApplicationMap) ElementType added in v3.25.0

func (ApplicationMap) ElementType() reflect.Type

func (ApplicationMap) ToApplicationMapOutput added in v3.25.0

func (i ApplicationMap) ToApplicationMapOutput() ApplicationMapOutput

func (ApplicationMap) ToApplicationMapOutputWithContext added in v3.25.0

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

type ApplicationMapInput added in v3.25.0

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 added in v3.25.0

type ApplicationMapOutput struct{ *pulumi.OutputState }

func (ApplicationMapOutput) ElementType added in v3.25.0

func (ApplicationMapOutput) ElementType() reflect.Type

func (ApplicationMapOutput) MapIndex added in v3.25.0

func (ApplicationMapOutput) ToApplicationMapOutput added in v3.25.0

func (o ApplicationMapOutput) ToApplicationMapOutput() ApplicationMapOutput

func (ApplicationMapOutput) ToApplicationMapOutputWithContext added in v3.25.0

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

type ApplicationOutput added in v3.13.0

type ApplicationOutput struct {
	*pulumi.OutputState
}

func (ApplicationOutput) ElementType added in v3.13.0

func (ApplicationOutput) ElementType() reflect.Type

func (ApplicationOutput) ToApplicationOutput added in v3.13.0

func (o ApplicationOutput) ToApplicationOutput() ApplicationOutput

func (ApplicationOutput) ToApplicationOutputWithContext added in v3.13.0

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

func (ApplicationOutput) ToApplicationPtrOutput added in v3.25.0

func (o ApplicationOutput) ToApplicationPtrOutput() ApplicationPtrOutput

func (ApplicationOutput) ToApplicationPtrOutputWithContext added in v3.25.0

func (o ApplicationOutput) ToApplicationPtrOutputWithContext(ctx context.Context) ApplicationPtrOutput

type ApplicationPtrInput added in v3.25.0

type ApplicationPtrInput interface {
	pulumi.Input

	ToApplicationPtrOutput() ApplicationPtrOutput
	ToApplicationPtrOutputWithContext(ctx context.Context) ApplicationPtrOutput
}

type ApplicationPtrOutput added in v3.25.0

type ApplicationPtrOutput struct {
	*pulumi.OutputState
}

func (ApplicationPtrOutput) ElementType added in v3.25.0

func (ApplicationPtrOutput) ElementType() reflect.Type

func (ApplicationPtrOutput) ToApplicationPtrOutput added in v3.25.0

func (o ApplicationPtrOutput) ToApplicationPtrOutput() ApplicationPtrOutput

func (ApplicationPtrOutput) ToApplicationPtrOutputWithContext added in v3.25.0

func (o ApplicationPtrOutput) ToApplicationPtrOutputWithContext(ctx context.Context) ApplicationPtrOutput

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.
	Tags 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"`
	// The 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"`
	// A unique name for the this Application Version.
	Name pulumi.StringOutput `pulumi:"name"`
	// Key-value map of tags for the Elastic Beanstalk Application Version.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
}

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/v3/go/aws/elasticbeanstalk"
"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/s3"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		defaultBucket, err := s3.NewBucket(ctx, "defaultBucket", nil)
		if err != nil {
			return err
		}
		defaultBucketObject, err := s3.NewBucketObject(ctx, "defaultBucketObject", &s3.BucketObjectArgs{
			Bucket: defaultBucket.ID(),
			Key:    pulumi.String("beanstalk/go-v1.zip"),
			Source: pulumi.NewFileAsset("go-v1.zip"),
		})
		if err != nil {
			return err
		}
		_, err = elasticbeanstalk.NewApplication(ctx, "defaultApplication", &elasticbeanstalk.ApplicationArgs{
			Description: pulumi.String("tf-test-desc"),
		})
		if err != nil {
			return err
		}
		_, err = elasticbeanstalk.NewApplicationVersion(ctx, "defaultApplicationVersion", &elasticbeanstalk.ApplicationVersionArgs{
			Application: pulumi.String("tf-test-name"),
			Description: pulumi.String("application version"),
			Bucket:      defaultBucket.ID(),
			Key:         defaultBucketObject.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 added in v3.13.0

func (*ApplicationVersion) ElementType() reflect.Type

func (*ApplicationVersion) ToApplicationVersionOutput added in v3.13.0

func (i *ApplicationVersion) ToApplicationVersionOutput() ApplicationVersionOutput

func (*ApplicationVersion) ToApplicationVersionOutputWithContext added in v3.13.0

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

func (*ApplicationVersion) ToApplicationVersionPtrOutput added in v3.25.0

func (i *ApplicationVersion) ToApplicationVersionPtrOutput() ApplicationVersionPtrOutput

func (*ApplicationVersion) ToApplicationVersionPtrOutputWithContext added in v3.25.0

func (i *ApplicationVersion) ToApplicationVersionPtrOutputWithContext(ctx context.Context) ApplicationVersionPtrOutput

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
	// A unique name for the this Application Version.
	Name pulumi.StringPtrInput
	// Key-value map of tags for the Elastic Beanstalk Application Version.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a ApplicationVersion resource.

func (ApplicationVersionArgs) ElementType

func (ApplicationVersionArgs) ElementType() reflect.Type

type ApplicationVersionArray added in v3.25.0

type ApplicationVersionArray []ApplicationVersionInput

func (ApplicationVersionArray) ElementType added in v3.25.0

func (ApplicationVersionArray) ElementType() reflect.Type

func (ApplicationVersionArray) ToApplicationVersionArrayOutput added in v3.25.0

func (i ApplicationVersionArray) ToApplicationVersionArrayOutput() ApplicationVersionArrayOutput

func (ApplicationVersionArray) ToApplicationVersionArrayOutputWithContext added in v3.25.0

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

type ApplicationVersionArrayInput added in v3.25.0

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 added in v3.25.0

type ApplicationVersionArrayOutput struct{ *pulumi.OutputState }

func (ApplicationVersionArrayOutput) ElementType added in v3.25.0

func (ApplicationVersionArrayOutput) Index added in v3.25.0

func (ApplicationVersionArrayOutput) ToApplicationVersionArrayOutput added in v3.25.0

func (o ApplicationVersionArrayOutput) ToApplicationVersionArrayOutput() ApplicationVersionArrayOutput

func (ApplicationVersionArrayOutput) ToApplicationVersionArrayOutputWithContext added in v3.25.0

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

type ApplicationVersionInput added in v3.13.0

type ApplicationVersionInput interface {
	pulumi.Input

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

type ApplicationVersionMap added in v3.25.0

type ApplicationVersionMap map[string]ApplicationVersionInput

func (ApplicationVersionMap) ElementType added in v3.25.0

func (ApplicationVersionMap) ElementType() reflect.Type

func (ApplicationVersionMap) ToApplicationVersionMapOutput added in v3.25.0

func (i ApplicationVersionMap) ToApplicationVersionMapOutput() ApplicationVersionMapOutput

func (ApplicationVersionMap) ToApplicationVersionMapOutputWithContext added in v3.25.0

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

type ApplicationVersionMapInput added in v3.25.0

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 added in v3.25.0

type ApplicationVersionMapOutput struct{ *pulumi.OutputState }

func (ApplicationVersionMapOutput) ElementType added in v3.25.0

func (ApplicationVersionMapOutput) MapIndex added in v3.25.0

func (ApplicationVersionMapOutput) ToApplicationVersionMapOutput added in v3.25.0

func (o ApplicationVersionMapOutput) ToApplicationVersionMapOutput() ApplicationVersionMapOutput

func (ApplicationVersionMapOutput) ToApplicationVersionMapOutputWithContext added in v3.25.0

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

type ApplicationVersionOutput added in v3.13.0

type ApplicationVersionOutput struct {
	*pulumi.OutputState
}

func (ApplicationVersionOutput) ElementType added in v3.13.0

func (ApplicationVersionOutput) ElementType() reflect.Type

func (ApplicationVersionOutput) ToApplicationVersionOutput added in v3.13.0

func (o ApplicationVersionOutput) ToApplicationVersionOutput() ApplicationVersionOutput

func (ApplicationVersionOutput) ToApplicationVersionOutputWithContext added in v3.13.0

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

func (ApplicationVersionOutput) ToApplicationVersionPtrOutput added in v3.25.0

func (o ApplicationVersionOutput) ToApplicationVersionPtrOutput() ApplicationVersionPtrOutput

func (ApplicationVersionOutput) ToApplicationVersionPtrOutputWithContext added in v3.25.0

func (o ApplicationVersionOutput) ToApplicationVersionPtrOutputWithContext(ctx context.Context) ApplicationVersionPtrOutput

type ApplicationVersionPtrInput added in v3.25.0

type ApplicationVersionPtrInput interface {
	pulumi.Input

	ToApplicationVersionPtrOutput() ApplicationVersionPtrOutput
	ToApplicationVersionPtrOutputWithContext(ctx context.Context) ApplicationVersionPtrOutput
}

type ApplicationVersionPtrOutput added in v3.25.0

type ApplicationVersionPtrOutput struct {
	*pulumi.OutputState
}

func (ApplicationVersionPtrOutput) ElementType added in v3.25.0

func (ApplicationVersionPtrOutput) ToApplicationVersionPtrOutput added in v3.25.0

func (o ApplicationVersionPtrOutput) ToApplicationVersionPtrOutput() ApplicationVersionPtrOutput

func (ApplicationVersionPtrOutput) ToApplicationVersionPtrOutputWithContext added in v3.25.0

func (o ApplicationVersionPtrOutput) ToApplicationVersionPtrOutputWithContext(ctx context.Context) ApplicationVersionPtrOutput

type ApplicationVersionState

type ApplicationVersionState struct {
	// Name of the Beanstalk Application the version is associated with.
	Application pulumi.StringPtrInput
	// The ARN assigned by AWS for this Elastic Beanstalk Application.
	Arn pulumi.StringPtrInput
	// S3 bucket that contains the Application Version source bundle.
	Bucket pulumi.StringPtrInput
	// 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
	// A unique name for the this Application Version.
	Name pulumi.StringPtrInput
	// Key-value map of tags for the Elastic Beanstalk Application Version.
	Tags 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](https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/concepts.platforms.html)
	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/v3/go/aws/elasticbeanstalk"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		tftest, err := elasticbeanstalk.NewApplication(ctx, "tftest", &elasticbeanstalk.ApplicationArgs{
			Description: pulumi.String("tf-test-desc"),
		})
		if err != nil {
			return err
		}
		_, err = elasticbeanstalk.NewConfigurationTemplate(ctx, "tfTemplate", &elasticbeanstalk.ConfigurationTemplateArgs{
			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 added in v3.13.0

func (*ConfigurationTemplate) ElementType() reflect.Type

func (*ConfigurationTemplate) ToConfigurationTemplateOutput added in v3.13.0

func (i *ConfigurationTemplate) ToConfigurationTemplateOutput() ConfigurationTemplateOutput

func (*ConfigurationTemplate) ToConfigurationTemplateOutputWithContext added in v3.13.0

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

func (*ConfigurationTemplate) ToConfigurationTemplatePtrOutput added in v3.25.0

func (i *ConfigurationTemplate) ToConfigurationTemplatePtrOutput() ConfigurationTemplatePtrOutput

func (*ConfigurationTemplate) ToConfigurationTemplatePtrOutputWithContext added in v3.25.0

func (i *ConfigurationTemplate) ToConfigurationTemplatePtrOutputWithContext(ctx context.Context) ConfigurationTemplatePtrOutput

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](https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/concepts.platforms.html)
	SolutionStackName pulumi.StringPtrInput
}

The set of arguments for constructing a ConfigurationTemplate resource.

func (ConfigurationTemplateArgs) ElementType

func (ConfigurationTemplateArgs) ElementType() reflect.Type

type ConfigurationTemplateArray added in v3.25.0

type ConfigurationTemplateArray []ConfigurationTemplateInput

func (ConfigurationTemplateArray) ElementType added in v3.25.0

func (ConfigurationTemplateArray) ElementType() reflect.Type

func (ConfigurationTemplateArray) ToConfigurationTemplateArrayOutput added in v3.25.0

func (i ConfigurationTemplateArray) ToConfigurationTemplateArrayOutput() ConfigurationTemplateArrayOutput

func (ConfigurationTemplateArray) ToConfigurationTemplateArrayOutputWithContext added in v3.25.0

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

type ConfigurationTemplateArrayInput added in v3.25.0

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 added in v3.25.0

type ConfigurationTemplateArrayOutput struct{ *pulumi.OutputState }

func (ConfigurationTemplateArrayOutput) ElementType added in v3.25.0

func (ConfigurationTemplateArrayOutput) Index added in v3.25.0

func (ConfigurationTemplateArrayOutput) ToConfigurationTemplateArrayOutput added in v3.25.0

func (o ConfigurationTemplateArrayOutput) ToConfigurationTemplateArrayOutput() ConfigurationTemplateArrayOutput

func (ConfigurationTemplateArrayOutput) ToConfigurationTemplateArrayOutputWithContext added in v3.25.0

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

type ConfigurationTemplateInput added in v3.13.0

type ConfigurationTemplateInput interface {
	pulumi.Input

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

type ConfigurationTemplateMap added in v3.25.0

type ConfigurationTemplateMap map[string]ConfigurationTemplateInput

func (ConfigurationTemplateMap) ElementType added in v3.25.0

func (ConfigurationTemplateMap) ElementType() reflect.Type

func (ConfigurationTemplateMap) ToConfigurationTemplateMapOutput added in v3.25.0

func (i ConfigurationTemplateMap) ToConfigurationTemplateMapOutput() ConfigurationTemplateMapOutput

func (ConfigurationTemplateMap) ToConfigurationTemplateMapOutputWithContext added in v3.25.0

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

type ConfigurationTemplateMapInput added in v3.25.0

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 added in v3.25.0

type ConfigurationTemplateMapOutput struct{ *pulumi.OutputState }

func (ConfigurationTemplateMapOutput) ElementType added in v3.25.0

func (ConfigurationTemplateMapOutput) MapIndex added in v3.25.0

func (ConfigurationTemplateMapOutput) ToConfigurationTemplateMapOutput added in v3.25.0

func (o ConfigurationTemplateMapOutput) ToConfigurationTemplateMapOutput() ConfigurationTemplateMapOutput

func (ConfigurationTemplateMapOutput) ToConfigurationTemplateMapOutputWithContext added in v3.25.0

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

type ConfigurationTemplateOutput added in v3.13.0

type ConfigurationTemplateOutput struct {
	*pulumi.OutputState
}

func (ConfigurationTemplateOutput) ElementType added in v3.13.0

func (ConfigurationTemplateOutput) ToConfigurationTemplateOutput added in v3.13.0

func (o ConfigurationTemplateOutput) ToConfigurationTemplateOutput() ConfigurationTemplateOutput

func (ConfigurationTemplateOutput) ToConfigurationTemplateOutputWithContext added in v3.13.0

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

func (ConfigurationTemplateOutput) ToConfigurationTemplatePtrOutput added in v3.25.0

func (o ConfigurationTemplateOutput) ToConfigurationTemplatePtrOutput() ConfigurationTemplatePtrOutput

func (ConfigurationTemplateOutput) ToConfigurationTemplatePtrOutputWithContext added in v3.25.0

func (o ConfigurationTemplateOutput) ToConfigurationTemplatePtrOutputWithContext(ctx context.Context) ConfigurationTemplatePtrOutput

type ConfigurationTemplatePtrInput added in v3.25.0

type ConfigurationTemplatePtrInput interface {
	pulumi.Input

	ToConfigurationTemplatePtrOutput() ConfigurationTemplatePtrOutput
	ToConfigurationTemplatePtrOutputWithContext(ctx context.Context) ConfigurationTemplatePtrOutput
}

type ConfigurationTemplatePtrOutput added in v3.25.0

type ConfigurationTemplatePtrOutput struct {
	*pulumi.OutputState
}

func (ConfigurationTemplatePtrOutput) ElementType added in v3.25.0

func (ConfigurationTemplatePtrOutput) ToConfigurationTemplatePtrOutput added in v3.25.0

func (o ConfigurationTemplatePtrOutput) ToConfigurationTemplatePtrOutput() ConfigurationTemplatePtrOutput

func (ConfigurationTemplatePtrOutput) ToConfigurationTemplatePtrOutputWithContext added in v3.25.0

func (o ConfigurationTemplatePtrOutput) ToConfigurationTemplatePtrOutputWithContext(ctx context.Context) ConfigurationTemplatePtrOutput

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](https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/concepts.platforms.html)
	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.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// 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/v3/go/aws/elasticbeanstalk"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		tftest, err := elasticbeanstalk.NewApplication(ctx, "tftest", &elasticbeanstalk.ApplicationArgs{
			Description: pulumi.String("tf-test-desc"),
		})
		if err != nil {
			return err
		}
		_, err = elasticbeanstalk.NewEnvironment(ctx, "tfenvtest", &elasticbeanstalk.EnvironmentArgs{
			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/v3/go/aws/elasticbeanstalk"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		tftest, err := elasticbeanstalk.NewApplication(ctx, "tftest", &elasticbeanstalk.ApplicationArgs{
			Description: pulumi.String("tf-test-desc"),
		})
		if err != nil {
			return err
		}
		_, err = elasticbeanstalk.NewEnvironment(ctx, "tfenvtest", &elasticbeanstalk.EnvironmentArgs{
			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

Elastic Beanstalk Environments can be imported using the `id`, e.g.

```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 added in v3.13.0

func (*Environment) ElementType() reflect.Type

func (*Environment) ToEnvironmentOutput added in v3.13.0

func (i *Environment) ToEnvironmentOutput() EnvironmentOutput

func (*Environment) ToEnvironmentOutputWithContext added in v3.13.0

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

func (*Environment) ToEnvironmentPtrOutput added in v3.25.0

func (i *Environment) ToEnvironmentPtrOutput() EnvironmentPtrOutput

func (*Environment) ToEnvironmentPtrOutputWithContext added in v3.25.0

func (i *Environment) ToEnvironmentPtrOutputWithContext(ctx context.Context) EnvironmentPtrOutput

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.
	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 added in v3.25.0

type EnvironmentArray []EnvironmentInput

func (EnvironmentArray) ElementType added in v3.25.0

func (EnvironmentArray) ElementType() reflect.Type

func (EnvironmentArray) ToEnvironmentArrayOutput added in v3.25.0

func (i EnvironmentArray) ToEnvironmentArrayOutput() EnvironmentArrayOutput

func (EnvironmentArray) ToEnvironmentArrayOutputWithContext added in v3.25.0

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

type EnvironmentArrayInput added in v3.25.0

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 added in v3.25.0

type EnvironmentArrayOutput struct{ *pulumi.OutputState }

func (EnvironmentArrayOutput) ElementType added in v3.25.0

func (EnvironmentArrayOutput) ElementType() reflect.Type

func (EnvironmentArrayOutput) Index added in v3.25.0

func (EnvironmentArrayOutput) ToEnvironmentArrayOutput added in v3.25.0

func (o EnvironmentArrayOutput) ToEnvironmentArrayOutput() EnvironmentArrayOutput

func (EnvironmentArrayOutput) ToEnvironmentArrayOutputWithContext added in v3.25.0

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

type EnvironmentInput added in v3.13.0

type EnvironmentInput interface {
	pulumi.Input

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

type EnvironmentMap added in v3.25.0

type EnvironmentMap map[string]EnvironmentInput

func (EnvironmentMap) ElementType added in v3.25.0

func (EnvironmentMap) ElementType() reflect.Type

func (EnvironmentMap) ToEnvironmentMapOutput added in v3.25.0

func (i EnvironmentMap) ToEnvironmentMapOutput() EnvironmentMapOutput

func (EnvironmentMap) ToEnvironmentMapOutputWithContext added in v3.25.0

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

type EnvironmentMapInput added in v3.25.0

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 added in v3.25.0

type EnvironmentMapOutput struct{ *pulumi.OutputState }

func (EnvironmentMapOutput) ElementType added in v3.25.0

func (EnvironmentMapOutput) ElementType() reflect.Type

func (EnvironmentMapOutput) MapIndex added in v3.25.0

func (EnvironmentMapOutput) ToEnvironmentMapOutput added in v3.25.0

func (o EnvironmentMapOutput) ToEnvironmentMapOutput() EnvironmentMapOutput

func (EnvironmentMapOutput) ToEnvironmentMapOutputWithContext added in v3.25.0

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

type EnvironmentOutput added in v3.13.0

type EnvironmentOutput struct {
	*pulumi.OutputState
}

func (EnvironmentOutput) ElementType added in v3.13.0

func (EnvironmentOutput) ElementType() reflect.Type

func (EnvironmentOutput) ToEnvironmentOutput added in v3.13.0

func (o EnvironmentOutput) ToEnvironmentOutput() EnvironmentOutput

func (EnvironmentOutput) ToEnvironmentOutputWithContext added in v3.13.0

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

func (EnvironmentOutput) ToEnvironmentPtrOutput added in v3.25.0

func (o EnvironmentOutput) ToEnvironmentPtrOutput() EnvironmentPtrOutput

func (EnvironmentOutput) ToEnvironmentPtrOutputWithContext added in v3.25.0

func (o EnvironmentOutput) ToEnvironmentPtrOutputWithContext(ctx context.Context) EnvironmentPtrOutput

type EnvironmentPtrInput added in v3.25.0

type EnvironmentPtrInput interface {
	pulumi.Input

	ToEnvironmentPtrOutput() EnvironmentPtrOutput
	ToEnvironmentPtrOutputWithContext(ctx context.Context) EnvironmentPtrOutput
}

type EnvironmentPtrOutput added in v3.25.0

type EnvironmentPtrOutput struct {
	*pulumi.OutputState
}

func (EnvironmentPtrOutput) ElementType added in v3.25.0

func (EnvironmentPtrOutput) ElementType() reflect.Type

func (EnvironmentPtrOutput) ToEnvironmentPtrOutput added in v3.25.0

func (o EnvironmentPtrOutput) ToEnvironmentPtrOutput() EnvironmentPtrOutput

func (EnvironmentPtrOutput) ToEnvironmentPtrOutputWithContext added in v3.25.0

func (o EnvironmentPtrOutput) ToEnvironmentPtrOutputWithContext(ctx context.Context) EnvironmentPtrOutput

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.StringPtrInput
	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.
	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
	// 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"`
	// The number of days to retain an application version.
	MaxAgeInDays int `pulumi:"maxAgeInDays"`
	// The maximum number of application versions to retain.
	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 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"`
	// The number of days to retain an application version.
	MaxAgeInDays pulumi.IntInput `pulumi:"maxAgeInDays"`
	// The maximum number of application versions to retain.
	MaxCount pulumi.IntInput `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 (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

The number of days to retain an application version.

func (GetApplicationAppversionLifecycleOutput) MaxCount

The maximum number of application versions to retain.

func (GetApplicationAppversionLifecycleOutput) 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 (GetApplicationAppversionLifecycleOutput) ToGetApplicationAppversionLifecycleOutput

func (o GetApplicationAppversionLifecycleOutput) ToGetApplicationAppversionLifecycleOutput() GetApplicationAppversionLifecycleOutput

func (GetApplicationAppversionLifecycleOutput) ToGetApplicationAppversionLifecycleOutputWithContext

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

type GetHostedZoneArgs

type GetHostedZoneArgs struct {
	// The 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 GetHostedZoneResult

type GetHostedZoneResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The 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/v3/go/aws/elasticbeanstalk"
"github.com/pulumi/pulumi/sdk/v2/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 GetSolutionStackArgs

type GetSolutionStackArgs struct {
	// If more than one result is returned, use the most
	// recent solution stack.
	MostRecent *bool `pulumi:"mostRecent"`
	// A 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.
	NameRegex string `pulumi:"nameRegex"`
}

A collection of arguments for invoking getSolutionStack.

type GetSolutionStackResult

type GetSolutionStackResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id         string `pulumi:"id"`
	MostRecent *bool  `pulumi:"mostRecent"`
	// The 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 (

"fmt"

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

)

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

```

type LookupApplicationArgs

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

A collection of arguments for invoking getApplication.

type LookupApplicationResult

type LookupApplicationResult struct {
	AppversionLifecycle GetApplicationAppversionLifecycle `pulumi:"appversionLifecycle"`
	// The Amazon Resource Name (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/v3/go/aws/elasticbeanstalk"
"github.com/pulumi/pulumi/sdk/v2/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
	})
}

```

Jump to

Keyboard shortcuts

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