Documentation ¶
Index ¶
- type Application
- type ApplicationArgs
- type ApplicationState
- type ApplicationVersion
- func (r *ApplicationVersion) Application() *pulumi.StringOutput
- func (r *ApplicationVersion) Bucket() *pulumi.StringOutput
- func (r *ApplicationVersion) Description() *pulumi.StringOutput
- func (r *ApplicationVersion) ForceDelete() *pulumi.BoolOutput
- func (r *ApplicationVersion) ID() *pulumi.IDOutput
- func (r *ApplicationVersion) Key() *pulumi.StringOutput
- func (r *ApplicationVersion) Name() *pulumi.StringOutput
- func (r *ApplicationVersion) URN() *pulumi.URNOutput
- type ApplicationVersionArgs
- type ApplicationVersionState
- type ConfigurationTemplate
- func (r *ConfigurationTemplate) Application() *pulumi.StringOutput
- func (r *ConfigurationTemplate) Description() *pulumi.StringOutput
- func (r *ConfigurationTemplate) EnvironmentId() *pulumi.StringOutput
- func (r *ConfigurationTemplate) ID() *pulumi.IDOutput
- func (r *ConfigurationTemplate) Name() *pulumi.StringOutput
- func (r *ConfigurationTemplate) Settings() *pulumi.ArrayOutput
- func (r *ConfigurationTemplate) SolutionStackName() *pulumi.StringOutput
- func (r *ConfigurationTemplate) URN() *pulumi.URNOutput
- type ConfigurationTemplateArgs
- type ConfigurationTemplateState
- type Environment
- func (r *Environment) AllSettings() *pulumi.ArrayOutput
- func (r *Environment) Application() *pulumi.StringOutput
- func (r *Environment) Arn() *pulumi.StringOutput
- func (r *Environment) AutoscalingGroups() *pulumi.ArrayOutput
- func (r *Environment) Cname() *pulumi.StringOutput
- func (r *Environment) CnamePrefix() *pulumi.StringOutput
- func (r *Environment) Description() *pulumi.StringOutput
- func (r *Environment) ID() *pulumi.IDOutput
- func (r *Environment) Instances() *pulumi.ArrayOutput
- func (r *Environment) LaunchConfigurations() *pulumi.ArrayOutput
- func (r *Environment) LoadBalancers() *pulumi.ArrayOutput
- func (r *Environment) Name() *pulumi.StringOutput
- func (r *Environment) PlatformArn() *pulumi.StringOutput
- func (r *Environment) PollInterval() *pulumi.StringOutput
- func (r *Environment) Queues() *pulumi.ArrayOutput
- func (r *Environment) Settings() *pulumi.ArrayOutput
- func (r *Environment) SolutionStackName() *pulumi.StringOutput
- func (r *Environment) Tags() *pulumi.MapOutput
- func (r *Environment) TemplateName() *pulumi.StringOutput
- func (r *Environment) Tier() *pulumi.StringOutput
- func (r *Environment) Triggers() *pulumi.ArrayOutput
- func (r *Environment) URN() *pulumi.URNOutput
- func (r *Environment) Version() *pulumi.StringOutput
- func (r *Environment) WaitForReadyTimeout() *pulumi.StringOutput
- type EnvironmentArgs
- type EnvironmentState
- type GetApplicationArgs
- type GetApplicationResult
- type GetHostedZoneArgs
- type GetHostedZoneResult
- type GetSolutionStackArgs
- type GetSolutionStackResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Application ¶
type Application struct {
// contains filtered or unexported fields
}
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
func GetApplication ¶
func GetApplication(ctx *pulumi.Context, name string, id pulumi.ID, state *ApplicationState, opts ...pulumi.ResourceOpt) (*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.ResourceOpt) (*Application, error)
NewApplication registers a new resource with the given unique name, arguments, and options.
func (*Application) AppversionLifecycle ¶
func (r *Application) AppversionLifecycle() *pulumi.Output
func (*Application) Description ¶
func (r *Application) Description() *pulumi.StringOutput
Short description of the application
func (*Application) ID ¶
func (r *Application) ID() *pulumi.IDOutput
ID is this resource's unique identifier assigned by its provider.
func (*Application) Name ¶
func (r *Application) Name() *pulumi.StringOutput
The name of the application, must be unique within your account
func (*Application) URN ¶
func (r *Application) URN() *pulumi.URNOutput
URN is this resource's unique name assigned by Pulumi.
type ApplicationArgs ¶
type ApplicationArgs struct { AppversionLifecycle interface{} // Short description of the application Description interface{} // The name of the application, must be unique within your account Name interface{} }
The set of arguments for constructing a Application resource.
type ApplicationState ¶
type ApplicationState struct { AppversionLifecycle interface{} // Short description of the application Description interface{} // The name of the application, must be unique within your account Name interface{} }
Input properties used for looking up and filtering Application resources.
type ApplicationVersion ¶
type ApplicationVersion struct {
// contains filtered or unexported fields
}
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: <ol> <li>Create each environment in a separate AWS account</li> <li>Create your `aws_elastic_beanstalk_application_version` resources with a unique names in your Elastic Beanstalk Application. For example <revision>-<environment>.</li> </ol>
func GetApplicationVersion ¶
func GetApplicationVersion(ctx *pulumi.Context, name string, id pulumi.ID, state *ApplicationVersionState, opts ...pulumi.ResourceOpt) (*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.ResourceOpt) (*ApplicationVersion, error)
NewApplicationVersion registers a new resource with the given unique name, arguments, and options.
func (*ApplicationVersion) Application ¶
func (r *ApplicationVersion) Application() *pulumi.StringOutput
Name of the Beanstalk Application the version is associated with.
func (*ApplicationVersion) Bucket ¶
func (r *ApplicationVersion) Bucket() *pulumi.StringOutput
S3 bucket that contains the Application Version source bundle.
func (*ApplicationVersion) Description ¶
func (r *ApplicationVersion) Description() *pulumi.StringOutput
Short description of the Application Version.
func (*ApplicationVersion) ForceDelete ¶
func (r *ApplicationVersion) ForceDelete() *pulumi.BoolOutput
On delete, force an Application Version to be deleted when it may be in use by multiple Elastic Beanstalk Environments.
func (*ApplicationVersion) ID ¶
func (r *ApplicationVersion) ID() *pulumi.IDOutput
ID is this resource's unique identifier assigned by its provider.
func (*ApplicationVersion) Key ¶
func (r *ApplicationVersion) Key() *pulumi.StringOutput
S3 object that is the Application Version source bundle.
func (*ApplicationVersion) Name ¶
func (r *ApplicationVersion) Name() *pulumi.StringOutput
A unique name for the this Application Version.
func (*ApplicationVersion) URN ¶
func (r *ApplicationVersion) URN() *pulumi.URNOutput
URN is this resource's unique name assigned by Pulumi.
type ApplicationVersionArgs ¶
type ApplicationVersionArgs struct { // Name of the Beanstalk Application the version is associated with. Application interface{} // S3 bucket that contains the Application Version source bundle. Bucket interface{} // Short description of the Application Version. Description interface{} // On delete, force an Application Version to be deleted when it may be in use // by multiple Elastic Beanstalk Environments. ForceDelete interface{} // S3 object that is the Application Version source bundle. Key interface{} // A unique name for the this Application Version. Name interface{} }
The set of arguments for constructing a ApplicationVersion resource.
type ApplicationVersionState ¶
type ApplicationVersionState struct { // Name of the Beanstalk Application the version is associated with. Application interface{} // S3 bucket that contains the Application Version source bundle. Bucket interface{} // Short description of the Application Version. Description interface{} // On delete, force an Application Version to be deleted when it may be in use // by multiple Elastic Beanstalk Environments. ForceDelete interface{} // S3 object that is the Application Version source bundle. Key interface{} // A unique name for the this Application Version. Name interface{} }
Input properties used for looking up and filtering ApplicationVersion resources.
type ConfigurationTemplate ¶
type ConfigurationTemplate struct {
// contains filtered or unexported fields
}
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.
## 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.ID, state *ConfigurationTemplateState, opts ...pulumi.ResourceOpt) (*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.ResourceOpt) (*ConfigurationTemplate, error)
NewConfigurationTemplate registers a new resource with the given unique name, arguments, and options.
func (*ConfigurationTemplate) Application ¶
func (r *ConfigurationTemplate) Application() *pulumi.StringOutput
name of the application to associate with this configuration template
func (*ConfigurationTemplate) Description ¶
func (r *ConfigurationTemplate) Description() *pulumi.StringOutput
Short description of the Template
func (*ConfigurationTemplate) EnvironmentId ¶
func (r *ConfigurationTemplate) EnvironmentId() *pulumi.StringOutput
The ID of the environment used with this configuration template
func (*ConfigurationTemplate) ID ¶
func (r *ConfigurationTemplate) ID() *pulumi.IDOutput
ID is this resource's unique identifier assigned by its provider.
func (*ConfigurationTemplate) Name ¶
func (r *ConfigurationTemplate) Name() *pulumi.StringOutput
A unique name for this Template.
func (*ConfigurationTemplate) Settings ¶
func (r *ConfigurationTemplate) Settings() *pulumi.ArrayOutput
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 (*ConfigurationTemplate) SolutionStackName ¶
func (r *ConfigurationTemplate) SolutionStackName() *pulumi.StringOutput
A solution stack to base your Template off of. Example stacks can be found in the [Amazon API documentation][1]
func (*ConfigurationTemplate) URN ¶
func (r *ConfigurationTemplate) URN() *pulumi.URNOutput
URN is this resource's unique name assigned by Pulumi.
type ConfigurationTemplateArgs ¶
type ConfigurationTemplateArgs struct { // name of the application to associate with this configuration template Application interface{} // Short description of the Template Description interface{} // The ID of the environment used with this configuration template EnvironmentId interface{} // A unique name for this Template. Name interface{} // 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 interface{} // A solution stack to base your Template // off of. Example stacks can be found in the [Amazon API documentation][1] SolutionStackName interface{} }
The set of arguments for constructing a ConfigurationTemplate resource.
type ConfigurationTemplateState ¶
type ConfigurationTemplateState struct { // name of the application to associate with this configuration template Application interface{} // Short description of the Template Description interface{} // The ID of the environment used with this configuration template EnvironmentId interface{} // A unique name for this Template. Name interface{} // 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 interface{} // A solution stack to base your Template // off of. Example stacks can be found in the [Amazon API documentation][1] SolutionStackName interface{} }
Input properties used for looking up and filtering ConfigurationTemplate resources.
type Environment ¶
type Environment struct {
// contains filtered or unexported fields
}
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`.
## 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 `all_settings` 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)
func GetEnvironment ¶
func GetEnvironment(ctx *pulumi.Context, name string, id pulumi.ID, state *EnvironmentState, opts ...pulumi.ResourceOpt) (*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.ResourceOpt) (*Environment, error)
NewEnvironment registers a new resource with the given unique name, arguments, and options.
func (*Environment) AllSettings ¶
func (r *Environment) AllSettings() *pulumi.ArrayOutput
List of all option settings configured in the Environment. These are a combination of default settings and their overrides from `setting` in the configuration.
func (*Environment) Application ¶
func (r *Environment) Application() *pulumi.StringOutput
Name of the application that contains the version to be deployed
func (*Environment) Arn ¶
func (r *Environment) Arn() *pulumi.StringOutput
func (*Environment) AutoscalingGroups ¶
func (r *Environment) AutoscalingGroups() *pulumi.ArrayOutput
The autoscaling groups used by this environment.
func (*Environment) Cname ¶
func (r *Environment) Cname() *pulumi.StringOutput
Fully qualified DNS name for the Environment.
func (*Environment) CnamePrefix ¶
func (r *Environment) CnamePrefix() *pulumi.StringOutput
Prefix to use for the fully qualified DNS name of the Environment.
func (*Environment) Description ¶
func (r *Environment) Description() *pulumi.StringOutput
Short description of the Environment
func (*Environment) ID ¶
func (r *Environment) ID() *pulumi.IDOutput
ID is this resource's unique identifier assigned by its provider.
func (*Environment) Instances ¶
func (r *Environment) Instances() *pulumi.ArrayOutput
Instances used by this environment.
func (*Environment) LaunchConfigurations ¶
func (r *Environment) LaunchConfigurations() *pulumi.ArrayOutput
Launch configurations in use by this environment.
func (*Environment) LoadBalancers ¶
func (r *Environment) LoadBalancers() *pulumi.ArrayOutput
Elastic load balancers in use by this environment.
func (*Environment) Name ¶
func (r *Environment) Name() *pulumi.StringOutput
A unique name for this Environment. This name is used in the application URL
func (*Environment) PlatformArn ¶ added in v0.16.1
func (r *Environment) PlatformArn() *pulumi.StringOutput
The [ARN][2] of the Elastic Beanstalk [Platform][3] to use in deployment
func (*Environment) PollInterval ¶
func (r *Environment) PollInterval() *pulumi.StringOutput
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 (*Environment) Queues ¶
func (r *Environment) Queues() *pulumi.ArrayOutput
SQS queues in use by this environment.
func (*Environment) Settings ¶
func (r *Environment) Settings() *pulumi.ArrayOutput
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 (*Environment) SolutionStackName ¶
func (r *Environment) SolutionStackName() *pulumi.StringOutput
A solution stack to base your environment off of. Example stacks can be found in the [Amazon API documentation][1]
func (*Environment) Tags ¶
func (r *Environment) Tags() *pulumi.MapOutput
A set of tags to apply to the Environment.
func (*Environment) TemplateName ¶
func (r *Environment) TemplateName() *pulumi.StringOutput
The name of the Elastic Beanstalk Configuration template to use in deployment
func (*Environment) Tier ¶
func (r *Environment) Tier() *pulumi.StringOutput
Elastic Beanstalk Environment tier. Valid values are `Worker` or `WebServer`. If tier is left blank `WebServer` will be used.
func (*Environment) Triggers ¶
func (r *Environment) Triggers() *pulumi.ArrayOutput
Autoscaling triggers in use by this environment.
func (*Environment) URN ¶
func (r *Environment) URN() *pulumi.URNOutput
URN is this resource's unique name assigned by Pulumi.
func (*Environment) Version ¶
func (r *Environment) Version() *pulumi.StringOutput
The name of the Elastic Beanstalk Application Version to use in deployment.
func (*Environment) WaitForReadyTimeout ¶
func (r *Environment) WaitForReadyTimeout() *pulumi.StringOutput
The maximum [duration](https://golang.org/pkg/time/#ParseDuration) that Terraform should wait for an Elastic Beanstalk Environment to be in a ready state before timing out.
type EnvironmentArgs ¶
type EnvironmentArgs struct { // Name of the application that contains the version // to be deployed Application interface{} // Prefix to use for the fully qualified DNS name of // the Environment. CnamePrefix interface{} // Short description of the Environment Description interface{} // A unique name for this Environment. This name is used // in the application URL Name interface{} // The [ARN][2] of the Elastic Beanstalk [Platform][3] // to use in deployment PlatformArn interface{} // 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 interface{} // 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 interface{} // A solution stack to base your environment // off of. Example stacks can be found in the [Amazon API documentation][1] SolutionStackName interface{} // A set of tags to apply to the Environment. Tags interface{} // The name of the Elastic Beanstalk Configuration // template to use in deployment TemplateName interface{} // Elastic Beanstalk Environment tier. Valid values are `Worker` // or `WebServer`. If tier is left blank `WebServer` will be used. Tier interface{} // The name of the Elastic Beanstalk Application Version // to use in deployment. Version interface{} // The maximum // [duration](https://golang.org/pkg/time/#ParseDuration) that Terraform should // wait for an Elastic Beanstalk Environment to be in a ready state before timing // out. WaitForReadyTimeout interface{} }
The set of arguments for constructing a Environment resource.
type EnvironmentState ¶
type EnvironmentState struct { // List of all option settings configured in the Environment. These // are a combination of default settings and their overrides from `setting` in // the configuration. AllSettings interface{} // Name of the application that contains the version // to be deployed Application interface{} Arn interface{} // The autoscaling groups used by this environment. AutoscalingGroups interface{} // Fully qualified DNS name for the Environment. Cname interface{} // Prefix to use for the fully qualified DNS name of // the Environment. CnamePrefix interface{} // Short description of the Environment Description interface{} // Instances used by this environment. Instances interface{} // Launch configurations in use by this environment. LaunchConfigurations interface{} // Elastic load balancers in use by this environment. LoadBalancers interface{} // A unique name for this Environment. This name is used // in the application URL Name interface{} // The [ARN][2] of the Elastic Beanstalk [Platform][3] // to use in deployment PlatformArn interface{} // 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 interface{} // SQS queues in use by this environment. Queues interface{} // 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 interface{} // A solution stack to base your environment // off of. Example stacks can be found in the [Amazon API documentation][1] SolutionStackName interface{} // A set of tags to apply to the Environment. Tags interface{} // The name of the Elastic Beanstalk Configuration // template to use in deployment TemplateName interface{} // Elastic Beanstalk Environment tier. Valid values are `Worker` // or `WebServer`. If tier is left blank `WebServer` will be used. Tier interface{} // Autoscaling triggers in use by this environment. Triggers interface{} // The name of the Elastic Beanstalk Application Version // to use in deployment. Version interface{} // The maximum // [duration](https://golang.org/pkg/time/#ParseDuration) that Terraform should // wait for an Elastic Beanstalk Environment to be in a ready state before timing // out. WaitForReadyTimeout interface{} }
Input properties used for looking up and filtering Environment resources.
type GetApplicationArgs ¶ added in v0.16.7
type GetApplicationArgs struct {
// The name of the application
Name interface{}
}
A collection of arguments for invoking getApplication.
type GetApplicationResult ¶ added in v0.16.7
type GetApplicationResult struct { AppversionLifecycle interface{} // The Amazon Resource Name (ARN) of the application. Arn interface{} // Short description of the application Description interface{} // id is the provider-assigned unique ID for this managed resource. Id interface{} }
A collection of values returned by getApplication.
func LookupApplication ¶ added in v0.16.7
func LookupApplication(ctx *pulumi.Context, args *GetApplicationArgs) (*GetApplicationResult, error)
Retrieve information about an Elastic Beanstalk Application.
type GetHostedZoneArgs ¶
type GetHostedZoneArgs struct {
// The region you'd like the zone for. By default, fetches the current region.
Region interface{}
}
A collection of arguments for invoking getHostedZone.
type GetHostedZoneResult ¶ added in v0.14.1
type GetHostedZoneResult struct {
// id is the provider-assigned unique ID for this managed resource.
Id interface{}
}
A collection of values returned by getHostedZone.
func LookupHostedZone ¶
func LookupHostedZone(ctx *pulumi.Context, args *GetHostedZoneArgs) (*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).
type GetSolutionStackArgs ¶
type GetSolutionStackArgs struct { // If more than one result is returned, use the most // recent solution stack. MostRecent interface{} // A regex string to apply to the solution stack list returned // by AWS. See [Elastic Beanstalk Supported Platforms][beanstalk-platforms] from // AWS documentation for reference solution stack names. NameRegex interface{} }
A collection of arguments for invoking getSolutionStack.
type GetSolutionStackResult ¶
type GetSolutionStackResult struct { // The name of the solution stack. Name interface{} // id is the provider-assigned unique ID for this managed resource. Id interface{} }
A collection of values returned by getSolutionStack.
func LookupSolutionStack ¶
func LookupSolutionStack(ctx *pulumi.Context, args *GetSolutionStackArgs) (*GetSolutionStackResult, error)
Use this data source to get the name of a elastic beanstalk solution stack.