Documentation ¶
Index ¶
- type Application
- 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 (o ApplicationOutput) AppversionLifecycle() ApplicationAppversionLifecyclePtrOutput
- func (o ApplicationOutput) Arn() pulumi.StringOutput
- func (o ApplicationOutput) Description() pulumi.StringPtrOutput
- func (ApplicationOutput) ElementType() reflect.Type
- func (o ApplicationOutput) Name() pulumi.StringOutput
- func (o ApplicationOutput) Tags() pulumi.StringMapOutput
- func (o ApplicationOutput) TagsAll() pulumi.StringMapOutputdeprecated
- func (o ApplicationOutput) ToApplicationOutput() ApplicationOutput
- func (o ApplicationOutput) ToApplicationOutputWithContext(ctx context.Context) ApplicationOutput
- type ApplicationState
- type ApplicationVersion
- 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 (o ApplicationVersionOutput) Application() pulumi.StringOutput
- func (o ApplicationVersionOutput) Arn() pulumi.StringOutput
- func (o ApplicationVersionOutput) Bucket() pulumi.StringOutput
- func (o ApplicationVersionOutput) Description() pulumi.StringPtrOutput
- func (ApplicationVersionOutput) ElementType() reflect.Type
- func (o ApplicationVersionOutput) ForceDelete() pulumi.BoolPtrOutput
- func (o ApplicationVersionOutput) Key() pulumi.StringOutput
- func (o ApplicationVersionOutput) Name() pulumi.StringOutput
- func (o ApplicationVersionOutput) Tags() pulumi.StringMapOutput
- func (o ApplicationVersionOutput) TagsAll() pulumi.StringMapOutputdeprecated
- func (o ApplicationVersionOutput) ToApplicationVersionOutput() ApplicationVersionOutput
- func (o ApplicationVersionOutput) ToApplicationVersionOutputWithContext(ctx context.Context) ApplicationVersionOutput
- type ApplicationVersionState
- type ConfigurationTemplate
- 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 (o ConfigurationTemplateOutput) Application() pulumi.StringOutput
- func (o ConfigurationTemplateOutput) Description() pulumi.StringPtrOutput
- func (ConfigurationTemplateOutput) ElementType() reflect.Type
- func (o ConfigurationTemplateOutput) EnvironmentId() pulumi.StringPtrOutput
- func (o ConfigurationTemplateOutput) Name() pulumi.StringOutput
- func (o ConfigurationTemplateOutput) Settings() ConfigurationTemplateSettingArrayOutput
- func (o ConfigurationTemplateOutput) SolutionStackName() pulumi.StringPtrOutput
- func (o ConfigurationTemplateOutput) ToConfigurationTemplateOutput() ConfigurationTemplateOutput
- func (o ConfigurationTemplateOutput) ToConfigurationTemplateOutputWithContext(ctx context.Context) ConfigurationTemplateOutput
- 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
- 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 (o EnvironmentOutput) AllSettings() EnvironmentAllSettingArrayOutput
- func (o EnvironmentOutput) Application() pulumi.StringOutput
- func (o EnvironmentOutput) Arn() pulumi.StringOutput
- func (o EnvironmentOutput) AutoscalingGroups() pulumi.StringArrayOutput
- func (o EnvironmentOutput) Cname() pulumi.StringOutput
- func (o EnvironmentOutput) CnamePrefix() pulumi.StringOutput
- func (o EnvironmentOutput) Description() pulumi.StringPtrOutput
- func (EnvironmentOutput) ElementType() reflect.Type
- func (o EnvironmentOutput) EndpointUrl() pulumi.StringOutput
- func (o EnvironmentOutput) Instances() pulumi.StringArrayOutput
- func (o EnvironmentOutput) LaunchConfigurations() pulumi.StringArrayOutput
- func (o EnvironmentOutput) LoadBalancers() pulumi.StringArrayOutput
- func (o EnvironmentOutput) Name() pulumi.StringOutput
- func (o EnvironmentOutput) PlatformArn() pulumi.StringOutput
- func (o EnvironmentOutput) PollInterval() pulumi.StringPtrOutput
- func (o EnvironmentOutput) Queues() pulumi.StringArrayOutput
- func (o EnvironmentOutput) Settings() EnvironmentSettingArrayOutput
- func (o EnvironmentOutput) SolutionStackName() pulumi.StringOutput
- func (o EnvironmentOutput) Tags() pulumi.StringMapOutput
- func (o EnvironmentOutput) TagsAll() pulumi.StringMapOutputdeprecated
- func (o EnvironmentOutput) TemplateName() pulumi.StringPtrOutput
- func (o EnvironmentOutput) Tier() pulumi.StringPtrOutput
- func (o EnvironmentOutput) ToEnvironmentOutput() EnvironmentOutput
- func (o EnvironmentOutput) ToEnvironmentOutputWithContext(ctx context.Context) EnvironmentOutput
- func (o EnvironmentOutput) Triggers() pulumi.StringArrayOutput
- func (o EnvironmentOutput) Version() pulumi.StringOutput
- func (o EnvironmentOutput) WaitForReadyTimeout() pulumi.StringPtrOutput
- 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 GetHostedZoneOutputArgs
- type GetHostedZoneResult
- type GetHostedZoneResultOutput
- func (GetHostedZoneResultOutput) ElementType() reflect.Type
- func (o GetHostedZoneResultOutput) Id() pulumi.StringOutput
- func (o GetHostedZoneResultOutput) Region() pulumi.StringPtrOutput
- func (o GetHostedZoneResultOutput) ToGetHostedZoneResultOutput() GetHostedZoneResultOutput
- func (o GetHostedZoneResultOutput) ToGetHostedZoneResultOutputWithContext(ctx context.Context) GetHostedZoneResultOutput
- type GetSolutionStackArgs
- type GetSolutionStackOutputArgs
- type GetSolutionStackResult
- type GetSolutionStackResultOutput
- func (GetSolutionStackResultOutput) ElementType() reflect.Type
- func (o GetSolutionStackResultOutput) Id() pulumi.StringOutput
- func (o GetSolutionStackResultOutput) MostRecent() pulumi.BoolPtrOutput
- func (o GetSolutionStackResultOutput) Name() pulumi.StringOutput
- func (o GetSolutionStackResultOutput) NameRegex() pulumi.StringOutput
- func (o GetSolutionStackResultOutput) ToGetSolutionStackResultOutput() GetSolutionStackResultOutput
- func (o GetSolutionStackResultOutput) ToGetSolutionStackResultOutputWithContext(ctx context.Context) GetSolutionStackResultOutput
- type LookupApplicationArgs
- type LookupApplicationOutputArgs
- type LookupApplicationResult
- type LookupApplicationResultOutput
- func (o LookupApplicationResultOutput) AppversionLifecycle() GetApplicationAppversionLifecycleOutput
- func (o LookupApplicationResultOutput) Arn() pulumi.StringOutput
- func (o LookupApplicationResultOutput) Description() pulumi.StringOutput
- func (LookupApplicationResultOutput) ElementType() reflect.Type
- func (o LookupApplicationResultOutput) Id() pulumi.StringOutput
- func (o LookupApplicationResultOutput) Name() pulumi.StringOutput
- func (o LookupApplicationResultOutput) ToLookupApplicationResultOutput() LookupApplicationResultOutput
- func (o LookupApplicationResultOutput) ToLookupApplicationResultOutputWithContext(ctx context.Context) LookupApplicationResultOutput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Application ¶
type Application struct { pulumi.CustomResourceState AppversionLifecycle ApplicationAppversionLifecyclePtrOutput `pulumi:"appversionLifecycle"` // The ARN assigned by AWS for this Elastic Beanstalk Application. Arn pulumi.StringOutput `pulumi:"arn"` // Short description of the application Description pulumi.StringPtrOutput `pulumi:"description"` // The name of the application, must be unique within your account Name pulumi.StringOutput `pulumi:"name"` // Key-value map of tags for the Elastic Beanstalk Application. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapOutput `pulumi:"tags"` // A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. // // Deprecated: Please use `tags` instead. TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"` }
Provides an Elastic Beanstalk Application Resource. Elastic Beanstalk allows you to deploy and manage applications in the AWS cloud without worrying about the infrastructure that runs those applications.
This resource creates an application that has one configuration template named `default`, and no application versions
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/elasticbeanstalk" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := elasticbeanstalk.NewApplication(ctx, "tftest", &elasticbeanstalk.ApplicationArgs{ Name: pulumi.String("tf-test-name"), Description: pulumi.String("tf-test-desc"), AppversionLifecycle: &elasticbeanstalk.ApplicationAppversionLifecycleArgs{ ServiceRole: pulumi.Any(beanstalkService.Arn), MaxCount: pulumi.Int(128), DeleteSourceFromS3: pulumi.Bool(true), }, }) if err != nil { return err } return nil }) }
```
## Import
Using `pulumi import`, import Elastic Beanstalk Applications using the `name`. For example:
```sh
$ pulumi import aws:elasticbeanstalk/application:Application tf_test tf-test-name
```
func GetApplication ¶
func GetApplication(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ApplicationState, opts ...pulumi.ResourceOption) (*Application, error)
GetApplication gets an existing Application resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewApplication ¶
func NewApplication(ctx *pulumi.Context, name string, args *ApplicationArgs, opts ...pulumi.ResourceOption) (*Application, error)
NewApplication registers a new resource with the given unique name, arguments, and options.
func (*Application) ElementType ¶
func (*Application) ElementType() reflect.Type
func (*Application) ToApplicationOutput ¶
func (i *Application) ToApplicationOutput() ApplicationOutput
func (*Application) ToApplicationOutputWithContext ¶
func (i *Application) ToApplicationOutputWithContext(ctx context.Context) ApplicationOutput
type ApplicationAppversionLifecycle ¶
type ApplicationAppversionLifecycle struct { // Set to `true` to delete a version's source bundle from S3 when the application version is deleted. DeleteSourceFromS3 *bool `pulumi:"deleteSourceFromS3"` // The number of days to retain an application version ('max_age_in_days' and 'max_count' cannot be enabled simultaneously.). MaxAgeInDays *int `pulumi:"maxAgeInDays"` // The maximum number of application versions to retain ('max_age_in_days' and 'max_count' cannot be enabled simultaneously.). MaxCount *int `pulumi:"maxCount"` // The ARN of an IAM service role under which the application version is deleted. Elastic Beanstalk must have permission to assume this role. ServiceRole string `pulumi:"serviceRole"` }
type ApplicationAppversionLifecycleArgs ¶
type ApplicationAppversionLifecycleArgs struct { // Set to `true` to delete a version's source bundle from S3 when the application version is deleted. DeleteSourceFromS3 pulumi.BoolPtrInput `pulumi:"deleteSourceFromS3"` // The number of days to retain an application version ('max_age_in_days' and 'max_count' cannot be enabled simultaneously.). MaxAgeInDays pulumi.IntPtrInput `pulumi:"maxAgeInDays"` // The maximum number of application versions to retain ('max_age_in_days' and 'max_count' cannot be enabled simultaneously.). MaxCount pulumi.IntPtrInput `pulumi:"maxCount"` // The ARN of an IAM service role under which the application version is deleted. Elastic Beanstalk must have permission to assume this role. ServiceRole pulumi.StringInput `pulumi:"serviceRole"` }
func (ApplicationAppversionLifecycleArgs) ElementType ¶
func (ApplicationAppversionLifecycleArgs) 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 // Key-value map of tags for the Elastic Beanstalk Application. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput }
The set of arguments for constructing a Application resource.
func (ApplicationArgs) ElementType ¶
func (ApplicationArgs) ElementType() reflect.Type
type ApplicationArray ¶
type ApplicationArray []ApplicationInput
func (ApplicationArray) ElementType ¶
func (ApplicationArray) ElementType() reflect.Type
func (ApplicationArray) ToApplicationArrayOutput ¶
func (i ApplicationArray) ToApplicationArrayOutput() ApplicationArrayOutput
func (ApplicationArray) ToApplicationArrayOutputWithContext ¶
func (i ApplicationArray) ToApplicationArrayOutputWithContext(ctx context.Context) ApplicationArrayOutput
type ApplicationArrayInput ¶
type ApplicationArrayInput interface { pulumi.Input ToApplicationArrayOutput() ApplicationArrayOutput ToApplicationArrayOutputWithContext(context.Context) ApplicationArrayOutput }
ApplicationArrayInput is an input type that accepts ApplicationArray and ApplicationArrayOutput values. You can construct a concrete instance of `ApplicationArrayInput` via:
ApplicationArray{ ApplicationArgs{...} }
type ApplicationArrayOutput ¶
type ApplicationArrayOutput struct{ *pulumi.OutputState }
func (ApplicationArrayOutput) ElementType ¶
func (ApplicationArrayOutput) ElementType() reflect.Type
func (ApplicationArrayOutput) Index ¶
func (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) AppversionLifecycle ¶
func (o ApplicationOutput) AppversionLifecycle() ApplicationAppversionLifecyclePtrOutput
func (ApplicationOutput) Arn ¶
func (o ApplicationOutput) Arn() pulumi.StringOutput
The ARN assigned by AWS for this Elastic Beanstalk Application.
func (ApplicationOutput) Description ¶
func (o ApplicationOutput) Description() pulumi.StringPtrOutput
Short description of the application
func (ApplicationOutput) ElementType ¶
func (ApplicationOutput) ElementType() reflect.Type
func (ApplicationOutput) Name ¶
func (o ApplicationOutput) Name() pulumi.StringOutput
The name of the application, must be unique within your account
func (ApplicationOutput) Tags ¶
func (o ApplicationOutput) Tags() pulumi.StringMapOutput
Key-value map of tags for the Elastic Beanstalk Application. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
func (ApplicationOutput) TagsAll
deprecated
func (o ApplicationOutput) TagsAll() pulumi.StringMapOutput
A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
Deprecated: Please use `tags` instead.
func (ApplicationOutput) ToApplicationOutput ¶
func (o ApplicationOutput) ToApplicationOutput() ApplicationOutput
func (ApplicationOutput) ToApplicationOutputWithContext ¶
func (o ApplicationOutput) ToApplicationOutputWithContext(ctx context.Context) ApplicationOutput
type ApplicationState ¶
type ApplicationState struct { AppversionLifecycle ApplicationAppversionLifecyclePtrInput // The ARN assigned by AWS for this Elastic Beanstalk Application. Arn pulumi.StringPtrInput // Short description of the application Description pulumi.StringPtrInput // The name of the application, must be unique within your account Name pulumi.StringPtrInput // Key-value map of tags for the Elastic Beanstalk Application. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput // A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. // // Deprecated: Please use `tags` instead. TagsAll pulumi.StringMapInput }
func (ApplicationState) ElementType ¶
func (ApplicationState) ElementType() reflect.Type
type ApplicationVersion ¶
type ApplicationVersion struct { pulumi.CustomResourceState // Name of the Beanstalk Application the version is associated with. Application pulumi.StringOutput `pulumi:"application"` // ARN assigned by AWS for this Elastic Beanstalk Application. Arn pulumi.StringOutput `pulumi:"arn"` // S3 bucket that contains the Application Version source bundle. Bucket pulumi.StringOutput `pulumi:"bucket"` // Short description of the Application Version. Description pulumi.StringPtrOutput `pulumi:"description"` // On delete, force an Application Version to be deleted when it may be in use by multiple Elastic Beanstalk Environments. ForceDelete pulumi.BoolPtrOutput `pulumi:"forceDelete"` // S3 object that is the Application Version source bundle. Key pulumi.StringOutput `pulumi:"key"` // Unique name for the this Application Version. // // The following arguments are optional: Name pulumi.StringOutput `pulumi:"name"` // Key-value map of tags for the Elastic Beanstalk Application Version. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapOutput `pulumi:"tags"` // Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. // // Deprecated: Please use `tags` instead. TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"` }
Provides an Elastic Beanstalk Application Version Resource. Elastic Beanstalk allows you to deploy and manage applications in the AWS cloud without worrying about the infrastructure that runs those applications.
This resource creates a Beanstalk Application Version that can be deployed to a Beanstalk Environment.
> **NOTE on Application Version Resource:** When using the Application Version resource with multiple Elastic Beanstalk Environments it is possible that an error may be returned when attempting to delete an Application Version while it is still in use by a different environment. To work around this you can either create each environment in a separate AWS account or create your `elasticbeanstalk.ApplicationVersion` resources with a unique names in your Elastic Beanstalk Application. For example <revision>-<environment>.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/elasticbeanstalk" "github.com/pulumi/pulumi-aws/sdk/v6/go/aws/s3" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := s3.NewBucketV2(ctx, "default", &s3.BucketV2Args{ Bucket: pulumi.String("tftest.applicationversion.bucket"), }) if err != nil { return err } defaultBucketObjectv2, err := s3.NewBucketObjectv2(ctx, "default", &s3.BucketObjectv2Args{ Bucket: _default.ID(), Key: pulumi.String("beanstalk/go-v1.zip"), Source: pulumi.NewFileAsset("go-v1.zip"), }) if err != nil { return err } _, err = elasticbeanstalk.NewApplication(ctx, "default", &elasticbeanstalk.ApplicationArgs{ Name: pulumi.String("tf-test-name"), Description: pulumi.String("tf-test-desc"), }) if err != nil { return err } _, err = elasticbeanstalk.NewApplicationVersion(ctx, "default", &elasticbeanstalk.ApplicationVersionArgs{ Name: pulumi.String("tf-test-version-label"), Application: pulumi.Any("tf-test-name"), Description: pulumi.String("application version"), Bucket: _default.ID(), Key: defaultBucketObjectv2.ID(), }) if err != nil { return err } return nil }) }
```
func GetApplicationVersion ¶
func GetApplicationVersion(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ApplicationVersionState, opts ...pulumi.ResourceOption) (*ApplicationVersion, error)
GetApplicationVersion gets an existing ApplicationVersion resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewApplicationVersion ¶
func NewApplicationVersion(ctx *pulumi.Context, name string, args *ApplicationVersionArgs, opts ...pulumi.ResourceOption) (*ApplicationVersion, error)
NewApplicationVersion registers a new resource with the given unique name, arguments, and options.
func (*ApplicationVersion) ElementType ¶
func (*ApplicationVersion) ElementType() reflect.Type
func (*ApplicationVersion) ToApplicationVersionOutput ¶
func (i *ApplicationVersion) ToApplicationVersionOutput() ApplicationVersionOutput
func (*ApplicationVersion) ToApplicationVersionOutputWithContext ¶
func (i *ApplicationVersion) ToApplicationVersionOutputWithContext(ctx context.Context) ApplicationVersionOutput
type ApplicationVersionArgs ¶
type ApplicationVersionArgs struct { // Name of the Beanstalk Application the version is associated with. Application pulumi.Input // S3 bucket that contains the Application Version source bundle. Bucket pulumi.Input // Short description of the Application Version. Description pulumi.StringPtrInput // On delete, force an Application Version to be deleted when it may be in use by multiple Elastic Beanstalk Environments. ForceDelete pulumi.BoolPtrInput // S3 object that is the Application Version source bundle. Key pulumi.StringInput // Unique name for the this Application Version. // // The following arguments are optional: Name pulumi.StringPtrInput // Key-value map of tags for the Elastic Beanstalk Application Version. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput }
The set of arguments for constructing a ApplicationVersion resource.
func (ApplicationVersionArgs) ElementType ¶
func (ApplicationVersionArgs) ElementType() reflect.Type
type ApplicationVersionArray ¶
type ApplicationVersionArray []ApplicationVersionInput
func (ApplicationVersionArray) ElementType ¶
func (ApplicationVersionArray) ElementType() reflect.Type
func (ApplicationVersionArray) ToApplicationVersionArrayOutput ¶
func (i ApplicationVersionArray) ToApplicationVersionArrayOutput() ApplicationVersionArrayOutput
func (ApplicationVersionArray) ToApplicationVersionArrayOutputWithContext ¶
func (i ApplicationVersionArray) ToApplicationVersionArrayOutputWithContext(ctx context.Context) ApplicationVersionArrayOutput
type ApplicationVersionArrayInput ¶
type ApplicationVersionArrayInput interface { pulumi.Input ToApplicationVersionArrayOutput() ApplicationVersionArrayOutput ToApplicationVersionArrayOutputWithContext(context.Context) ApplicationVersionArrayOutput }
ApplicationVersionArrayInput is an input type that accepts ApplicationVersionArray and ApplicationVersionArrayOutput values. You can construct a concrete instance of `ApplicationVersionArrayInput` via:
ApplicationVersionArray{ ApplicationVersionArgs{...} }
type ApplicationVersionArrayOutput ¶
type ApplicationVersionArrayOutput struct{ *pulumi.OutputState }
func (ApplicationVersionArrayOutput) ElementType ¶
func (ApplicationVersionArrayOutput) 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) Application ¶
func (o ApplicationVersionOutput) Application() pulumi.StringOutput
Name of the Beanstalk Application the version is associated with.
func (ApplicationVersionOutput) Arn ¶
func (o ApplicationVersionOutput) Arn() pulumi.StringOutput
ARN assigned by AWS for this Elastic Beanstalk Application.
func (ApplicationVersionOutput) Bucket ¶
func (o ApplicationVersionOutput) Bucket() pulumi.StringOutput
S3 bucket that contains the Application Version source bundle.
func (ApplicationVersionOutput) Description ¶
func (o ApplicationVersionOutput) Description() pulumi.StringPtrOutput
Short description of the Application Version.
func (ApplicationVersionOutput) ElementType ¶
func (ApplicationVersionOutput) ElementType() reflect.Type
func (ApplicationVersionOutput) ForceDelete ¶
func (o ApplicationVersionOutput) ForceDelete() pulumi.BoolPtrOutput
On delete, force an Application Version to be deleted when it may be in use by multiple Elastic Beanstalk Environments.
func (ApplicationVersionOutput) Key ¶
func (o ApplicationVersionOutput) Key() pulumi.StringOutput
S3 object that is the Application Version source bundle.
func (ApplicationVersionOutput) Name ¶
func (o ApplicationVersionOutput) Name() pulumi.StringOutput
Unique name for the this Application Version.
The following arguments are optional:
func (ApplicationVersionOutput) Tags ¶
func (o ApplicationVersionOutput) Tags() pulumi.StringMapOutput
Key-value map of tags for the Elastic Beanstalk Application Version. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
func (ApplicationVersionOutput) TagsAll
deprecated
func (o ApplicationVersionOutput) TagsAll() pulumi.StringMapOutput
Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
Deprecated: Please use `tags` instead.
func (ApplicationVersionOutput) ToApplicationVersionOutput ¶
func (o ApplicationVersionOutput) ToApplicationVersionOutput() ApplicationVersionOutput
func (ApplicationVersionOutput) ToApplicationVersionOutputWithContext ¶
func (o ApplicationVersionOutput) ToApplicationVersionOutputWithContext(ctx context.Context) ApplicationVersionOutput
type ApplicationVersionState ¶
type ApplicationVersionState struct { // Name of the Beanstalk Application the version is associated with. Application pulumi.Input // ARN assigned by AWS for this Elastic Beanstalk Application. Arn pulumi.StringPtrInput // S3 bucket that contains the Application Version source bundle. Bucket pulumi.Input // Short description of the Application Version. Description pulumi.StringPtrInput // On delete, force an Application Version to be deleted when it may be in use by multiple Elastic Beanstalk Environments. ForceDelete pulumi.BoolPtrInput // S3 object that is the Application Version source bundle. Key pulumi.StringPtrInput // Unique name for the this Application Version. // // The following arguments are optional: Name pulumi.StringPtrInput // Key-value map of tags for the Elastic Beanstalk Application Version. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput // Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. // // Deprecated: Please use `tags` instead. TagsAll pulumi.StringMapInput }
func (ApplicationVersionState) ElementType ¶
func (ApplicationVersionState) ElementType() reflect.Type
type ConfigurationTemplate ¶
type ConfigurationTemplate struct { pulumi.CustomResourceState // name of the application to associate with this configuration template Application pulumi.StringOutput `pulumi:"application"` // Short description of the Template Description pulumi.StringPtrOutput `pulumi:"description"` // The ID of the environment used with this configuration template EnvironmentId pulumi.StringPtrOutput `pulumi:"environmentId"` // A unique name for this Template. Name pulumi.StringOutput `pulumi:"name"` // Option settings to configure the new Environment. These // override specific values that are set as defaults. The format is detailed // below in Option Settings Settings ConfigurationTemplateSettingArrayOutput `pulumi:"settings"` // A solution stack to base your Template // off of. Example stacks can be found in the [Amazon API documentation][1] SolutionStackName pulumi.StringPtrOutput `pulumi:"solutionStackName"` }
Provides an Elastic Beanstalk Configuration Template, which are associated with a specific application and are used to deploy different versions of the application with the same configuration settings.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/elasticbeanstalk" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { tftest, err := elasticbeanstalk.NewApplication(ctx, "tftest", &elasticbeanstalk.ApplicationArgs{ Name: pulumi.String("tf-test-name"), Description: pulumi.String("tf-test-desc"), }) if err != nil { return err } _, err = elasticbeanstalk.NewConfigurationTemplate(ctx, "my_template", &elasticbeanstalk.ConfigurationTemplateArgs{ Name: pulumi.String("tf-test-template-config"), Application: tftest.Name, SolutionStackName: pulumi.String("64bit Amazon Linux 2015.09 v2.0.8 running Go 1.4"), }) if err != nil { return err } return nil }) }
``` ## Option Settings
The `setting` field supports the following format:
* `namespace` - unique namespace identifying the option's associated AWS resource * `name` - name of the configuration option * `value` - value for the configuration option * `resource` - (Optional) resource name for [scheduled action](https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/command-options-general.html#command-options-general-autoscalingscheduledaction)
func GetConfigurationTemplate ¶
func GetConfigurationTemplate(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ConfigurationTemplateState, opts ...pulumi.ResourceOption) (*ConfigurationTemplate, error)
GetConfigurationTemplate gets an existing ConfigurationTemplate resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewConfigurationTemplate ¶
func NewConfigurationTemplate(ctx *pulumi.Context, name string, args *ConfigurationTemplateArgs, opts ...pulumi.ResourceOption) (*ConfigurationTemplate, error)
NewConfigurationTemplate registers a new resource with the given unique name, arguments, and options.
func (*ConfigurationTemplate) ElementType ¶
func (*ConfigurationTemplate) ElementType() reflect.Type
func (*ConfigurationTemplate) ToConfigurationTemplateOutput ¶
func (i *ConfigurationTemplate) ToConfigurationTemplateOutput() ConfigurationTemplateOutput
func (*ConfigurationTemplate) ToConfigurationTemplateOutputWithContext ¶
func (i *ConfigurationTemplate) ToConfigurationTemplateOutputWithContext(ctx context.Context) ConfigurationTemplateOutput
type ConfigurationTemplateArgs ¶
type ConfigurationTemplateArgs struct { // name of the application to associate with this configuration template Application pulumi.StringInput // Short description of the Template Description pulumi.StringPtrInput // The ID of the environment used with this configuration template EnvironmentId pulumi.StringPtrInput // A unique name for this Template. Name pulumi.StringPtrInput // Option settings to configure the new Environment. These // override specific values that are set as defaults. The format is detailed // below in Option Settings Settings ConfigurationTemplateSettingArrayInput // A solution stack to base your Template // off of. Example stacks can be found in the [Amazon API documentation][1] SolutionStackName pulumi.StringPtrInput }
The set of arguments for constructing a ConfigurationTemplate resource.
func (ConfigurationTemplateArgs) ElementType ¶
func (ConfigurationTemplateArgs) ElementType() reflect.Type
type ConfigurationTemplateArray ¶
type ConfigurationTemplateArray []ConfigurationTemplateInput
func (ConfigurationTemplateArray) ElementType ¶
func (ConfigurationTemplateArray) ElementType() reflect.Type
func (ConfigurationTemplateArray) ToConfigurationTemplateArrayOutput ¶
func (i ConfigurationTemplateArray) ToConfigurationTemplateArrayOutput() ConfigurationTemplateArrayOutput
func (ConfigurationTemplateArray) ToConfigurationTemplateArrayOutputWithContext ¶
func (i ConfigurationTemplateArray) ToConfigurationTemplateArrayOutputWithContext(ctx context.Context) ConfigurationTemplateArrayOutput
type ConfigurationTemplateArrayInput ¶
type ConfigurationTemplateArrayInput interface { pulumi.Input ToConfigurationTemplateArrayOutput() ConfigurationTemplateArrayOutput ToConfigurationTemplateArrayOutputWithContext(context.Context) ConfigurationTemplateArrayOutput }
ConfigurationTemplateArrayInput is an input type that accepts ConfigurationTemplateArray and ConfigurationTemplateArrayOutput values. You can construct a concrete instance of `ConfigurationTemplateArrayInput` via:
ConfigurationTemplateArray{ ConfigurationTemplateArgs{...} }
type ConfigurationTemplateArrayOutput ¶
type ConfigurationTemplateArrayOutput struct{ *pulumi.OutputState }
func (ConfigurationTemplateArrayOutput) ElementType ¶
func (ConfigurationTemplateArrayOutput) 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) Application ¶
func (o ConfigurationTemplateOutput) Application() pulumi.StringOutput
name of the application to associate with this configuration template
func (ConfigurationTemplateOutput) Description ¶
func (o ConfigurationTemplateOutput) Description() pulumi.StringPtrOutput
Short description of the Template
func (ConfigurationTemplateOutput) ElementType ¶
func (ConfigurationTemplateOutput) ElementType() reflect.Type
func (ConfigurationTemplateOutput) EnvironmentId ¶
func (o ConfigurationTemplateOutput) EnvironmentId() pulumi.StringPtrOutput
The ID of the environment used with this configuration template
func (ConfigurationTemplateOutput) Name ¶
func (o ConfigurationTemplateOutput) Name() pulumi.StringOutput
A unique name for this Template.
func (ConfigurationTemplateOutput) Settings ¶
func (o ConfigurationTemplateOutput) Settings() ConfigurationTemplateSettingArrayOutput
Option settings to configure the new Environment. These override specific values that are set as defaults. The format is detailed below in Option Settings
func (ConfigurationTemplateOutput) SolutionStackName ¶
func (o ConfigurationTemplateOutput) SolutionStackName() pulumi.StringPtrOutput
A solution stack to base your Template off of. Example stacks can be found in the [Amazon API documentation][1]
func (ConfigurationTemplateOutput) ToConfigurationTemplateOutput ¶
func (o ConfigurationTemplateOutput) ToConfigurationTemplateOutput() ConfigurationTemplateOutput
func (ConfigurationTemplateOutput) ToConfigurationTemplateOutputWithContext ¶
func (o ConfigurationTemplateOutput) ToConfigurationTemplateOutputWithContext(ctx context.Context) ConfigurationTemplateOutput
type 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][1] SolutionStackName pulumi.StringPtrInput }
func (ConfigurationTemplateState) ElementType ¶
func (ConfigurationTemplateState) ElementType() reflect.Type
type Environment ¶
type Environment struct { pulumi.CustomResourceState // List of all option settings configured in this Environment. These // are a combination of default settings and their overrides from `setting` in // the configuration. AllSettings EnvironmentAllSettingArrayOutput `pulumi:"allSettings"` // Name of the application that contains the version // to be deployed Application pulumi.StringOutput `pulumi:"application"` Arn pulumi.StringOutput `pulumi:"arn"` // The autoscaling groups used by this Environment. AutoscalingGroups pulumi.StringArrayOutput `pulumi:"autoscalingGroups"` // Fully qualified DNS name for this Environment. Cname pulumi.StringOutput `pulumi:"cname"` // Prefix to use for the fully qualified DNS name of // the Environment. CnamePrefix pulumi.StringOutput `pulumi:"cnamePrefix"` // Short description of the Environment Description pulumi.StringPtrOutput `pulumi:"description"` // The URL to the Load Balancer for this Environment EndpointUrl pulumi.StringOutput `pulumi:"endpointUrl"` // Instances used by this Environment. Instances pulumi.StringArrayOutput `pulumi:"instances"` // Launch configurations in use by this Environment. LaunchConfigurations pulumi.StringArrayOutput `pulumi:"launchConfigurations"` // Elastic load balancers in use by this Environment. LoadBalancers pulumi.StringArrayOutput `pulumi:"loadBalancers"` // A unique name for this Environment. This name is used // in the application URL Name pulumi.StringOutput `pulumi:"name"` // The [ARN](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) of the Elastic Beanstalk [Platform](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-beanstalk-environment.html#cfn-beanstalk-environment-platformarn) // to use in deployment PlatformArn pulumi.StringOutput `pulumi:"platformArn"` // The time between polling the AWS API to // check if changes have been applied. Use this to adjust the rate of API calls // for any `create` or `update` action. Minimum `10s`, maximum `180s`. Omit this to // use the default behavior, which is an exponential backoff PollInterval pulumi.StringPtrOutput `pulumi:"pollInterval"` // SQS queues in use by this Environment. Queues pulumi.StringArrayOutput `pulumi:"queues"` // Option settings to configure the new Environment. These // override specific values that are set as defaults. The format is detailed // below in Option Settings Settings EnvironmentSettingArrayOutput `pulumi:"settings"` // A solution stack to base your environment // off of. Example stacks can be found in the [Amazon API documentation](https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/concepts.platforms.html) SolutionStackName pulumi.StringOutput `pulumi:"solutionStackName"` // A set of tags to apply to the Environment. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapOutput `pulumi:"tags"` // A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. // // Deprecated: Please use `tags` instead. TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"` // The name of the Elastic Beanstalk Configuration // template to use in deployment TemplateName pulumi.StringPtrOutput `pulumi:"templateName"` // Elastic Beanstalk Environment tier. Valid values are `Worker` // or `WebServer`. If tier is left blank `WebServer` will be used. Tier pulumi.StringPtrOutput `pulumi:"tier"` // Autoscaling triggers in use by this Environment. Triggers pulumi.StringArrayOutput `pulumi:"triggers"` // The name of the Elastic Beanstalk Application Version // to use in deployment. Version pulumi.StringOutput `pulumi:"version"` // The maximum // [duration](https://golang.org/pkg/time/#ParseDuration) that this provider should // wait for an Elastic Beanstalk Environment to be in a ready state before timing // out. WaitForReadyTimeout pulumi.StringPtrOutput `pulumi:"waitForReadyTimeout"` }
Provides an Elastic Beanstalk Environment Resource. Elastic Beanstalk allows you to deploy and manage applications in the AWS cloud without worrying about the infrastructure that runs those applications.
Environments are often things such as `development`, `integration`, or `production`.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/elasticbeanstalk" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { tftest, err := elasticbeanstalk.NewApplication(ctx, "tftest", &elasticbeanstalk.ApplicationArgs{ Name: pulumi.String("tf-test-name"), Description: pulumi.String("tf-test-desc"), }) if err != nil { return err } _, err = elasticbeanstalk.NewEnvironment(ctx, "tfenvtest", &elasticbeanstalk.EnvironmentArgs{ Name: pulumi.String("tf-test-name"), Application: tftest.Name, SolutionStackName: pulumi.String("64bit Amazon Linux 2015.03 v2.0.3 running Go 1.4"), }) if err != nil { return err } return nil }) }
``` ## Option Settings
Some options can be stack-specific, check [AWS Docs](https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/command-options-general.html) for supported options and examples.
The `setting` and `allSettings` mappings support the following format:
* `namespace` - unique namespace identifying the option's associated AWS resource * `name` - name of the configuration option * `value` - value for the configuration option * `resource` - (Optional) resource name for [scheduled action](https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/command-options-general.html#command-options-general-autoscalingscheduledaction)
### Example With Options
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/elasticbeanstalk" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { tftest, err := elasticbeanstalk.NewApplication(ctx, "tftest", &elasticbeanstalk.ApplicationArgs{ Name: pulumi.String("tf-test-name"), Description: pulumi.String("tf-test-desc"), }) if err != nil { return err } _, err = elasticbeanstalk.NewEnvironment(ctx, "tfenvtest", &elasticbeanstalk.EnvironmentArgs{ Name: pulumi.String("tf-test-name"), Application: tftest.Name, SolutionStackName: pulumi.String("64bit Amazon Linux 2015.03 v2.0.3 running Go 1.4"), Settings: elasticbeanstalk.EnvironmentSettingArray{ &elasticbeanstalk.EnvironmentSettingArgs{ Namespace: pulumi.String("aws:ec2:vpc"), Name: pulumi.String("VPCId"), Value: pulumi.String("vpc-xxxxxxxx"), }, &elasticbeanstalk.EnvironmentSettingArgs{ Namespace: pulumi.String("aws:ec2:vpc"), Name: pulumi.String("Subnets"), Value: pulumi.String("subnet-xxxxxxxx"), }, }, }) if err != nil { return err } return nil }) }
```
## Import
Using `pulumi import`, import Elastic Beanstalk Environments using the `id`. For example:
```sh
$ pulumi import aws:elasticbeanstalk/environment:Environment prodenv e-rpqsewtp2j
```
func GetEnvironment ¶
func GetEnvironment(ctx *pulumi.Context, name string, id pulumi.IDInput, state *EnvironmentState, opts ...pulumi.ResourceOption) (*Environment, error)
GetEnvironment gets an existing Environment resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewEnvironment ¶
func NewEnvironment(ctx *pulumi.Context, name string, args *EnvironmentArgs, opts ...pulumi.ResourceOption) (*Environment, error)
NewEnvironment registers a new resource with the given unique name, arguments, and options.
func (*Environment) ElementType ¶
func (*Environment) ElementType() reflect.Type
func (*Environment) ToEnvironmentOutput ¶
func (i *Environment) ToEnvironmentOutput() EnvironmentOutput
func (*Environment) ToEnvironmentOutputWithContext ¶
func (i *Environment) ToEnvironmentOutputWithContext(ctx context.Context) EnvironmentOutput
type EnvironmentAllSetting ¶
type 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 // A set of tags to apply to the Environment. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput // The name of the Elastic Beanstalk Configuration // template to use in deployment TemplateName pulumi.StringPtrInput // Elastic Beanstalk Environment tier. Valid values are `Worker` // or `WebServer`. If tier is left blank `WebServer` will be used. Tier pulumi.StringPtrInput // The name of the Elastic Beanstalk Application Version // to use in deployment. Version pulumi.StringPtrInput // The maximum // [duration](https://golang.org/pkg/time/#ParseDuration) that this provider should // wait for an Elastic Beanstalk Environment to be in a ready state before timing // out. WaitForReadyTimeout pulumi.StringPtrInput }
The set of arguments for constructing a Environment resource.
func (EnvironmentArgs) ElementType ¶
func (EnvironmentArgs) ElementType() reflect.Type
type EnvironmentArray ¶
type EnvironmentArray []EnvironmentInput
func (EnvironmentArray) ElementType ¶
func (EnvironmentArray) ElementType() reflect.Type
func (EnvironmentArray) ToEnvironmentArrayOutput ¶
func (i EnvironmentArray) ToEnvironmentArrayOutput() EnvironmentArrayOutput
func (EnvironmentArray) ToEnvironmentArrayOutputWithContext ¶
func (i EnvironmentArray) ToEnvironmentArrayOutputWithContext(ctx context.Context) EnvironmentArrayOutput
type EnvironmentArrayInput ¶
type EnvironmentArrayInput interface { pulumi.Input ToEnvironmentArrayOutput() EnvironmentArrayOutput ToEnvironmentArrayOutputWithContext(context.Context) EnvironmentArrayOutput }
EnvironmentArrayInput is an input type that accepts EnvironmentArray and EnvironmentArrayOutput values. You can construct a concrete instance of `EnvironmentArrayInput` via:
EnvironmentArray{ EnvironmentArgs{...} }
type EnvironmentArrayOutput ¶
type EnvironmentArrayOutput struct{ *pulumi.OutputState }
func (EnvironmentArrayOutput) ElementType ¶
func (EnvironmentArrayOutput) ElementType() reflect.Type
func (EnvironmentArrayOutput) Index ¶
func (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) AllSettings ¶
func (o EnvironmentOutput) AllSettings() EnvironmentAllSettingArrayOutput
List of all option settings configured in this Environment. These are a combination of default settings and their overrides from `setting` in the configuration.
func (EnvironmentOutput) Application ¶
func (o EnvironmentOutput) Application() pulumi.StringOutput
Name of the application that contains the version to be deployed
func (EnvironmentOutput) Arn ¶
func (o EnvironmentOutput) Arn() pulumi.StringOutput
func (EnvironmentOutput) AutoscalingGroups ¶
func (o EnvironmentOutput) AutoscalingGroups() pulumi.StringArrayOutput
The autoscaling groups used by this Environment.
func (EnvironmentOutput) Cname ¶
func (o EnvironmentOutput) Cname() pulumi.StringOutput
Fully qualified DNS name for this Environment.
func (EnvironmentOutput) CnamePrefix ¶
func (o EnvironmentOutput) CnamePrefix() pulumi.StringOutput
Prefix to use for the fully qualified DNS name of the Environment.
func (EnvironmentOutput) Description ¶
func (o EnvironmentOutput) Description() pulumi.StringPtrOutput
Short description of the Environment
func (EnvironmentOutput) ElementType ¶
func (EnvironmentOutput) ElementType() reflect.Type
func (EnvironmentOutput) EndpointUrl ¶
func (o EnvironmentOutput) EndpointUrl() pulumi.StringOutput
The URL to the Load Balancer for this Environment
func (EnvironmentOutput) Instances ¶
func (o EnvironmentOutput) Instances() pulumi.StringArrayOutput
Instances used by this Environment.
func (EnvironmentOutput) LaunchConfigurations ¶
func (o EnvironmentOutput) LaunchConfigurations() pulumi.StringArrayOutput
Launch configurations in use by this Environment.
func (EnvironmentOutput) LoadBalancers ¶
func (o EnvironmentOutput) LoadBalancers() pulumi.StringArrayOutput
Elastic load balancers in use by this Environment.
func (EnvironmentOutput) Name ¶
func (o EnvironmentOutput) Name() pulumi.StringOutput
A unique name for this Environment. This name is used in the application URL
func (EnvironmentOutput) PlatformArn ¶
func (o EnvironmentOutput) PlatformArn() pulumi.StringOutput
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
func (EnvironmentOutput) PollInterval ¶
func (o EnvironmentOutput) PollInterval() pulumi.StringPtrOutput
The time between polling the AWS API to check if changes have been applied. Use this to adjust the rate of API calls for any `create` or `update` action. Minimum `10s`, maximum `180s`. Omit this to use the default behavior, which is an exponential backoff
func (EnvironmentOutput) Queues ¶
func (o EnvironmentOutput) Queues() pulumi.StringArrayOutput
SQS queues in use by this Environment.
func (EnvironmentOutput) Settings ¶
func (o EnvironmentOutput) Settings() EnvironmentSettingArrayOutput
Option settings to configure the new Environment. These override specific values that are set as defaults. The format is detailed below in Option Settings
func (EnvironmentOutput) SolutionStackName ¶
func (o EnvironmentOutput) SolutionStackName() pulumi.StringOutput
A solution stack to base your environment off of. Example stacks can be found in the [Amazon API documentation](https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/concepts.platforms.html)
func (EnvironmentOutput) Tags ¶
func (o EnvironmentOutput) Tags() pulumi.StringMapOutput
A set of tags to apply to the Environment. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
func (EnvironmentOutput) TagsAll
deprecated
func (o EnvironmentOutput) TagsAll() pulumi.StringMapOutput
A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
Deprecated: Please use `tags` instead.
func (EnvironmentOutput) TemplateName ¶
func (o EnvironmentOutput) TemplateName() pulumi.StringPtrOutput
The name of the Elastic Beanstalk Configuration template to use in deployment
func (EnvironmentOutput) Tier ¶
func (o EnvironmentOutput) Tier() pulumi.StringPtrOutput
Elastic Beanstalk Environment tier. Valid values are `Worker` or `WebServer`. If tier is left blank `WebServer` will be used.
func (EnvironmentOutput) ToEnvironmentOutput ¶
func (o EnvironmentOutput) ToEnvironmentOutput() EnvironmentOutput
func (EnvironmentOutput) ToEnvironmentOutputWithContext ¶
func (o EnvironmentOutput) ToEnvironmentOutputWithContext(ctx context.Context) EnvironmentOutput
func (EnvironmentOutput) Triggers ¶
func (o EnvironmentOutput) Triggers() pulumi.StringArrayOutput
Autoscaling triggers in use by this Environment.
func (EnvironmentOutput) Version ¶
func (o EnvironmentOutput) Version() pulumi.StringOutput
The name of the Elastic Beanstalk Application Version to use in deployment.
func (EnvironmentOutput) WaitForReadyTimeout ¶
func (o EnvironmentOutput) WaitForReadyTimeout() pulumi.StringPtrOutput
The maximum [duration](https://golang.org/pkg/time/#ParseDuration) that this provider should wait for an Elastic Beanstalk Environment to be in a ready state before timing out.
type EnvironmentSetting ¶
type 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 // A set of tags to apply to the Environment. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput // A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. // // Deprecated: Please use `tags` instead. TagsAll pulumi.StringMapInput // The name of the Elastic Beanstalk Configuration // template to use in deployment TemplateName pulumi.StringPtrInput // Elastic Beanstalk Environment tier. Valid values are `Worker` // or `WebServer`. If tier is left blank `WebServer` will be used. Tier pulumi.StringPtrInput // Autoscaling triggers in use by this Environment. Triggers pulumi.StringArrayInput // The name of the Elastic Beanstalk Application Version // to use in deployment. Version pulumi.StringPtrInput // The maximum // [duration](https://golang.org/pkg/time/#ParseDuration) that this provider should // wait for an Elastic Beanstalk Environment to be in a ready state before timing // out. WaitForReadyTimeout pulumi.StringPtrInput }
func (EnvironmentState) ElementType ¶
func (EnvironmentState) ElementType() reflect.Type
type GetApplicationAppversionLifecycle ¶
type GetApplicationAppversionLifecycle struct { // Specifies whether delete a version's source bundle from S3 when the application version is deleted. DeleteSourceFromS3 bool `pulumi:"deleteSourceFromS3"` // Number of days to retain an application version. MaxAgeInDays int `pulumi:"maxAgeInDays"` // Maximum number of application versions to retain. MaxCount int `pulumi:"maxCount"` // ARN of an IAM service role under which the application version is deleted. Elastic Beanstalk must have permission to assume this role. ServiceRole string `pulumi:"serviceRole"` }
type GetApplicationAppversionLifecycleArgs ¶
type GetApplicationAppversionLifecycleArgs struct { // Specifies whether delete a version's source bundle from S3 when the application version is deleted. DeleteSourceFromS3 pulumi.BoolInput `pulumi:"deleteSourceFromS3"` // Number of days to retain an application version. MaxAgeInDays pulumi.IntInput `pulumi:"maxAgeInDays"` // Maximum number of application versions to retain. MaxCount pulumi.IntInput `pulumi:"maxCount"` // ARN of an IAM service role under which the application version is deleted. Elastic Beanstalk must have permission to assume this role. ServiceRole pulumi.StringInput `pulumi:"serviceRole"` }
func (GetApplicationAppversionLifecycleArgs) ElementType ¶
func (GetApplicationAppversionLifecycleArgs) 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
Number of days to retain an application version.
func (GetApplicationAppversionLifecycleOutput) MaxCount ¶
func (o GetApplicationAppversionLifecycleOutput) MaxCount() pulumi.IntOutput
Maximum number of application versions to retain.
func (GetApplicationAppversionLifecycleOutput) ServiceRole ¶
func (o GetApplicationAppversionLifecycleOutput) ServiceRole() pulumi.StringOutput
ARN of an IAM service role under which the application version is deleted. Elastic Beanstalk must have permission to assume this role.
func (GetApplicationAppversionLifecycleOutput) ToGetApplicationAppversionLifecycleOutput ¶
func (o GetApplicationAppversionLifecycleOutput) ToGetApplicationAppversionLifecycleOutput() GetApplicationAppversionLifecycleOutput
func (GetApplicationAppversionLifecycleOutput) ToGetApplicationAppversionLifecycleOutputWithContext ¶
func (o GetApplicationAppversionLifecycleOutput) ToGetApplicationAppversionLifecycleOutputWithContext(ctx context.Context) GetApplicationAppversionLifecycleOutput
type GetHostedZoneArgs ¶
type GetHostedZoneArgs struct { // Region you'd like the zone for. By default, fetches the current region. Region *string `pulumi:"region"` }
A collection of arguments for invoking getHostedZone.
type GetHostedZoneOutputArgs ¶
type GetHostedZoneOutputArgs struct { // Region you'd like the zone for. By default, fetches the current region. Region pulumi.StringPtrInput `pulumi:"region"` }
A collection of arguments for invoking getHostedZone.
func (GetHostedZoneOutputArgs) ElementType ¶
func (GetHostedZoneOutputArgs) ElementType() reflect.Type
type GetHostedZoneResult ¶
type GetHostedZoneResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // Region of the hosted zone. Region *string `pulumi:"region"` }
A collection of values returned by getHostedZone.
func GetHostedZone ¶
func GetHostedZone(ctx *pulumi.Context, args *GetHostedZoneArgs, opts ...pulumi.InvokeOption) (*GetHostedZoneResult, error)
Use this data source to get the ID of an [elastic beanstalk hosted zone](http://docs.aws.amazon.com/general/latest/gr/rande.html#elasticbeanstalk_region).
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/elasticbeanstalk" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := elasticbeanstalk.GetHostedZone(ctx, nil, nil) if err != nil { return err } return nil }) }
```
type GetHostedZoneResultOutput ¶
type GetHostedZoneResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getHostedZone.
func GetHostedZoneOutput ¶
func GetHostedZoneOutput(ctx *pulumi.Context, args GetHostedZoneOutputArgs, opts ...pulumi.InvokeOption) GetHostedZoneResultOutput
func (GetHostedZoneResultOutput) ElementType ¶
func (GetHostedZoneResultOutput) ElementType() reflect.Type
func (GetHostedZoneResultOutput) Id ¶
func (o GetHostedZoneResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetHostedZoneResultOutput) Region ¶
func (o GetHostedZoneResultOutput) Region() pulumi.StringPtrOutput
Region of the hosted zone.
func (GetHostedZoneResultOutput) ToGetHostedZoneResultOutput ¶
func (o GetHostedZoneResultOutput) ToGetHostedZoneResultOutput() GetHostedZoneResultOutput
func (GetHostedZoneResultOutput) ToGetHostedZoneResultOutputWithContext ¶
func (o GetHostedZoneResultOutput) ToGetHostedZoneResultOutputWithContext(ctx context.Context) GetHostedZoneResultOutput
type GetSolutionStackArgs ¶
type GetSolutionStackArgs struct { // If more than one result is returned, use the most // recent solution stack. MostRecent *bool `pulumi:"mostRecent"` // Regex string to apply to the solution stack list returned // by AWS. See [Elastic Beanstalk Supported Platforms][beanstalk-platforms] from // AWS documentation for reference solution stack names. // // > **NOTE:** If more or less than a single match is returned by the search, // this call will fail. Ensure that your search is specific enough to return // a single solution stack, or use `mostRecent` to choose the most recent one. NameRegex string `pulumi:"nameRegex"` }
A collection of arguments for invoking getSolutionStack.
type GetSolutionStackOutputArgs ¶
type GetSolutionStackOutputArgs struct { // If more than one result is returned, use the most // recent solution stack. MostRecent pulumi.BoolPtrInput `pulumi:"mostRecent"` // Regex string to apply to the solution stack list returned // by AWS. See [Elastic Beanstalk Supported Platforms][beanstalk-platforms] from // AWS documentation for reference solution stack names. // // > **NOTE:** If more or less than a single match is returned by the search, // this call will fail. Ensure that your search is specific enough to return // a single solution stack, or use `mostRecent` to choose the most recent one. NameRegex pulumi.StringInput `pulumi:"nameRegex"` }
A collection of arguments for invoking getSolutionStack.
func (GetSolutionStackOutputArgs) ElementType ¶
func (GetSolutionStackOutputArgs) ElementType() reflect.Type
type GetSolutionStackResult ¶
type GetSolutionStackResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` MostRecent *bool `pulumi:"mostRecent"` // Name of the solution stack. Name string `pulumi:"name"` NameRegex string `pulumi:"nameRegex"` }
A collection of values returned by getSolutionStack.
func GetSolutionStack ¶
func GetSolutionStack(ctx *pulumi.Context, args *GetSolutionStackArgs, opts ...pulumi.InvokeOption) (*GetSolutionStackResult, error)
Use this data source to get the name of a elastic beanstalk solution stack.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/elasticbeanstalk" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := elasticbeanstalk.GetSolutionStack(ctx, &elasticbeanstalk.GetSolutionStackArgs{ MostRecent: pulumi.BoolRef(true), NameRegex: "^64bit Amazon Linux (.*) Multi-container Docker (.*)$", }, nil) if err != nil { return err } return nil }) }
```
type GetSolutionStackResultOutput ¶
type GetSolutionStackResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getSolutionStack.
func GetSolutionStackOutput ¶
func GetSolutionStackOutput(ctx *pulumi.Context, args GetSolutionStackOutputArgs, opts ...pulumi.InvokeOption) GetSolutionStackResultOutput
func (GetSolutionStackResultOutput) ElementType ¶
func (GetSolutionStackResultOutput) ElementType() reflect.Type
func (GetSolutionStackResultOutput) Id ¶
func (o GetSolutionStackResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetSolutionStackResultOutput) MostRecent ¶
func (o GetSolutionStackResultOutput) MostRecent() pulumi.BoolPtrOutput
func (GetSolutionStackResultOutput) Name ¶
func (o GetSolutionStackResultOutput) Name() pulumi.StringOutput
Name of the solution stack.
func (GetSolutionStackResultOutput) NameRegex ¶
func (o GetSolutionStackResultOutput) NameRegex() pulumi.StringOutput
func (GetSolutionStackResultOutput) ToGetSolutionStackResultOutput ¶
func (o GetSolutionStackResultOutput) ToGetSolutionStackResultOutput() GetSolutionStackResultOutput
func (GetSolutionStackResultOutput) ToGetSolutionStackResultOutputWithContext ¶
func (o GetSolutionStackResultOutput) ToGetSolutionStackResultOutputWithContext(ctx context.Context) GetSolutionStackResultOutput
type LookupApplicationArgs ¶
type LookupApplicationArgs struct { // Name of the application Name string `pulumi:"name"` }
A collection of arguments for invoking getApplication.
type LookupApplicationOutputArgs ¶
type LookupApplicationOutputArgs struct { // Name of the application Name pulumi.StringInput `pulumi:"name"` }
A collection of arguments for invoking getApplication.
func (LookupApplicationOutputArgs) ElementType ¶
func (LookupApplicationOutputArgs) ElementType() reflect.Type
type LookupApplicationResult ¶
type LookupApplicationResult struct { AppversionLifecycle GetApplicationAppversionLifecycle `pulumi:"appversionLifecycle"` // ARN of the application. Arn string `pulumi:"arn"` // Short description of the application Description string `pulumi:"description"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Name string `pulumi:"name"` }
A collection of values returned by getApplication.
func LookupApplication ¶
func LookupApplication(ctx *pulumi.Context, args *LookupApplicationArgs, opts ...pulumi.InvokeOption) (*LookupApplicationResult, error)
Retrieve information about an Elastic Beanstalk Application.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/elasticbeanstalk" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := elasticbeanstalk.LookupApplication(ctx, &elasticbeanstalk.LookupApplicationArgs{ Name: "example", }, nil) if err != nil { return err } ctx.Export("arn", example.Arn) ctx.Export("description", example.Description) return nil }) }
```
type LookupApplicationResultOutput ¶
type LookupApplicationResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getApplication.
func LookupApplicationOutput ¶
func LookupApplicationOutput(ctx *pulumi.Context, args LookupApplicationOutputArgs, opts ...pulumi.InvokeOption) LookupApplicationResultOutput
func (LookupApplicationResultOutput) AppversionLifecycle ¶
func (o LookupApplicationResultOutput) AppversionLifecycle() GetApplicationAppversionLifecycleOutput
func (LookupApplicationResultOutput) Arn ¶
func (o LookupApplicationResultOutput) Arn() pulumi.StringOutput
ARN of the application.
func (LookupApplicationResultOutput) Description ¶
func (o LookupApplicationResultOutput) Description() pulumi.StringOutput
Short description of the application
func (LookupApplicationResultOutput) ElementType ¶
func (LookupApplicationResultOutput) ElementType() reflect.Type
func (LookupApplicationResultOutput) Id ¶
func (o LookupApplicationResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupApplicationResultOutput) Name ¶
func (o LookupApplicationResultOutput) Name() pulumi.StringOutput
func (LookupApplicationResultOutput) ToLookupApplicationResultOutput ¶
func (o LookupApplicationResultOutput) ToLookupApplicationResultOutput() LookupApplicationResultOutput
func (LookupApplicationResultOutput) ToLookupApplicationResultOutputWithContext ¶
func (o LookupApplicationResultOutput) ToLookupApplicationResultOutputWithContext(ctx context.Context) LookupApplicationResultOutput