Documentation ¶
Index ¶
- type Application
- func (*Application) ElementType() reflect.Type
- func (i *Application) ToApplicationOutput() ApplicationOutput
- func (i *Application) ToApplicationOutputWithContext(ctx context.Context) ApplicationOutput
- func (i *Application) ToApplicationPtrOutput() ApplicationPtrOutput
- func (i *Application) ToApplicationPtrOutputWithContext(ctx context.Context) ApplicationPtrOutput
- type ApplicationAppversionLifecycle
- type ApplicationAppversionLifecycleArgs
- func (ApplicationAppversionLifecycleArgs) ElementType() reflect.Type
- func (i ApplicationAppversionLifecycleArgs) ToApplicationAppversionLifecycleOutput() ApplicationAppversionLifecycleOutput
- func (i ApplicationAppversionLifecycleArgs) ToApplicationAppversionLifecycleOutputWithContext(ctx context.Context) ApplicationAppversionLifecycleOutput
- func (i ApplicationAppversionLifecycleArgs) ToApplicationAppversionLifecyclePtrOutput() ApplicationAppversionLifecyclePtrOutput
- func (i ApplicationAppversionLifecycleArgs) ToApplicationAppversionLifecyclePtrOutputWithContext(ctx context.Context) ApplicationAppversionLifecyclePtrOutput
- type ApplicationAppversionLifecycleInput
- type ApplicationAppversionLifecycleOutput
- func (o ApplicationAppversionLifecycleOutput) DeleteSourceFromS3() pulumi.BoolPtrOutput
- func (ApplicationAppversionLifecycleOutput) ElementType() reflect.Type
- func (o ApplicationAppversionLifecycleOutput) MaxAgeInDays() pulumi.IntPtrOutput
- func (o ApplicationAppversionLifecycleOutput) MaxCount() pulumi.IntPtrOutput
- func (o ApplicationAppversionLifecycleOutput) ServiceRole() pulumi.StringOutput
- func (o ApplicationAppversionLifecycleOutput) ToApplicationAppversionLifecycleOutput() ApplicationAppversionLifecycleOutput
- func (o ApplicationAppversionLifecycleOutput) ToApplicationAppversionLifecycleOutputWithContext(ctx context.Context) ApplicationAppversionLifecycleOutput
- func (o ApplicationAppversionLifecycleOutput) ToApplicationAppversionLifecyclePtrOutput() ApplicationAppversionLifecyclePtrOutput
- func (o ApplicationAppversionLifecycleOutput) ToApplicationAppversionLifecyclePtrOutputWithContext(ctx context.Context) ApplicationAppversionLifecyclePtrOutput
- type ApplicationAppversionLifecyclePtrInput
- type ApplicationAppversionLifecyclePtrOutput
- func (o ApplicationAppversionLifecyclePtrOutput) DeleteSourceFromS3() pulumi.BoolPtrOutput
- func (o ApplicationAppversionLifecyclePtrOutput) Elem() ApplicationAppversionLifecycleOutput
- func (ApplicationAppversionLifecyclePtrOutput) ElementType() reflect.Type
- func (o ApplicationAppversionLifecyclePtrOutput) MaxAgeInDays() pulumi.IntPtrOutput
- func (o ApplicationAppversionLifecyclePtrOutput) MaxCount() pulumi.IntPtrOutput
- func (o ApplicationAppversionLifecyclePtrOutput) ServiceRole() pulumi.StringPtrOutput
- func (o ApplicationAppversionLifecyclePtrOutput) ToApplicationAppversionLifecyclePtrOutput() ApplicationAppversionLifecyclePtrOutput
- func (o ApplicationAppversionLifecyclePtrOutput) ToApplicationAppversionLifecyclePtrOutputWithContext(ctx context.Context) ApplicationAppversionLifecyclePtrOutput
- type ApplicationArgs
- type ApplicationArray
- type ApplicationArrayInput
- type ApplicationArrayOutput
- func (ApplicationArrayOutput) ElementType() reflect.Type
- func (o ApplicationArrayOutput) Index(i pulumi.IntInput) ApplicationOutput
- func (o ApplicationArrayOutput) ToApplicationArrayOutput() ApplicationArrayOutput
- func (o ApplicationArrayOutput) ToApplicationArrayOutputWithContext(ctx context.Context) ApplicationArrayOutput
- type ApplicationInput
- type ApplicationMap
- type ApplicationMapInput
- type ApplicationMapOutput
- func (ApplicationMapOutput) ElementType() reflect.Type
- func (o ApplicationMapOutput) MapIndex(k pulumi.StringInput) ApplicationOutput
- func (o ApplicationMapOutput) ToApplicationMapOutput() ApplicationMapOutput
- func (o ApplicationMapOutput) ToApplicationMapOutputWithContext(ctx context.Context) ApplicationMapOutput
- type ApplicationOutput
- func (ApplicationOutput) ElementType() reflect.Type
- func (o ApplicationOutput) ToApplicationOutput() ApplicationOutput
- func (o ApplicationOutput) ToApplicationOutputWithContext(ctx context.Context) ApplicationOutput
- func (o ApplicationOutput) ToApplicationPtrOutput() ApplicationPtrOutput
- func (o ApplicationOutput) ToApplicationPtrOutputWithContext(ctx context.Context) ApplicationPtrOutput
- type ApplicationPtrInput
- type ApplicationPtrOutput
- type ApplicationState
- type ApplicationVersion
- func (*ApplicationVersion) ElementType() reflect.Type
- func (i *ApplicationVersion) ToApplicationVersionOutput() ApplicationVersionOutput
- func (i *ApplicationVersion) ToApplicationVersionOutputWithContext(ctx context.Context) ApplicationVersionOutput
- func (i *ApplicationVersion) ToApplicationVersionPtrOutput() ApplicationVersionPtrOutput
- func (i *ApplicationVersion) ToApplicationVersionPtrOutputWithContext(ctx context.Context) ApplicationVersionPtrOutput
- type ApplicationVersionArgs
- type ApplicationVersionArray
- type ApplicationVersionArrayInput
- type ApplicationVersionArrayOutput
- func (ApplicationVersionArrayOutput) ElementType() reflect.Type
- func (o ApplicationVersionArrayOutput) Index(i pulumi.IntInput) ApplicationVersionOutput
- func (o ApplicationVersionArrayOutput) ToApplicationVersionArrayOutput() ApplicationVersionArrayOutput
- func (o ApplicationVersionArrayOutput) ToApplicationVersionArrayOutputWithContext(ctx context.Context) ApplicationVersionArrayOutput
- type ApplicationVersionInput
- type ApplicationVersionMap
- type ApplicationVersionMapInput
- type ApplicationVersionMapOutput
- func (ApplicationVersionMapOutput) ElementType() reflect.Type
- func (o ApplicationVersionMapOutput) MapIndex(k pulumi.StringInput) ApplicationVersionOutput
- func (o ApplicationVersionMapOutput) ToApplicationVersionMapOutput() ApplicationVersionMapOutput
- func (o ApplicationVersionMapOutput) ToApplicationVersionMapOutputWithContext(ctx context.Context) ApplicationVersionMapOutput
- type ApplicationVersionOutput
- func (ApplicationVersionOutput) ElementType() reflect.Type
- func (o ApplicationVersionOutput) ToApplicationVersionOutput() ApplicationVersionOutput
- func (o ApplicationVersionOutput) ToApplicationVersionOutputWithContext(ctx context.Context) ApplicationVersionOutput
- func (o ApplicationVersionOutput) ToApplicationVersionPtrOutput() ApplicationVersionPtrOutput
- func (o ApplicationVersionOutput) ToApplicationVersionPtrOutputWithContext(ctx context.Context) ApplicationVersionPtrOutput
- type ApplicationVersionPtrInput
- type ApplicationVersionPtrOutput
- func (o ApplicationVersionPtrOutput) Elem() ApplicationVersionOutput
- func (ApplicationVersionPtrOutput) ElementType() reflect.Type
- func (o ApplicationVersionPtrOutput) ToApplicationVersionPtrOutput() ApplicationVersionPtrOutput
- func (o ApplicationVersionPtrOutput) ToApplicationVersionPtrOutputWithContext(ctx context.Context) ApplicationVersionPtrOutput
- type ApplicationVersionState
- type ConfigurationTemplate
- func (*ConfigurationTemplate) ElementType() reflect.Type
- func (i *ConfigurationTemplate) ToConfigurationTemplateOutput() ConfigurationTemplateOutput
- func (i *ConfigurationTemplate) ToConfigurationTemplateOutputWithContext(ctx context.Context) ConfigurationTemplateOutput
- func (i *ConfigurationTemplate) ToConfigurationTemplatePtrOutput() ConfigurationTemplatePtrOutput
- func (i *ConfigurationTemplate) ToConfigurationTemplatePtrOutputWithContext(ctx context.Context) ConfigurationTemplatePtrOutput
- type ConfigurationTemplateArgs
- type ConfigurationTemplateArray
- func (ConfigurationTemplateArray) ElementType() reflect.Type
- func (i ConfigurationTemplateArray) ToConfigurationTemplateArrayOutput() ConfigurationTemplateArrayOutput
- func (i ConfigurationTemplateArray) ToConfigurationTemplateArrayOutputWithContext(ctx context.Context) ConfigurationTemplateArrayOutput
- type ConfigurationTemplateArrayInput
- type ConfigurationTemplateArrayOutput
- func (ConfigurationTemplateArrayOutput) ElementType() reflect.Type
- func (o ConfigurationTemplateArrayOutput) Index(i pulumi.IntInput) ConfigurationTemplateOutput
- func (o ConfigurationTemplateArrayOutput) ToConfigurationTemplateArrayOutput() ConfigurationTemplateArrayOutput
- func (o ConfigurationTemplateArrayOutput) ToConfigurationTemplateArrayOutputWithContext(ctx context.Context) ConfigurationTemplateArrayOutput
- type ConfigurationTemplateInput
- type ConfigurationTemplateMap
- type ConfigurationTemplateMapInput
- type ConfigurationTemplateMapOutput
- func (ConfigurationTemplateMapOutput) ElementType() reflect.Type
- func (o ConfigurationTemplateMapOutput) MapIndex(k pulumi.StringInput) ConfigurationTemplateOutput
- func (o ConfigurationTemplateMapOutput) ToConfigurationTemplateMapOutput() ConfigurationTemplateMapOutput
- func (o ConfigurationTemplateMapOutput) ToConfigurationTemplateMapOutputWithContext(ctx context.Context) ConfigurationTemplateMapOutput
- type ConfigurationTemplateOutput
- func (ConfigurationTemplateOutput) ElementType() reflect.Type
- func (o ConfigurationTemplateOutput) ToConfigurationTemplateOutput() ConfigurationTemplateOutput
- func (o ConfigurationTemplateOutput) ToConfigurationTemplateOutputWithContext(ctx context.Context) ConfigurationTemplateOutput
- func (o ConfigurationTemplateOutput) ToConfigurationTemplatePtrOutput() ConfigurationTemplatePtrOutput
- func (o ConfigurationTemplateOutput) ToConfigurationTemplatePtrOutputWithContext(ctx context.Context) ConfigurationTemplatePtrOutput
- type ConfigurationTemplatePtrInput
- type ConfigurationTemplatePtrOutput
- func (o ConfigurationTemplatePtrOutput) Elem() ConfigurationTemplateOutput
- func (ConfigurationTemplatePtrOutput) ElementType() reflect.Type
- func (o ConfigurationTemplatePtrOutput) ToConfigurationTemplatePtrOutput() ConfigurationTemplatePtrOutput
- func (o ConfigurationTemplatePtrOutput) ToConfigurationTemplatePtrOutputWithContext(ctx context.Context) ConfigurationTemplatePtrOutput
- type ConfigurationTemplateSetting
- type ConfigurationTemplateSettingArgs
- func (ConfigurationTemplateSettingArgs) ElementType() reflect.Type
- func (i ConfigurationTemplateSettingArgs) ToConfigurationTemplateSettingOutput() ConfigurationTemplateSettingOutput
- func (i ConfigurationTemplateSettingArgs) ToConfigurationTemplateSettingOutputWithContext(ctx context.Context) ConfigurationTemplateSettingOutput
- type ConfigurationTemplateSettingArray
- func (ConfigurationTemplateSettingArray) ElementType() reflect.Type
- func (i ConfigurationTemplateSettingArray) ToConfigurationTemplateSettingArrayOutput() ConfigurationTemplateSettingArrayOutput
- func (i ConfigurationTemplateSettingArray) ToConfigurationTemplateSettingArrayOutputWithContext(ctx context.Context) ConfigurationTemplateSettingArrayOutput
- type ConfigurationTemplateSettingArrayInput
- type ConfigurationTemplateSettingArrayOutput
- func (ConfigurationTemplateSettingArrayOutput) ElementType() reflect.Type
- func (o ConfigurationTemplateSettingArrayOutput) Index(i pulumi.IntInput) ConfigurationTemplateSettingOutput
- func (o ConfigurationTemplateSettingArrayOutput) ToConfigurationTemplateSettingArrayOutput() ConfigurationTemplateSettingArrayOutput
- func (o ConfigurationTemplateSettingArrayOutput) ToConfigurationTemplateSettingArrayOutputWithContext(ctx context.Context) ConfigurationTemplateSettingArrayOutput
- type ConfigurationTemplateSettingInput
- type ConfigurationTemplateSettingOutput
- func (ConfigurationTemplateSettingOutput) ElementType() reflect.Type
- func (o ConfigurationTemplateSettingOutput) Name() pulumi.StringOutput
- func (o ConfigurationTemplateSettingOutput) Namespace() pulumi.StringOutput
- func (o ConfigurationTemplateSettingOutput) Resource() pulumi.StringPtrOutput
- func (o ConfigurationTemplateSettingOutput) ToConfigurationTemplateSettingOutput() ConfigurationTemplateSettingOutput
- func (o ConfigurationTemplateSettingOutput) ToConfigurationTemplateSettingOutputWithContext(ctx context.Context) ConfigurationTemplateSettingOutput
- func (o ConfigurationTemplateSettingOutput) Value() pulumi.StringOutput
- type ConfigurationTemplateState
- type Environment
- func (*Environment) ElementType() reflect.Type
- func (i *Environment) ToEnvironmentOutput() EnvironmentOutput
- func (i *Environment) ToEnvironmentOutputWithContext(ctx context.Context) EnvironmentOutput
- func (i *Environment) ToEnvironmentPtrOutput() EnvironmentPtrOutput
- func (i *Environment) ToEnvironmentPtrOutputWithContext(ctx context.Context) EnvironmentPtrOutput
- type EnvironmentAllSetting
- type EnvironmentAllSettingArgs
- type EnvironmentAllSettingArray
- func (EnvironmentAllSettingArray) ElementType() reflect.Type
- func (i EnvironmentAllSettingArray) ToEnvironmentAllSettingArrayOutput() EnvironmentAllSettingArrayOutput
- func (i EnvironmentAllSettingArray) ToEnvironmentAllSettingArrayOutputWithContext(ctx context.Context) EnvironmentAllSettingArrayOutput
- type EnvironmentAllSettingArrayInput
- type EnvironmentAllSettingArrayOutput
- func (EnvironmentAllSettingArrayOutput) ElementType() reflect.Type
- func (o EnvironmentAllSettingArrayOutput) Index(i pulumi.IntInput) EnvironmentAllSettingOutput
- func (o EnvironmentAllSettingArrayOutput) ToEnvironmentAllSettingArrayOutput() EnvironmentAllSettingArrayOutput
- func (o EnvironmentAllSettingArrayOutput) ToEnvironmentAllSettingArrayOutputWithContext(ctx context.Context) EnvironmentAllSettingArrayOutput
- type EnvironmentAllSettingInput
- type EnvironmentAllSettingOutput
- func (EnvironmentAllSettingOutput) ElementType() reflect.Type
- func (o EnvironmentAllSettingOutput) Name() pulumi.StringOutput
- func (o EnvironmentAllSettingOutput) Namespace() pulumi.StringOutput
- func (o EnvironmentAllSettingOutput) Resource() pulumi.StringPtrOutput
- func (o EnvironmentAllSettingOutput) ToEnvironmentAllSettingOutput() EnvironmentAllSettingOutput
- func (o EnvironmentAllSettingOutput) ToEnvironmentAllSettingOutputWithContext(ctx context.Context) EnvironmentAllSettingOutput
- func (o EnvironmentAllSettingOutput) Value() pulumi.StringOutput
- type EnvironmentArgs
- type EnvironmentArray
- type EnvironmentArrayInput
- type EnvironmentArrayOutput
- func (EnvironmentArrayOutput) ElementType() reflect.Type
- func (o EnvironmentArrayOutput) Index(i pulumi.IntInput) EnvironmentOutput
- func (o EnvironmentArrayOutput) ToEnvironmentArrayOutput() EnvironmentArrayOutput
- func (o EnvironmentArrayOutput) ToEnvironmentArrayOutputWithContext(ctx context.Context) EnvironmentArrayOutput
- type EnvironmentInput
- type EnvironmentMap
- type EnvironmentMapInput
- type EnvironmentMapOutput
- func (EnvironmentMapOutput) ElementType() reflect.Type
- func (o EnvironmentMapOutput) MapIndex(k pulumi.StringInput) EnvironmentOutput
- func (o EnvironmentMapOutput) ToEnvironmentMapOutput() EnvironmentMapOutput
- func (o EnvironmentMapOutput) ToEnvironmentMapOutputWithContext(ctx context.Context) EnvironmentMapOutput
- type EnvironmentOutput
- func (EnvironmentOutput) ElementType() reflect.Type
- func (o EnvironmentOutput) ToEnvironmentOutput() EnvironmentOutput
- func (o EnvironmentOutput) ToEnvironmentOutputWithContext(ctx context.Context) EnvironmentOutput
- func (o EnvironmentOutput) ToEnvironmentPtrOutput() EnvironmentPtrOutput
- func (o EnvironmentOutput) ToEnvironmentPtrOutputWithContext(ctx context.Context) EnvironmentPtrOutput
- type EnvironmentPtrInput
- type EnvironmentPtrOutput
- type EnvironmentSetting
- type EnvironmentSettingArgs
- type EnvironmentSettingArray
- type EnvironmentSettingArrayInput
- type EnvironmentSettingArrayOutput
- func (EnvironmentSettingArrayOutput) ElementType() reflect.Type
- func (o EnvironmentSettingArrayOutput) Index(i pulumi.IntInput) EnvironmentSettingOutput
- func (o EnvironmentSettingArrayOutput) ToEnvironmentSettingArrayOutput() EnvironmentSettingArrayOutput
- func (o EnvironmentSettingArrayOutput) ToEnvironmentSettingArrayOutputWithContext(ctx context.Context) EnvironmentSettingArrayOutput
- type EnvironmentSettingInput
- type EnvironmentSettingOutput
- func (EnvironmentSettingOutput) ElementType() reflect.Type
- func (o EnvironmentSettingOutput) Name() pulumi.StringOutput
- func (o EnvironmentSettingOutput) Namespace() pulumi.StringOutput
- func (o EnvironmentSettingOutput) Resource() pulumi.StringPtrOutput
- func (o EnvironmentSettingOutput) ToEnvironmentSettingOutput() EnvironmentSettingOutput
- func (o EnvironmentSettingOutput) ToEnvironmentSettingOutputWithContext(ctx context.Context) EnvironmentSettingOutput
- func (o EnvironmentSettingOutput) Value() pulumi.StringOutput
- type EnvironmentState
- type GetApplicationAppversionLifecycle
- type GetApplicationAppversionLifecycleArgs
- func (GetApplicationAppversionLifecycleArgs) ElementType() reflect.Type
- func (i GetApplicationAppversionLifecycleArgs) ToGetApplicationAppversionLifecycleOutput() GetApplicationAppversionLifecycleOutput
- func (i GetApplicationAppversionLifecycleArgs) ToGetApplicationAppversionLifecycleOutputWithContext(ctx context.Context) GetApplicationAppversionLifecycleOutput
- type GetApplicationAppversionLifecycleInput
- type GetApplicationAppversionLifecycleOutput
- func (o GetApplicationAppversionLifecycleOutput) DeleteSourceFromS3() pulumi.BoolOutput
- func (GetApplicationAppversionLifecycleOutput) ElementType() reflect.Type
- func (o GetApplicationAppversionLifecycleOutput) MaxAgeInDays() pulumi.IntOutput
- func (o GetApplicationAppversionLifecycleOutput) MaxCount() pulumi.IntOutput
- func (o GetApplicationAppversionLifecycleOutput) ServiceRole() pulumi.StringOutput
- func (o GetApplicationAppversionLifecycleOutput) ToGetApplicationAppversionLifecycleOutput() GetApplicationAppversionLifecycleOutput
- func (o GetApplicationAppversionLifecycleOutput) ToGetApplicationAppversionLifecycleOutputWithContext(ctx context.Context) GetApplicationAppversionLifecycleOutput
- type GetHostedZoneArgs
- type GetHostedZoneResult
- type GetSolutionStackArgs
- type GetSolutionStackResult
- type LookupApplicationArgs
- type LookupApplicationResult
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"` Tags pulumi.StringMapOutput `pulumi:"tags"` 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/v4/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{ 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 ¶
func (*Application) ElementType() reflect.Type
func (*Application) ToApplicationOutput ¶
func (i *Application) ToApplicationOutput() ApplicationOutput
func (*Application) ToApplicationOutputWithContext ¶
func (i *Application) ToApplicationOutputWithContext(ctx context.Context) ApplicationOutput
func (*Application) ToApplicationPtrOutput ¶
func (i *Application) ToApplicationPtrOutput() ApplicationPtrOutput
func (*Application) ToApplicationPtrOutputWithContext ¶
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) ElementType() reflect.Type
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 ¶
func (o ApplicationAppversionLifecycleOutput) DeleteSourceFromS3() pulumi.BoolPtrOutput
Set to `true` to delete a version's source bundle from S3 when the application version is deleted.
func (ApplicationAppversionLifecycleOutput) ElementType ¶
func (ApplicationAppversionLifecycleOutput) ElementType() reflect.Type
func (ApplicationAppversionLifecycleOutput) MaxAgeInDays ¶
func (o ApplicationAppversionLifecycleOutput) MaxAgeInDays() pulumi.IntPtrOutput
The number of days to retain an application version ('max_age_in_days' and 'max_count' cannot be enabled simultaneously.).
func (ApplicationAppversionLifecycleOutput) MaxCount ¶
func (o ApplicationAppversionLifecycleOutput) MaxCount() pulumi.IntPtrOutput
The maximum number of application versions to retain ('max_age_in_days' and 'max_count' cannot be enabled simultaneously.).
func (ApplicationAppversionLifecycleOutput) ServiceRole ¶
func (o ApplicationAppversionLifecycleOutput) ServiceRole() pulumi.StringOutput
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
func ApplicationAppversionLifecyclePtr ¶
func ApplicationAppversionLifecyclePtr(v *ApplicationAppversionLifecycleArgs) ApplicationAppversionLifecyclePtrInput
type ApplicationAppversionLifecyclePtrOutput ¶
type ApplicationAppversionLifecyclePtrOutput struct{ *pulumi.OutputState }
func (ApplicationAppversionLifecyclePtrOutput) DeleteSourceFromS3 ¶
func (o ApplicationAppversionLifecyclePtrOutput) DeleteSourceFromS3() pulumi.BoolPtrOutput
Set to `true` to delete a version's source bundle from S3 when the application version is deleted.
func (ApplicationAppversionLifecyclePtrOutput) ElementType ¶
func (ApplicationAppversionLifecyclePtrOutput) ElementType() reflect.Type
func (ApplicationAppversionLifecyclePtrOutput) MaxAgeInDays ¶
func (o ApplicationAppversionLifecyclePtrOutput) MaxAgeInDays() pulumi.IntPtrOutput
The number of days to retain an application version ('max_age_in_days' and 'max_count' cannot be enabled simultaneously.).
func (ApplicationAppversionLifecyclePtrOutput) MaxCount ¶
func (o ApplicationAppversionLifecyclePtrOutput) MaxCount() pulumi.IntPtrOutput
The maximum number of application versions to retain ('max_age_in_days' and 'max_count' cannot be enabled simultaneously.).
func (ApplicationAppversionLifecyclePtrOutput) ServiceRole ¶
func (o ApplicationAppversionLifecyclePtrOutput) ServiceRole() pulumi.StringPtrOutput
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 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 (o ApplicationArrayOutput) Index(i pulumi.IntInput) ApplicationOutput
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 (o ApplicationMapOutput) MapIndex(k pulumi.StringInput) ApplicationOutput
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) ElementType ¶
func (ApplicationOutput) ElementType() reflect.Type
func (ApplicationOutput) ToApplicationOutput ¶
func (o ApplicationOutput) ToApplicationOutput() ApplicationOutput
func (ApplicationOutput) ToApplicationOutputWithContext ¶
func (o ApplicationOutput) ToApplicationOutputWithContext(ctx context.Context) ApplicationOutput
func (ApplicationOutput) ToApplicationPtrOutput ¶
func (o ApplicationOutput) ToApplicationPtrOutput() ApplicationPtrOutput
func (ApplicationOutput) ToApplicationPtrOutputWithContext ¶
func (o ApplicationOutput) ToApplicationPtrOutputWithContext(ctx context.Context) ApplicationPtrOutput
type ApplicationPtrInput ¶
type ApplicationPtrInput interface { pulumi.Input ToApplicationPtrOutput() ApplicationPtrOutput ToApplicationPtrOutputWithContext(ctx context.Context) ApplicationPtrOutput }
type ApplicationPtrOutput ¶
type ApplicationPtrOutput struct{ *pulumi.OutputState }
func (ApplicationPtrOutput) Elem ¶ added in v4.15.0
func (o ApplicationPtrOutput) Elem() ApplicationOutput
func (ApplicationPtrOutput) ElementType ¶
func (ApplicationPtrOutput) ElementType() reflect.Type
func (ApplicationPtrOutput) ToApplicationPtrOutput ¶
func (o ApplicationPtrOutput) ToApplicationPtrOutput() ApplicationPtrOutput
func (ApplicationPtrOutput) ToApplicationPtrOutputWithContext ¶
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 Tags pulumi.StringMapInput 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. Name pulumi.StringOutput `pulumi:"name"` Tags pulumi.StringMapOutput `pulumi:"tags"` 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/v4/go/aws/elasticbeanstalk" "github.com/pulumi/pulumi-aws/sdk/v4/go/aws/s3" "github.com/pulumi/pulumi/sdk/v3/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.Any("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 ¶
func (*ApplicationVersion) ElementType() reflect.Type
func (*ApplicationVersion) ToApplicationVersionOutput ¶
func (i *ApplicationVersion) ToApplicationVersionOutput() ApplicationVersionOutput
func (*ApplicationVersion) ToApplicationVersionOutputWithContext ¶
func (i *ApplicationVersion) ToApplicationVersionOutputWithContext(ctx context.Context) ApplicationVersionOutput
func (*ApplicationVersion) ToApplicationVersionPtrOutput ¶
func (i *ApplicationVersion) ToApplicationVersionPtrOutput() ApplicationVersionPtrOutput
func (*ApplicationVersion) ToApplicationVersionPtrOutputWithContext ¶
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 // Unique name for the this Application Version. Name pulumi.StringPtrInput 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) ElementType() reflect.Type
func (ApplicationVersionArrayOutput) Index ¶
func (o ApplicationVersionArrayOutput) Index(i pulumi.IntInput) ApplicationVersionOutput
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) ElementType() reflect.Type
func (ApplicationVersionMapOutput) MapIndex ¶
func (o ApplicationVersionMapOutput) MapIndex(k pulumi.StringInput) ApplicationVersionOutput
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) ElementType ¶
func (ApplicationVersionOutput) ElementType() reflect.Type
func (ApplicationVersionOutput) ToApplicationVersionOutput ¶
func (o ApplicationVersionOutput) ToApplicationVersionOutput() ApplicationVersionOutput
func (ApplicationVersionOutput) ToApplicationVersionOutputWithContext ¶
func (o ApplicationVersionOutput) ToApplicationVersionOutputWithContext(ctx context.Context) ApplicationVersionOutput
func (ApplicationVersionOutput) ToApplicationVersionPtrOutput ¶
func (o ApplicationVersionOutput) ToApplicationVersionPtrOutput() ApplicationVersionPtrOutput
func (ApplicationVersionOutput) ToApplicationVersionPtrOutputWithContext ¶
func (o ApplicationVersionOutput) ToApplicationVersionPtrOutputWithContext(ctx context.Context) ApplicationVersionPtrOutput
type ApplicationVersionPtrInput ¶
type ApplicationVersionPtrInput interface { pulumi.Input ToApplicationVersionPtrOutput() ApplicationVersionPtrOutput ToApplicationVersionPtrOutputWithContext(ctx context.Context) ApplicationVersionPtrOutput }
type ApplicationVersionPtrOutput ¶
type ApplicationVersionPtrOutput struct{ *pulumi.OutputState }
func (ApplicationVersionPtrOutput) Elem ¶ added in v4.15.0
func (o ApplicationVersionPtrOutput) Elem() ApplicationVersionOutput
func (ApplicationVersionPtrOutput) ElementType ¶
func (ApplicationVersionPtrOutput) ElementType() reflect.Type
func (ApplicationVersionPtrOutput) ToApplicationVersionPtrOutput ¶
func (o ApplicationVersionPtrOutput) ToApplicationVersionPtrOutput() ApplicationVersionPtrOutput
func (ApplicationVersionPtrOutput) ToApplicationVersionPtrOutputWithContext ¶
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.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. Name pulumi.StringPtrInput Tags pulumi.StringMapInput 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](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/v4/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{ 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 ¶
func (*ConfigurationTemplate) ElementType() reflect.Type
func (*ConfigurationTemplate) ToConfigurationTemplateOutput ¶
func (i *ConfigurationTemplate) ToConfigurationTemplateOutput() ConfigurationTemplateOutput
func (*ConfigurationTemplate) ToConfigurationTemplateOutputWithContext ¶
func (i *ConfigurationTemplate) ToConfigurationTemplateOutputWithContext(ctx context.Context) ConfigurationTemplateOutput
func (*ConfigurationTemplate) ToConfigurationTemplatePtrOutput ¶
func (i *ConfigurationTemplate) ToConfigurationTemplatePtrOutput() ConfigurationTemplatePtrOutput
func (*ConfigurationTemplate) ToConfigurationTemplatePtrOutputWithContext ¶
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 ¶
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) ElementType() reflect.Type
func (ConfigurationTemplateArrayOutput) Index ¶
func (o ConfigurationTemplateArrayOutput) Index(i pulumi.IntInput) ConfigurationTemplateOutput
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) ElementType() reflect.Type
func (ConfigurationTemplateMapOutput) MapIndex ¶
func (o ConfigurationTemplateMapOutput) MapIndex(k pulumi.StringInput) ConfigurationTemplateOutput
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) ElementType ¶
func (ConfigurationTemplateOutput) ElementType() reflect.Type
func (ConfigurationTemplateOutput) ToConfigurationTemplateOutput ¶
func (o ConfigurationTemplateOutput) ToConfigurationTemplateOutput() ConfigurationTemplateOutput
func (ConfigurationTemplateOutput) ToConfigurationTemplateOutputWithContext ¶
func (o ConfigurationTemplateOutput) ToConfigurationTemplateOutputWithContext(ctx context.Context) ConfigurationTemplateOutput
func (ConfigurationTemplateOutput) ToConfigurationTemplatePtrOutput ¶
func (o ConfigurationTemplateOutput) ToConfigurationTemplatePtrOutput() ConfigurationTemplatePtrOutput
func (ConfigurationTemplateOutput) ToConfigurationTemplatePtrOutputWithContext ¶
func (o ConfigurationTemplateOutput) ToConfigurationTemplatePtrOutputWithContext(ctx context.Context) ConfigurationTemplatePtrOutput
type ConfigurationTemplatePtrInput ¶
type ConfigurationTemplatePtrInput interface { pulumi.Input ToConfigurationTemplatePtrOutput() ConfigurationTemplatePtrOutput ToConfigurationTemplatePtrOutputWithContext(ctx context.Context) ConfigurationTemplatePtrOutput }
type ConfigurationTemplatePtrOutput ¶
type ConfigurationTemplatePtrOutput struct{ *pulumi.OutputState }
func (ConfigurationTemplatePtrOutput) Elem ¶ added in v4.15.0
func (o ConfigurationTemplatePtrOutput) Elem() ConfigurationTemplateOutput
func (ConfigurationTemplatePtrOutput) ElementType ¶
func (ConfigurationTemplatePtrOutput) ElementType() reflect.Type
func (ConfigurationTemplatePtrOutput) ToConfigurationTemplatePtrOutput ¶
func (o ConfigurationTemplatePtrOutput) ToConfigurationTemplatePtrOutput() ConfigurationTemplatePtrOutput
func (ConfigurationTemplatePtrOutput) ToConfigurationTemplatePtrOutputWithContext ¶
func (o ConfigurationTemplatePtrOutput) ToConfigurationTemplatePtrOutputWithContext(ctx context.Context) ConfigurationTemplatePtrOutput
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) ElementType() reflect.Type
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) ElementType() reflect.Type
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) ElementType() reflect.Type
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) ElementType() reflect.Type
func (ConfigurationTemplateSettingOutput) Name ¶
func (o ConfigurationTemplateSettingOutput) Name() pulumi.StringOutput
A unique name for this Template.
func (ConfigurationTemplateSettingOutput) Namespace ¶
func (o ConfigurationTemplateSettingOutput) Namespace() pulumi.StringOutput
func (ConfigurationTemplateSettingOutput) Resource ¶
func (o ConfigurationTemplateSettingOutput) Resource() pulumi.StringPtrOutput
func (ConfigurationTemplateSettingOutput) ToConfigurationTemplateSettingOutput ¶
func (o ConfigurationTemplateSettingOutput) ToConfigurationTemplateSettingOutput() ConfigurationTemplateSettingOutput
func (ConfigurationTemplateSettingOutput) ToConfigurationTemplateSettingOutputWithContext ¶
func (o ConfigurationTemplateSettingOutput) ToConfigurationTemplateSettingOutputWithContext(ctx context.Context) ConfigurationTemplateSettingOutput
func (ConfigurationTemplateSettingOutput) Value ¶
func (o ConfigurationTemplateSettingOutput) Value() pulumi.StringOutput
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"` Tags pulumi.StringMapOutput `pulumi:"tags"` 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/v4/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{ 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/v4/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{ 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 ¶
func (*Environment) ElementType() reflect.Type
func (*Environment) ToEnvironmentOutput ¶
func (i *Environment) ToEnvironmentOutput() EnvironmentOutput
func (*Environment) ToEnvironmentOutputWithContext ¶
func (i *Environment) ToEnvironmentOutputWithContext(ctx context.Context) EnvironmentOutput
func (*Environment) ToEnvironmentPtrOutput ¶
func (i *Environment) ToEnvironmentPtrOutput() EnvironmentPtrOutput
func (*Environment) ToEnvironmentPtrOutputWithContext ¶
func (i *Environment) ToEnvironmentPtrOutputWithContext(ctx context.Context) EnvironmentPtrOutput
type EnvironmentAllSetting ¶
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) ElementType() reflect.Type
func (EnvironmentAllSettingArrayOutput) Index ¶
func (o EnvironmentAllSettingArrayOutput) Index(i pulumi.IntInput) EnvironmentAllSettingOutput
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) ElementType() reflect.Type
func (EnvironmentAllSettingOutput) Name ¶
func (o EnvironmentAllSettingOutput) Name() pulumi.StringOutput
A unique name for this Environment. This name is used in the application URL
func (EnvironmentAllSettingOutput) Namespace ¶
func (o EnvironmentAllSettingOutput) Namespace() pulumi.StringOutput
func (EnvironmentAllSettingOutput) Resource ¶
func (o EnvironmentAllSettingOutput) Resource() pulumi.StringPtrOutput
func (EnvironmentAllSettingOutput) ToEnvironmentAllSettingOutput ¶
func (o EnvironmentAllSettingOutput) ToEnvironmentAllSettingOutput() EnvironmentAllSettingOutput
func (EnvironmentAllSettingOutput) ToEnvironmentAllSettingOutputWithContext ¶
func (o EnvironmentAllSettingOutput) ToEnvironmentAllSettingOutputWithContext(ctx context.Context) EnvironmentAllSettingOutput
func (EnvironmentAllSettingOutput) Value ¶
func (o EnvironmentAllSettingOutput) Value() pulumi.StringOutput
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 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 (o EnvironmentArrayOutput) Index(i pulumi.IntInput) EnvironmentOutput
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 (o EnvironmentMapOutput) MapIndex(k pulumi.StringInput) EnvironmentOutput
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) ElementType ¶
func (EnvironmentOutput) ElementType() reflect.Type
func (EnvironmentOutput) ToEnvironmentOutput ¶
func (o EnvironmentOutput) ToEnvironmentOutput() EnvironmentOutput
func (EnvironmentOutput) ToEnvironmentOutputWithContext ¶
func (o EnvironmentOutput) ToEnvironmentOutputWithContext(ctx context.Context) EnvironmentOutput
func (EnvironmentOutput) ToEnvironmentPtrOutput ¶
func (o EnvironmentOutput) ToEnvironmentPtrOutput() EnvironmentPtrOutput
func (EnvironmentOutput) ToEnvironmentPtrOutputWithContext ¶
func (o EnvironmentOutput) ToEnvironmentPtrOutputWithContext(ctx context.Context) EnvironmentPtrOutput
type EnvironmentPtrInput ¶
type EnvironmentPtrInput interface { pulumi.Input ToEnvironmentPtrOutput() EnvironmentPtrOutput ToEnvironmentPtrOutputWithContext(ctx context.Context) EnvironmentPtrOutput }
type EnvironmentPtrOutput ¶
type EnvironmentPtrOutput struct{ *pulumi.OutputState }
func (EnvironmentPtrOutput) Elem ¶ added in v4.15.0
func (o EnvironmentPtrOutput) Elem() EnvironmentOutput
func (EnvironmentPtrOutput) ElementType ¶
func (EnvironmentPtrOutput) ElementType() reflect.Type
func (EnvironmentPtrOutput) ToEnvironmentPtrOutput ¶
func (o EnvironmentPtrOutput) ToEnvironmentPtrOutput() EnvironmentPtrOutput
func (EnvironmentPtrOutput) ToEnvironmentPtrOutputWithContext ¶
func (o EnvironmentPtrOutput) ToEnvironmentPtrOutputWithContext(ctx context.Context) EnvironmentPtrOutput
type EnvironmentSetting ¶
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) ElementType() reflect.Type
func (EnvironmentSettingArrayOutput) Index ¶
func (o EnvironmentSettingArrayOutput) Index(i pulumi.IntInput) EnvironmentSettingOutput
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 ¶
func (o EnvironmentSettingOutput) Name() pulumi.StringOutput
A unique name for this Environment. This name is used in the application URL
func (EnvironmentSettingOutput) Namespace ¶
func (o EnvironmentSettingOutput) Namespace() pulumi.StringOutput
func (EnvironmentSettingOutput) Resource ¶
func (o EnvironmentSettingOutput) Resource() pulumi.StringPtrOutput
func (EnvironmentSettingOutput) ToEnvironmentSettingOutput ¶
func (o EnvironmentSettingOutput) ToEnvironmentSettingOutput() EnvironmentSettingOutput
func (EnvironmentSettingOutput) ToEnvironmentSettingOutputWithContext ¶
func (o EnvironmentSettingOutput) ToEnvironmentSettingOutputWithContext(ctx context.Context) EnvironmentSettingOutput
func (EnvironmentSettingOutput) Value ¶
func (o EnvironmentSettingOutput) Value() pulumi.StringOutput
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 Tags pulumi.StringMapInput 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"` // 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) ElementType() reflect.Type
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 ¶
func (o GetApplicationAppversionLifecycleOutput) DeleteSourceFromS3() pulumi.BoolOutput
Specifies whether delete a version's source bundle from S3 when the application version is deleted.
func (GetApplicationAppversionLifecycleOutput) ElementType ¶
func (GetApplicationAppversionLifecycleOutput) ElementType() reflect.Type
func (GetApplicationAppversionLifecycleOutput) MaxAgeInDays ¶
func (o GetApplicationAppversionLifecycleOutput) MaxAgeInDays() pulumi.IntOutput
The number of days to retain an application version.
func (GetApplicationAppversionLifecycleOutput) MaxCount ¶
func (o GetApplicationAppversionLifecycleOutput) MaxCount() pulumi.IntOutput
The maximum number of application versions to retain.
func (GetApplicationAppversionLifecycleOutput) ServiceRole ¶
func (o GetApplicationAppversionLifecycleOutput) ServiceRole() pulumi.StringOutput
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/v4/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 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/v4/go/aws/elasticbeanstalk" "github.com/pulumi/pulumi/sdk/v3/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/v4/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 }) }
```