We recommend new projects start with resources from the AWS provider.
aws-native.elasticbeanstalk.Environment
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
Resource Type definition for AWS::ElasticBeanstalk::Environment
Create Environment Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Environment(name: string, args: EnvironmentArgs, opts?: CustomResourceOptions);@overload
def Environment(resource_name: str,
                args: EnvironmentArgs,
                opts: Optional[ResourceOptions] = None)
@overload
def Environment(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                application_name: Optional[str] = None,
                cname_prefix: Optional[str] = None,
                description: Optional[str] = None,
                environment_name: Optional[str] = None,
                operations_role: Optional[str] = None,
                option_settings: Optional[Sequence[EnvironmentOptionSettingArgs]] = None,
                platform_arn: Optional[str] = None,
                solution_stack_name: Optional[str] = None,
                tags: Optional[Sequence[_root_inputs.TagArgs]] = None,
                template_name: Optional[str] = None,
                tier: Optional[EnvironmentTierArgs] = None,
                version_label: Optional[str] = None)func NewEnvironment(ctx *Context, name string, args EnvironmentArgs, opts ...ResourceOption) (*Environment, error)public Environment(string name, EnvironmentArgs args, CustomResourceOptions? opts = null)
public Environment(String name, EnvironmentArgs args)
public Environment(String name, EnvironmentArgs args, CustomResourceOptions options)
type: aws-native:elasticbeanstalk:Environment
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args EnvironmentArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args EnvironmentArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args EnvironmentArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args EnvironmentArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args EnvironmentArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Environment Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Environment resource accepts the following input properties:
- ApplicationName string
- The name of the application that is associated with this environment.
- CnamePrefix string
- If specified, the environment attempts to use this value as the prefix for the CNAME in your Elastic Beanstalk environment URL. If not specified, the CNAME is generated automatically by appending a random alphanumeric string to the environment name.
- Description string
- Your description for this environment.
- EnvironmentName string
- A unique name for the environment.
- OperationsRole string
- The Amazon Resource Name (ARN) of an existing IAM role to be used as the environment's operations role.
- OptionSettings List<Pulumi.Aws Native. Elastic Beanstalk. Inputs. Environment Option Setting> 
- Key-value pairs defining configuration options for this environment, such as the instance type.
- PlatformArn string
- The Amazon Resource Name (ARN) of the custom platform to use with the environment.
- SolutionStack stringName 
- The name of an Elastic Beanstalk solution stack (platform version) to use with the environment.
- 
List<Pulumi.Aws Native. Inputs. Tag> 
- Specifies the tags applied to resources in the environment.
- TemplateName string
- The name of the Elastic Beanstalk configuration template to use with the environment.
- Tier
Pulumi.Aws Native. Elastic Beanstalk. Inputs. Environment Tier 
- Specifies the tier to use in creating this environment. The environment tier that you choose determines whether Elastic Beanstalk provisions resources to support a web application that handles HTTP(S) requests or a web application that handles background-processing tasks.
- VersionLabel string
- The name of the application version to deploy.
- ApplicationName string
- The name of the application that is associated with this environment.
- CnamePrefix string
- If specified, the environment attempts to use this value as the prefix for the CNAME in your Elastic Beanstalk environment URL. If not specified, the CNAME is generated automatically by appending a random alphanumeric string to the environment name.
- Description string
- Your description for this environment.
- EnvironmentName string
- A unique name for the environment.
- OperationsRole string
- The Amazon Resource Name (ARN) of an existing IAM role to be used as the environment's operations role.
- OptionSettings []EnvironmentOption Setting Args 
- Key-value pairs defining configuration options for this environment, such as the instance type.
- PlatformArn string
- The Amazon Resource Name (ARN) of the custom platform to use with the environment.
- SolutionStack stringName 
- The name of an Elastic Beanstalk solution stack (platform version) to use with the environment.
- 
TagArgs 
- Specifies the tags applied to resources in the environment.
- TemplateName string
- The name of the Elastic Beanstalk configuration template to use with the environment.
- Tier
EnvironmentTier Args 
- Specifies the tier to use in creating this environment. The environment tier that you choose determines whether Elastic Beanstalk provisions resources to support a web application that handles HTTP(S) requests or a web application that handles background-processing tasks.
- VersionLabel string
- The name of the application version to deploy.
- applicationName String
- The name of the application that is associated with this environment.
- cnamePrefix String
- If specified, the environment attempts to use this value as the prefix for the CNAME in your Elastic Beanstalk environment URL. If not specified, the CNAME is generated automatically by appending a random alphanumeric string to the environment name.
- description String
- Your description for this environment.
- environmentName String
- A unique name for the environment.
- operationsRole String
- The Amazon Resource Name (ARN) of an existing IAM role to be used as the environment's operations role.
- optionSettings List<EnvironmentOption Setting> 
- Key-value pairs defining configuration options for this environment, such as the instance type.
- platformArn String
- The Amazon Resource Name (ARN) of the custom platform to use with the environment.
- solutionStack StringName 
- The name of an Elastic Beanstalk solution stack (platform version) to use with the environment.
- List<Tag>
- Specifies the tags applied to resources in the environment.
- templateName String
- The name of the Elastic Beanstalk configuration template to use with the environment.
- tier
EnvironmentTier 
- Specifies the tier to use in creating this environment. The environment tier that you choose determines whether Elastic Beanstalk provisions resources to support a web application that handles HTTP(S) requests or a web application that handles background-processing tasks.
- versionLabel String
- The name of the application version to deploy.
- applicationName string
- The name of the application that is associated with this environment.
- cnamePrefix string
- If specified, the environment attempts to use this value as the prefix for the CNAME in your Elastic Beanstalk environment URL. If not specified, the CNAME is generated automatically by appending a random alphanumeric string to the environment name.
- description string
- Your description for this environment.
- environmentName string
- A unique name for the environment.
- operationsRole string
- The Amazon Resource Name (ARN) of an existing IAM role to be used as the environment's operations role.
- optionSettings EnvironmentOption Setting[] 
- Key-value pairs defining configuration options for this environment, such as the instance type.
- platformArn string
- The Amazon Resource Name (ARN) of the custom platform to use with the environment.
- solutionStack stringName 
- The name of an Elastic Beanstalk solution stack (platform version) to use with the environment.
- Tag[]
- Specifies the tags applied to resources in the environment.
- templateName string
- The name of the Elastic Beanstalk configuration template to use with the environment.
- tier
EnvironmentTier 
- Specifies the tier to use in creating this environment. The environment tier that you choose determines whether Elastic Beanstalk provisions resources to support a web application that handles HTTP(S) requests or a web application that handles background-processing tasks.
- versionLabel string
- The name of the application version to deploy.
- application_name str
- The name of the application that is associated with this environment.
- cname_prefix str
- If specified, the environment attempts to use this value as the prefix for the CNAME in your Elastic Beanstalk environment URL. If not specified, the CNAME is generated automatically by appending a random alphanumeric string to the environment name.
- description str
- Your description for this environment.
- environment_name str
- A unique name for the environment.
- operations_role str
- The Amazon Resource Name (ARN) of an existing IAM role to be used as the environment's operations role.
- option_settings Sequence[EnvironmentOption Setting Args] 
- Key-value pairs defining configuration options for this environment, such as the instance type.
- platform_arn str
- The Amazon Resource Name (ARN) of the custom platform to use with the environment.
- solution_stack_ strname 
- The name of an Elastic Beanstalk solution stack (platform version) to use with the environment.
- 
Sequence[TagArgs] 
- Specifies the tags applied to resources in the environment.
- template_name str
- The name of the Elastic Beanstalk configuration template to use with the environment.
- tier
EnvironmentTier Args 
- Specifies the tier to use in creating this environment. The environment tier that you choose determines whether Elastic Beanstalk provisions resources to support a web application that handles HTTP(S) requests or a web application that handles background-processing tasks.
- version_label str
- The name of the application version to deploy.
- applicationName String
- The name of the application that is associated with this environment.
- cnamePrefix String
- If specified, the environment attempts to use this value as the prefix for the CNAME in your Elastic Beanstalk environment URL. If not specified, the CNAME is generated automatically by appending a random alphanumeric string to the environment name.
- description String
- Your description for this environment.
- environmentName String
- A unique name for the environment.
- operationsRole String
- The Amazon Resource Name (ARN) of an existing IAM role to be used as the environment's operations role.
- optionSettings List<Property Map>
- Key-value pairs defining configuration options for this environment, such as the instance type.
- platformArn String
- The Amazon Resource Name (ARN) of the custom platform to use with the environment.
- solutionStack StringName 
- The name of an Elastic Beanstalk solution stack (platform version) to use with the environment.
- List<Property Map>
- Specifies the tags applied to resources in the environment.
- templateName String
- The name of the Elastic Beanstalk configuration template to use with the environment.
- tier Property Map
- Specifies the tier to use in creating this environment. The environment tier that you choose determines whether Elastic Beanstalk provisions resources to support a web application that handles HTTP(S) requests or a web application that handles background-processing tasks.
- versionLabel String
- The name of the application version to deploy.
Outputs
All input properties are implicitly available as output properties. Additionally, the Environment resource produces the following output properties:
- EndpointUrl string
- For load-balanced, autoscaling environments, the URL to the load balancer. For single-instance environments, the IP address of the instance. - Example load balancer URL: - Example instance IP address: - 192.0.2.0
- Id string
- The provider-assigned unique ID for this managed resource.
- EndpointUrl string
- For load-balanced, autoscaling environments, the URL to the load balancer. For single-instance environments, the IP address of the instance. - Example load balancer URL: - Example instance IP address: - 192.0.2.0
- Id string
- The provider-assigned unique ID for this managed resource.
- endpointUrl String
- For load-balanced, autoscaling environments, the URL to the load balancer. For single-instance environments, the IP address of the instance. - Example load balancer URL: - Example instance IP address: - 192.0.2.0
- id String
- The provider-assigned unique ID for this managed resource.
- endpointUrl string
- For load-balanced, autoscaling environments, the URL to the load balancer. For single-instance environments, the IP address of the instance. - Example load balancer URL: - Example instance IP address: - 192.0.2.0
- id string
- The provider-assigned unique ID for this managed resource.
- endpoint_url str
- For load-balanced, autoscaling environments, the URL to the load balancer. For single-instance environments, the IP address of the instance. - Example load balancer URL: - Example instance IP address: - 192.0.2.0
- id str
- The provider-assigned unique ID for this managed resource.
- endpointUrl String
- For load-balanced, autoscaling environments, the URL to the load balancer. For single-instance environments, the IP address of the instance. - Example load balancer URL: - Example instance IP address: - 192.0.2.0
- id String
- The provider-assigned unique ID for this managed resource.
Supporting Types
EnvironmentOptionSetting, EnvironmentOptionSettingArgs      
- Namespace string
- A unique namespace that identifies the option's associated AWS resource.
- OptionName string
- The name of the configuration option.
- ResourceName string
- A unique resource name for the option setting. Use it for a time–based scaling configuration option.
- Value string
- The current value for the configuration option.
- Namespace string
- A unique namespace that identifies the option's associated AWS resource.
- OptionName string
- The name of the configuration option.
- ResourceName string
- A unique resource name for the option setting. Use it for a time–based scaling configuration option.
- Value string
- The current value for the configuration option.
- namespace String
- A unique namespace that identifies the option's associated AWS resource.
- optionName String
- The name of the configuration option.
- resourceName String
- A unique resource name for the option setting. Use it for a time–based scaling configuration option.
- value String
- The current value for the configuration option.
- namespace string
- A unique namespace that identifies the option's associated AWS resource.
- optionName string
- The name of the configuration option.
- resourceName string
- A unique resource name for the option setting. Use it for a time–based scaling configuration option.
- value string
- The current value for the configuration option.
- namespace str
- A unique namespace that identifies the option's associated AWS resource.
- option_name str
- The name of the configuration option.
- resource_name str
- A unique resource name for the option setting. Use it for a time–based scaling configuration option.
- value str
- The current value for the configuration option.
- namespace String
- A unique namespace that identifies the option's associated AWS resource.
- optionName String
- The name of the configuration option.
- resourceName String
- A unique resource name for the option setting. Use it for a time–based scaling configuration option.
- value String
- The current value for the configuration option.
EnvironmentTier, EnvironmentTierArgs    
Tag, TagArgs  
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.