opsworks

This provider is a derived work of the Terraform Provider distributed under MPL 2.0. If you encounter a bug or missing feature, first check the pulumi/pulumi-aws repo; however, if that doesn’t turn up anything, please consult the source terraform-providers/terraform-provider-aws repo.

class pulumi_aws.opsworks.Application(resource_name, opts=None, app_sources=None, auto_bundle_on_deploy=None, aws_flow_ruby_settings=None, data_source_arn=None, data_source_database_name=None, data_source_type=None, description=None, document_root=None, domains=None, enable_ssl=None, environments=None, name=None, rails_env=None, short_name=None, ssl_configurations=None, stack_id=None, type=None, __props__=None, __name__=None, __opts__=None)

Provides an OpsWorks application resource.

Parameters
  • resource_name (str) – The name of the resource.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • app_sources (pulumi.Input[list]) – SCM configuration of the app as described below.

  • auto_bundle_on_deploy (pulumi.Input[str]) – Run bundle install when deploying for application of type rails.

  • aws_flow_ruby_settings (pulumi.Input[str]) – Specify activity and workflow workers for your app using the aws-flow gem.

  • data_source_arn (pulumi.Input[str]) – The data source’s ARN.

  • data_source_database_name (pulumi.Input[str]) – The database name.

  • data_source_type (pulumi.Input[str]) – The data source’s type one of AutoSelectOpsworksMysqlInstance, OpsworksMysqlInstance, or RdsDbInstance.

  • description (pulumi.Input[str]) – A description of the app.

  • document_root (pulumi.Input[str]) – Subfolder for the document root for application of type rails.

  • domains (pulumi.Input[list]) – A list of virtual host alias.

  • enable_ssl (pulumi.Input[bool]) – Whether to enable SSL for the app. This must be set in order to let ssl_configuration.private_key, ssl_configuration.certificate and ssl_configuration.chain take effect.

  • environments (pulumi.Input[list]) – Object to define environment variables. Object is described below.

  • name (pulumi.Input[str]) – A human-readable name for the application.

  • rails_env (pulumi.Input[str]) – The name of the Rails environment for application of type rails.

  • short_name (pulumi.Input[str]) – A short, machine-readable name for the application. This can only be defined on resource creation and ignored on resource update.

  • ssl_configurations (pulumi.Input[list]) – The SSL configuration of the app. Object is described below.

  • stack_id (pulumi.Input[str]) – The id of the stack the application will belong to.

  • type (pulumi.Input[str]) – The type of source to use. For example, “archive”.

The app_sources object supports the following:

  • password (pulumi.Input[str]) -

  • revision (pulumi.Input[str]) - For sources that are version-aware, the revision to use.

  • sshKey (pulumi.Input[str]) -

  • type (pulumi.Input[str]) - The type of source to use. For example, “archive”.

  • url (pulumi.Input[str]) - The URL where the app resource can be found.

  • username (pulumi.Input[str]) - Username to use when authenticating to the source.

The environments object supports the following:

  • key (pulumi.Input[str])

  • secure (pulumi.Input[bool])

  • value (pulumi.Input[str])

The ssl_configurations object supports the following:

  • certificate (pulumi.Input[str])

  • chain (pulumi.Input[str])

  • private_key (pulumi.Input[str])

app_sources = None

SCM configuration of the app as described below.

  • password (str) -

  • revision (str) - For sources that are version-aware, the revision to use.

  • sshKey (str) -

  • type (str) - The type of source to use. For example, “archive”.

  • url (str) - The URL where the app resource can be found.

  • username (str) - Username to use when authenticating to the source.

auto_bundle_on_deploy = None

Run bundle install when deploying for application of type rails.

aws_flow_ruby_settings = None

Specify activity and workflow workers for your app using the aws-flow gem.

data_source_arn = None

The data source’s ARN.

data_source_database_name = None

The database name.

data_source_type = None

The data source’s type one of AutoSelectOpsworksMysqlInstance, OpsworksMysqlInstance, or RdsDbInstance.

description = None

A description of the app.

document_root = None

Subfolder for the document root for application of type rails.

domains = None

A list of virtual host alias.

enable_ssl = None

Whether to enable SSL for the app. This must be set in order to let ssl_configuration.private_key, ssl_configuration.certificate and ssl_configuration.chain take effect.

environments = None

Object to define environment variables. Object is described below.

  • key (str)

  • secure (bool)

  • value (str)

name = None

A human-readable name for the application.

rails_env = None

The name of the Rails environment for application of type rails.

short_name = None

A short, machine-readable name for the application. This can only be defined on resource creation and ignored on resource update.

ssl_configurations = None

The SSL configuration of the app. Object is described below.

  • certificate (str)

  • chain (str)

  • private_key (str)

stack_id = None

The id of the stack the application will belong to.

type = None

The type of source to use. For example, “archive”.

static get(resource_name, id, opts=None, app_sources=None, auto_bundle_on_deploy=None, aws_flow_ruby_settings=None, data_source_arn=None, data_source_database_name=None, data_source_type=None, description=None, document_root=None, domains=None, enable_ssl=None, environments=None, name=None, rails_env=None, short_name=None, ssl_configurations=None, stack_id=None, type=None)

Get an existing Application resource’s state with the given name, id, and optional extra properties used to qualify the lookup.

Parameters
  • resource_name (str) – The unique name of the resulting resource.

  • id (str) – The unique provider ID of the resource to lookup.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • app_sources (pulumi.Input[list]) – SCM configuration of the app as described below.

  • auto_bundle_on_deploy (pulumi.Input[str]) – Run bundle install when deploying for application of type rails.

  • aws_flow_ruby_settings (pulumi.Input[str]) – Specify activity and workflow workers for your app using the aws-flow gem.

  • data_source_arn (pulumi.Input[str]) – The data source’s ARN.

  • data_source_database_name (pulumi.Input[str]) – The database name.

  • data_source_type (pulumi.Input[str]) – The data source’s type one of AutoSelectOpsworksMysqlInstance, OpsworksMysqlInstance, or RdsDbInstance.

  • description (pulumi.Input[str]) – A description of the app.

  • document_root (pulumi.Input[str]) – Subfolder for the document root for application of type rails.

  • domains (pulumi.Input[list]) – A list of virtual host alias.

  • enable_ssl (pulumi.Input[bool]) – Whether to enable SSL for the app. This must be set in order to let ssl_configuration.private_key, ssl_configuration.certificate and ssl_configuration.chain take effect.

  • environments (pulumi.Input[list]) – Object to define environment variables. Object is described below.

  • name (pulumi.Input[str]) – A human-readable name for the application.

  • rails_env (pulumi.Input[str]) – The name of the Rails environment for application of type rails.

  • short_name (pulumi.Input[str]) – A short, machine-readable name for the application. This can only be defined on resource creation and ignored on resource update.

  • ssl_configurations (pulumi.Input[list]) – The SSL configuration of the app. Object is described below.

  • stack_id (pulumi.Input[str]) – The id of the stack the application will belong to.

  • type (pulumi.Input[str]) – The type of source to use. For example, “archive”.

The app_sources object supports the following:

  • password (pulumi.Input[str]) -

  • revision (pulumi.Input[str]) - For sources that are version-aware, the revision to use.

  • sshKey (pulumi.Input[str]) -

  • type (pulumi.Input[str]) - The type of source to use. For example, “archive”.

  • url (pulumi.Input[str]) - The URL where the app resource can be found.

  • username (pulumi.Input[str]) - Username to use when authenticating to the source.

The environments object supports the following:

  • key (pulumi.Input[str])

  • secure (pulumi.Input[bool])

  • value (pulumi.Input[str])

The ssl_configurations object supports the following:

  • certificate (pulumi.Input[str])

  • chain (pulumi.Input[str])

  • private_key (pulumi.Input[str])

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

class pulumi_aws.opsworks.CustomLayer(resource_name, opts=None, auto_assign_elastic_ips=None, auto_assign_public_ips=None, auto_healing=None, custom_configure_recipes=None, custom_deploy_recipes=None, custom_instance_profile_arn=None, custom_json=None, custom_security_group_ids=None, custom_setup_recipes=None, custom_shutdown_recipes=None, custom_undeploy_recipes=None, drain_elb_on_shutdown=None, ebs_volumes=None, elastic_load_balancer=None, install_updates_on_boot=None, instance_shutdown_timeout=None, name=None, short_name=None, stack_id=None, system_packages=None, use_ebs_optimized_instances=None, __props__=None, __name__=None, __opts__=None)

Provides an OpsWorks custom layer resource.

Parameters
  • resource_name (str) – The name of the resource.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • auto_assign_elastic_ips (pulumi.Input[bool]) – Whether to automatically assign an elastic IP address to the layer’s instances.

  • auto_assign_public_ips (pulumi.Input[bool]) – For stacks belonging to a VPC, whether to automatically assign a public IP address to each of the layer’s instances.

  • auto_healing (pulumi.Input[bool]) – Whether to enable auto-healing for the layer.

  • custom_instance_profile_arn (pulumi.Input[str]) – The ARN of an IAM profile that will be used for the layer’s instances.

  • custom_json (pulumi.Input[str]) – Custom JSON attributes to apply to the layer.

  • custom_security_group_ids (pulumi.Input[list]) – Ids for a set of security groups to apply to the layer’s instances.

  • drain_elb_on_shutdown (pulumi.Input[bool]) – Whether to enable Elastic Load Balancing connection draining.

  • ebs_volumes (pulumi.Input[list]) – ebs_volume blocks, as described below, will each create an EBS volume and connect it to the layer’s instances.

  • elastic_load_balancer (pulumi.Input[str]) – Name of an Elastic Load Balancer to attach to this layer

  • install_updates_on_boot (pulumi.Input[bool]) – Whether to install OS and package updates on each instance when it boots.

  • instance_shutdown_timeout (pulumi.Input[float]) – The time, in seconds, that OpsWorks will wait for Chef to complete after triggering the Shutdown event.

  • name (pulumi.Input[str]) – A human-readable name for the layer.

  • short_name (pulumi.Input[str]) – A short, machine-readable name for the layer, which will be used to identify it in the Chef node JSON.

  • stack_id (pulumi.Input[str]) – The id of the stack the layer will belong to.

  • system_packages (pulumi.Input[list]) – Names of a set of system packages to install on the layer’s instances.

  • use_ebs_optimized_instances (pulumi.Input[bool]) – Whether to use EBS-optimized instances.

The ebs_volumes object supports the following:

  • iops (pulumi.Input[float])

  • mountPoint (pulumi.Input[str])

  • numberOfDisks (pulumi.Input[float])

  • raidLevel (pulumi.Input[str])

  • size (pulumi.Input[float])

  • type (pulumi.Input[str])

auto_assign_elastic_ips = None

Whether to automatically assign an elastic IP address to the layer’s instances.

auto_assign_public_ips = None

For stacks belonging to a VPC, whether to automatically assign a public IP address to each of the layer’s instances.

auto_healing = None

Whether to enable auto-healing for the layer.

custom_instance_profile_arn = None

The ARN of an IAM profile that will be used for the layer’s instances.

custom_json = None

Custom JSON attributes to apply to the layer.

custom_security_group_ids = None

Ids for a set of security groups to apply to the layer’s instances.

drain_elb_on_shutdown = None

Whether to enable Elastic Load Balancing connection draining.

ebs_volumes = None

ebs_volume blocks, as described below, will each create an EBS volume and connect it to the layer’s instances.

  • iops (float)

  • mountPoint (str)

  • numberOfDisks (float)

  • raidLevel (str)

  • size (float)

  • type (str)

elastic_load_balancer = None

Name of an Elastic Load Balancer to attach to this layer

install_updates_on_boot = None

Whether to install OS and package updates on each instance when it boots.

instance_shutdown_timeout = None

The time, in seconds, that OpsWorks will wait for Chef to complete after triggering the Shutdown event.

name = None

A human-readable name for the layer.

short_name = None

A short, machine-readable name for the layer, which will be used to identify it in the Chef node JSON.

stack_id = None

The id of the stack the layer will belong to.

system_packages = None

Names of a set of system packages to install on the layer’s instances.

use_ebs_optimized_instances = None

Whether to use EBS-optimized instances.

static get(resource_name, id, opts=None, auto_assign_elastic_ips=None, auto_assign_public_ips=None, auto_healing=None, custom_configure_recipes=None, custom_deploy_recipes=None, custom_instance_profile_arn=None, custom_json=None, custom_security_group_ids=None, custom_setup_recipes=None, custom_shutdown_recipes=None, custom_undeploy_recipes=None, drain_elb_on_shutdown=None, ebs_volumes=None, elastic_load_balancer=None, install_updates_on_boot=None, instance_shutdown_timeout=None, name=None, short_name=None, stack_id=None, system_packages=None, use_ebs_optimized_instances=None)

Get an existing CustomLayer resource’s state with the given name, id, and optional extra properties used to qualify the lookup.

Parameters
  • resource_name (str) – The unique name of the resulting resource.

  • id (str) – The unique provider ID of the resource to lookup.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • auto_assign_elastic_ips (pulumi.Input[bool]) – Whether to automatically assign an elastic IP address to the layer’s instances.

  • auto_assign_public_ips (pulumi.Input[bool]) – For stacks belonging to a VPC, whether to automatically assign a public IP address to each of the layer’s instances.

  • auto_healing (pulumi.Input[bool]) – Whether to enable auto-healing for the layer.

  • custom_instance_profile_arn (pulumi.Input[str]) – The ARN of an IAM profile that will be used for the layer’s instances.

  • custom_json (pulumi.Input[str]) – Custom JSON attributes to apply to the layer.

  • custom_security_group_ids (pulumi.Input[list]) – Ids for a set of security groups to apply to the layer’s instances.

  • drain_elb_on_shutdown (pulumi.Input[bool]) – Whether to enable Elastic Load Balancing connection draining.

  • ebs_volumes (pulumi.Input[list]) – ebs_volume blocks, as described below, will each create an EBS volume and connect it to the layer’s instances.

  • elastic_load_balancer (pulumi.Input[str]) – Name of an Elastic Load Balancer to attach to this layer

  • install_updates_on_boot (pulumi.Input[bool]) – Whether to install OS and package updates on each instance when it boots.

  • instance_shutdown_timeout (pulumi.Input[float]) – The time, in seconds, that OpsWorks will wait for Chef to complete after triggering the Shutdown event.

  • name (pulumi.Input[str]) – A human-readable name for the layer.

  • short_name (pulumi.Input[str]) – A short, machine-readable name for the layer, which will be used to identify it in the Chef node JSON.

  • stack_id (pulumi.Input[str]) – The id of the stack the layer will belong to.

  • system_packages (pulumi.Input[list]) – Names of a set of system packages to install on the layer’s instances.

  • use_ebs_optimized_instances (pulumi.Input[bool]) – Whether to use EBS-optimized instances.

The ebs_volumes object supports the following:

  • iops (pulumi.Input[float])

  • mountPoint (pulumi.Input[str])

  • numberOfDisks (pulumi.Input[float])

  • raidLevel (pulumi.Input[str])

  • size (pulumi.Input[float])

  • type (pulumi.Input[str])

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

class pulumi_aws.opsworks.GangliaLayer(resource_name, opts=None, auto_assign_elastic_ips=None, auto_assign_public_ips=None, auto_healing=None, custom_configure_recipes=None, custom_deploy_recipes=None, custom_instance_profile_arn=None, custom_json=None, custom_security_group_ids=None, custom_setup_recipes=None, custom_shutdown_recipes=None, custom_undeploy_recipes=None, drain_elb_on_shutdown=None, ebs_volumes=None, elastic_load_balancer=None, install_updates_on_boot=None, instance_shutdown_timeout=None, name=None, password=None, stack_id=None, system_packages=None, url=None, use_ebs_optimized_instances=None, username=None, __props__=None, __name__=None, __opts__=None)

Provides an OpsWorks Ganglia layer resource.

Parameters
  • resource_name (str) – The name of the resource.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • auto_assign_elastic_ips (pulumi.Input[bool]) – Whether to automatically assign an elastic IP address to the layer’s instances.

  • auto_assign_public_ips (pulumi.Input[bool]) – For stacks belonging to a VPC, whether to automatically assign a public IP address to each of the layer’s instances.

  • auto_healing (pulumi.Input[bool]) – Whether to enable auto-healing for the layer.

  • custom_instance_profile_arn (pulumi.Input[str]) – The ARN of an IAM profile that will be used for the layer’s instances.

  • custom_json (pulumi.Input[str]) – Custom JSON attributes to apply to the layer.

  • custom_security_group_ids (pulumi.Input[list]) – Ids for a set of security groups to apply to the layer’s instances.

  • drain_elb_on_shutdown (pulumi.Input[bool]) – Whether to enable Elastic Load Balancing connection draining.

  • ebs_volumes (pulumi.Input[list]) – ebs_volume blocks, as described below, will each create an EBS volume and connect it to the layer’s instances.

  • elastic_load_balancer (pulumi.Input[str]) – Name of an Elastic Load Balancer to attach to this layer

  • install_updates_on_boot (pulumi.Input[bool]) – Whether to install OS and package updates on each instance when it boots.

  • instance_shutdown_timeout (pulumi.Input[float]) – The time, in seconds, that OpsWorks will wait for Chef to complete after triggering the Shutdown event.

  • name (pulumi.Input[str]) – A human-readable name for the layer.

  • password (pulumi.Input[str]) – The password to use for Ganglia.

  • stack_id (pulumi.Input[str]) – The id of the stack the layer will belong to.

  • system_packages (pulumi.Input[list]) – Names of a set of system packages to install on the layer’s instances.

  • url (pulumi.Input[str]) – The URL path to use for Ganglia. Defaults to “/ganglia”.

  • use_ebs_optimized_instances (pulumi.Input[bool]) – Whether to use EBS-optimized instances.

  • username (pulumi.Input[str]) – The username to use for Ganglia. Defaults to “opsworks”.

The ebs_volumes object supports the following:

  • iops (pulumi.Input[float])

  • mountPoint (pulumi.Input[str])

  • numberOfDisks (pulumi.Input[float])

  • raidLevel (pulumi.Input[str])

  • size (pulumi.Input[float])

  • type (pulumi.Input[str])

auto_assign_elastic_ips = None

Whether to automatically assign an elastic IP address to the layer’s instances.

auto_assign_public_ips = None

For stacks belonging to a VPC, whether to automatically assign a public IP address to each of the layer’s instances.

auto_healing = None

Whether to enable auto-healing for the layer.

custom_instance_profile_arn = None

The ARN of an IAM profile that will be used for the layer’s instances.

custom_json = None

Custom JSON attributes to apply to the layer.

custom_security_group_ids = None

Ids for a set of security groups to apply to the layer’s instances.

drain_elb_on_shutdown = None

Whether to enable Elastic Load Balancing connection draining.

ebs_volumes = None

ebs_volume blocks, as described below, will each create an EBS volume and connect it to the layer’s instances.

  • iops (float)

  • mountPoint (str)

  • numberOfDisks (float)

  • raidLevel (str)

  • size (float)

  • type (str)

elastic_load_balancer = None

Name of an Elastic Load Balancer to attach to this layer

install_updates_on_boot = None

Whether to install OS and package updates on each instance when it boots.

instance_shutdown_timeout = None

The time, in seconds, that OpsWorks will wait for Chef to complete after triggering the Shutdown event.

name = None

A human-readable name for the layer.

password = None

The password to use for Ganglia.

stack_id = None

The id of the stack the layer will belong to.

system_packages = None

Names of a set of system packages to install on the layer’s instances.

url = None

The URL path to use for Ganglia. Defaults to “/ganglia”.

use_ebs_optimized_instances = None

Whether to use EBS-optimized instances.

username = None

The username to use for Ganglia. Defaults to “opsworks”.

static get(resource_name, id, opts=None, auto_assign_elastic_ips=None, auto_assign_public_ips=None, auto_healing=None, custom_configure_recipes=None, custom_deploy_recipes=None, custom_instance_profile_arn=None, custom_json=None, custom_security_group_ids=None, custom_setup_recipes=None, custom_shutdown_recipes=None, custom_undeploy_recipes=None, drain_elb_on_shutdown=None, ebs_volumes=None, elastic_load_balancer=None, install_updates_on_boot=None, instance_shutdown_timeout=None, name=None, password=None, stack_id=None, system_packages=None, url=None, use_ebs_optimized_instances=None, username=None)

Get an existing GangliaLayer resource’s state with the given name, id, and optional extra properties used to qualify the lookup.

Parameters
  • resource_name (str) – The unique name of the resulting resource.

  • id (str) – The unique provider ID of the resource to lookup.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • auto_assign_elastic_ips (pulumi.Input[bool]) – Whether to automatically assign an elastic IP address to the layer’s instances.

  • auto_assign_public_ips (pulumi.Input[bool]) – For stacks belonging to a VPC, whether to automatically assign a public IP address to each of the layer’s instances.

  • auto_healing (pulumi.Input[bool]) – Whether to enable auto-healing for the layer.

  • custom_instance_profile_arn (pulumi.Input[str]) – The ARN of an IAM profile that will be used for the layer’s instances.

  • custom_json (pulumi.Input[str]) – Custom JSON attributes to apply to the layer.

  • custom_security_group_ids (pulumi.Input[list]) – Ids for a set of security groups to apply to the layer’s instances.

  • drain_elb_on_shutdown (pulumi.Input[bool]) – Whether to enable Elastic Load Balancing connection draining.

  • ebs_volumes (pulumi.Input[list]) – ebs_volume blocks, as described below, will each create an EBS volume and connect it to the layer’s instances.

  • elastic_load_balancer (pulumi.Input[str]) – Name of an Elastic Load Balancer to attach to this layer

  • install_updates_on_boot (pulumi.Input[bool]) – Whether to install OS and package updates on each instance when it boots.

  • instance_shutdown_timeout (pulumi.Input[float]) – The time, in seconds, that OpsWorks will wait for Chef to complete after triggering the Shutdown event.

  • name (pulumi.Input[str]) – A human-readable name for the layer.

  • password (pulumi.Input[str]) – The password to use for Ganglia.

  • stack_id (pulumi.Input[str]) – The id of the stack the layer will belong to.

  • system_packages (pulumi.Input[list]) – Names of a set of system packages to install on the layer’s instances.

  • url (pulumi.Input[str]) – The URL path to use for Ganglia. Defaults to “/ganglia”.

  • use_ebs_optimized_instances (pulumi.Input[bool]) – Whether to use EBS-optimized instances.

  • username (pulumi.Input[str]) – The username to use for Ganglia. Defaults to “opsworks”.

The ebs_volumes object supports the following:

  • iops (pulumi.Input[float])

  • mountPoint (pulumi.Input[str])

  • numberOfDisks (pulumi.Input[float])

  • raidLevel (pulumi.Input[str])

  • size (pulumi.Input[float])

  • type (pulumi.Input[str])

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

class pulumi_aws.opsworks.HaproxyLayer(resource_name, opts=None, auto_assign_elastic_ips=None, auto_assign_public_ips=None, auto_healing=None, custom_configure_recipes=None, custom_deploy_recipes=None, custom_instance_profile_arn=None, custom_json=None, custom_security_group_ids=None, custom_setup_recipes=None, custom_shutdown_recipes=None, custom_undeploy_recipes=None, drain_elb_on_shutdown=None, ebs_volumes=None, elastic_load_balancer=None, healthcheck_method=None, healthcheck_url=None, install_updates_on_boot=None, instance_shutdown_timeout=None, name=None, stack_id=None, stats_enabled=None, stats_password=None, stats_url=None, stats_user=None, system_packages=None, use_ebs_optimized_instances=None, __props__=None, __name__=None, __opts__=None)

Provides an OpsWorks haproxy layer resource.

Parameters
  • resource_name (str) – The name of the resource.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • auto_assign_elastic_ips (pulumi.Input[bool]) – Whether to automatically assign an elastic IP address to the layer’s instances.

  • auto_assign_public_ips (pulumi.Input[bool]) – For stacks belonging to a VPC, whether to automatically assign a public IP address to each of the layer’s instances.

  • auto_healing (pulumi.Input[bool]) – Whether to enable auto-healing for the layer.

  • custom_instance_profile_arn (pulumi.Input[str]) – The ARN of an IAM profile that will be used for the layer’s instances.

  • custom_json (pulumi.Input[str]) – Custom JSON attributes to apply to the layer.

  • custom_security_group_ids (pulumi.Input[list]) – Ids for a set of security groups to apply to the layer’s instances.

  • drain_elb_on_shutdown (pulumi.Input[bool]) – Whether to enable Elastic Load Balancing connection draining.

  • ebs_volumes (pulumi.Input[list]) – ebs_volume blocks, as described below, will each create an EBS volume and connect it to the layer’s instances.

  • elastic_load_balancer (pulumi.Input[str]) – Name of an Elastic Load Balancer to attach to this layer

  • healthcheck_method (pulumi.Input[str]) – HTTP method to use for instance healthchecks. Defaults to “OPTIONS”.

  • healthcheck_url (pulumi.Input[str]) – URL path to use for instance healthchecks. Defaults to “/”.

  • install_updates_on_boot (pulumi.Input[bool]) – Whether to install OS and package updates on each instance when it boots.

  • instance_shutdown_timeout (pulumi.Input[float]) – The time, in seconds, that OpsWorks will wait for Chef to complete after triggering the Shutdown event.

  • name (pulumi.Input[str]) – A human-readable name for the layer.

  • stack_id (pulumi.Input[str]) – The id of the stack the layer will belong to.

  • stats_enabled (pulumi.Input[bool]) – Whether to enable HAProxy stats.

  • stats_password (pulumi.Input[str]) – The password to use for HAProxy stats.

  • stats_url (pulumi.Input[str]) – The HAProxy stats URL. Defaults to “/haproxy?stats”.

  • stats_user (pulumi.Input[str]) – The username for HAProxy stats. Defaults to “opsworks”.

  • system_packages (pulumi.Input[list]) – Names of a set of system packages to install on the layer’s instances.

  • use_ebs_optimized_instances (pulumi.Input[bool]) – Whether to use EBS-optimized instances.

The ebs_volumes object supports the following:

  • iops (pulumi.Input[float])

  • mountPoint (pulumi.Input[str])

  • numberOfDisks (pulumi.Input[float])

  • raidLevel (pulumi.Input[str])

  • size (pulumi.Input[float])

  • type (pulumi.Input[str])

auto_assign_elastic_ips = None

Whether to automatically assign an elastic IP address to the layer’s instances.

auto_assign_public_ips = None

For stacks belonging to a VPC, whether to automatically assign a public IP address to each of the layer’s instances.

auto_healing = None

Whether to enable auto-healing for the layer.

custom_instance_profile_arn = None

The ARN of an IAM profile that will be used for the layer’s instances.

custom_json = None

Custom JSON attributes to apply to the layer.

custom_security_group_ids = None

Ids for a set of security groups to apply to the layer’s instances.

drain_elb_on_shutdown = None

Whether to enable Elastic Load Balancing connection draining.

ebs_volumes = None

ebs_volume blocks, as described below, will each create an EBS volume and connect it to the layer’s instances.

  • iops (float)

  • mountPoint (str)

  • numberOfDisks (float)

  • raidLevel (str)

  • size (float)

  • type (str)

elastic_load_balancer = None

Name of an Elastic Load Balancer to attach to this layer

healthcheck_method = None

HTTP method to use for instance healthchecks. Defaults to “OPTIONS”.

healthcheck_url = None

URL path to use for instance healthchecks. Defaults to “/”.

install_updates_on_boot = None

Whether to install OS and package updates on each instance when it boots.

instance_shutdown_timeout = None

The time, in seconds, that OpsWorks will wait for Chef to complete after triggering the Shutdown event.

name = None

A human-readable name for the layer.

stack_id = None

The id of the stack the layer will belong to.

stats_enabled = None

Whether to enable HAProxy stats.

stats_password = None

The password to use for HAProxy stats.

stats_url = None

The HAProxy stats URL. Defaults to “/haproxy?stats”.

stats_user = None

The username for HAProxy stats. Defaults to “opsworks”.

system_packages = None

Names of a set of system packages to install on the layer’s instances.

use_ebs_optimized_instances = None

Whether to use EBS-optimized instances.

static get(resource_name, id, opts=None, auto_assign_elastic_ips=None, auto_assign_public_ips=None, auto_healing=None, custom_configure_recipes=None, custom_deploy_recipes=None, custom_instance_profile_arn=None, custom_json=None, custom_security_group_ids=None, custom_setup_recipes=None, custom_shutdown_recipes=None, custom_undeploy_recipes=None, drain_elb_on_shutdown=None, ebs_volumes=None, elastic_load_balancer=None, healthcheck_method=None, healthcheck_url=None, install_updates_on_boot=None, instance_shutdown_timeout=None, name=None, stack_id=None, stats_enabled=None, stats_password=None, stats_url=None, stats_user=None, system_packages=None, use_ebs_optimized_instances=None)

Get an existing HaproxyLayer resource’s state with the given name, id, and optional extra properties used to qualify the lookup.

Parameters
  • resource_name (str) – The unique name of the resulting resource.

  • id (str) – The unique provider ID of the resource to lookup.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • auto_assign_elastic_ips (pulumi.Input[bool]) – Whether to automatically assign an elastic IP address to the layer’s instances.

  • auto_assign_public_ips (pulumi.Input[bool]) – For stacks belonging to a VPC, whether to automatically assign a public IP address to each of the layer’s instances.

  • auto_healing (pulumi.Input[bool]) – Whether to enable auto-healing for the layer.

  • custom_instance_profile_arn (pulumi.Input[str]) – The ARN of an IAM profile that will be used for the layer’s instances.

  • custom_json (pulumi.Input[str]) – Custom JSON attributes to apply to the layer.

  • custom_security_group_ids (pulumi.Input[list]) – Ids for a set of security groups to apply to the layer’s instances.

  • drain_elb_on_shutdown (pulumi.Input[bool]) – Whether to enable Elastic Load Balancing connection draining.

  • ebs_volumes (pulumi.Input[list]) – ebs_volume blocks, as described below, will each create an EBS volume and connect it to the layer’s instances.

  • elastic_load_balancer (pulumi.Input[str]) – Name of an Elastic Load Balancer to attach to this layer

  • healthcheck_method (pulumi.Input[str]) – HTTP method to use for instance healthchecks. Defaults to “OPTIONS”.

  • healthcheck_url (pulumi.Input[str]) – URL path to use for instance healthchecks. Defaults to “/”.

  • install_updates_on_boot (pulumi.Input[bool]) – Whether to install OS and package updates on each instance when it boots.

  • instance_shutdown_timeout (pulumi.Input[float]) – The time, in seconds, that OpsWorks will wait for Chef to complete after triggering the Shutdown event.

  • name (pulumi.Input[str]) – A human-readable name for the layer.

  • stack_id (pulumi.Input[str]) – The id of the stack the layer will belong to.

  • stats_enabled (pulumi.Input[bool]) – Whether to enable HAProxy stats.

  • stats_password (pulumi.Input[str]) – The password to use for HAProxy stats.

  • stats_url (pulumi.Input[str]) – The HAProxy stats URL. Defaults to “/haproxy?stats”.

  • stats_user (pulumi.Input[str]) – The username for HAProxy stats. Defaults to “opsworks”.

  • system_packages (pulumi.Input[list]) – Names of a set of system packages to install on the layer’s instances.

  • use_ebs_optimized_instances (pulumi.Input[bool]) – Whether to use EBS-optimized instances.

The ebs_volumes object supports the following:

  • iops (pulumi.Input[float])

  • mountPoint (pulumi.Input[str])

  • numberOfDisks (pulumi.Input[float])

  • raidLevel (pulumi.Input[str])

  • size (pulumi.Input[float])

  • type (pulumi.Input[str])

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

class pulumi_aws.opsworks.Instance(resource_name, opts=None, agent_version=None, ami_id=None, architecture=None, auto_scaling_type=None, availability_zone=None, created_at=None, delete_ebs=None, delete_eip=None, ebs_block_devices=None, ebs_optimized=None, ecs_cluster_arn=None, elastic_ip=None, ephemeral_block_devices=None, hostname=None, infrastructure_class=None, install_updates_on_boot=None, instance_profile_arn=None, instance_type=None, last_service_error_id=None, layer_ids=None, os=None, platform=None, private_dns=None, private_ip=None, public_dns=None, public_ip=None, registered_by=None, reported_agent_version=None, reported_os_family=None, reported_os_name=None, reported_os_version=None, root_block_devices=None, root_device_type=None, root_device_volume_id=None, security_group_ids=None, ssh_host_dsa_key_fingerprint=None, ssh_host_rsa_key_fingerprint=None, ssh_key_name=None, stack_id=None, state=None, status=None, subnet_id=None, tenancy=None, virtualization_type=None, __props__=None, __name__=None, __opts__=None)

Provides an OpsWorks instance resource.

Each of the *_block_device attributes controls a portion of the AWS Instance’s “Block Device Mapping”. It’s a good idea to familiarize yourself with AWS’s Block Device Mapping docs to understand the implications of using these attributes.

The root_block_device mapping supports the following:

  • volume_type - (Optional) The type of volume. Can be "standard", "gp2", or "io1". (Default: "standard").

  • volume_size - (Optional) The size of the volume in gigabytes.

  • iops - (Optional) The amount of provisioned IOPS. This must be set with a volume_type of "io1".

  • delete_on_termination - (Optional) Whether the volume should be destroyed on instance termination (Default: true).

Modifying any of the root_block_device settings requires resource replacement.

Each ebs_block_device supports the following:

  • device_name - The name of the device to mount.

  • snapshot_id - (Optional) The Snapshot ID to mount.

  • volume_type - (Optional) The type of volume. Can be "standard", "gp2", or "io1". (Default: "standard").

  • volume_size - (Optional) The size of the volume in gigabytes.

  • iops - (Optional) The amount of provisioned IOPS. This must be set with a volume_type of "io1".

  • delete_on_termination - (Optional) Whether the volume should be destroyed on instance termination (Default: true).

Modifying any ebs_block_device currently requires resource replacement.

Each ephemeral_block_device supports the following:

  • device_name - The name of the block device to mount on the instance.

  • virtual_name - The Instance Store Device Name (e.g. "ephemeral0")

Each AWS Instance type has a different set of Instance Store block devices available for attachment. AWS publishes a list of which ephemeral devices are available on each type. The devices are always identified by the virtual_name in the format "ephemeral{0..N}".

NOTE: Currently, changes to *_block_device configuration of existing resources cannot be automatically detected by this provider. After making updates to block device configuration, resource recreation can be manually triggered by using the ``taint` command <https://www.terraform.io/docs/commands/taint.html>`_.

Parameters
  • resource_name (str) – The name of the resource.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • agent_version (pulumi.Input[str]) – The AWS OpsWorks agent to install. Defaults to "INHERIT".

  • ami_id (pulumi.Input[str]) – The AMI to use for the instance. If an AMI is specified, os must be "Custom".

  • architecture (pulumi.Input[str]) – Machine architecture for created instances. Can be either "x86_64" (the default) or "i386"

  • auto_scaling_type (pulumi.Input[str]) – Creates load-based or time-based instances. If set, can be either: "load" or "timer".

  • availability_zone (pulumi.Input[str]) – Name of the availability zone where instances will be created by default.

  • ebs_block_devices (pulumi.Input[list]) – Additional EBS block devices to attach to the instance. See Block Devices below for details.

  • ebs_optimized (pulumi.Input[bool]) – If true, the launched EC2 instance will be EBS-optimized.

  • ephemeral_block_devices (pulumi.Input[list]) – Customize Ephemeral (also known as “Instance Store”) volumes on the instance. See Block Devices below for details.

  • hostname (pulumi.Input[str]) – The instance’s host name.

  • install_updates_on_boot (pulumi.Input[bool]) – Controls where to install OS and package updates when the instance boots. Defaults to true.

  • instance_type (pulumi.Input[str]) – The type of instance to start

  • layer_ids (pulumi.Input[list]) – The ids of the layers the instance will belong to.

  • os (pulumi.Input[str]) – Name of operating system that will be installed.

  • private_dns (pulumi.Input[str]) – The private DNS name assigned to the instance. Can only be used inside the Amazon EC2, and only available if you’ve enabled DNS hostnames for your VPC

  • private_ip (pulumi.Input[str]) – The private IP address assigned to the instance

  • public_dns (pulumi.Input[str]) – The public DNS name assigned to the instance. For EC2-VPC, this is only available if you’ve enabled DNS hostnames for your VPC

  • public_ip (pulumi.Input[str]) – The public IP address assigned to the instance, if applicable.

  • root_block_devices (pulumi.Input[list]) – Customize details about the root block device of the instance. See Block Devices below for details.

  • root_device_type (pulumi.Input[str]) – Name of the type of root device instances will have by default. Can be either "ebs" or "instance-store"

  • security_group_ids (pulumi.Input[list]) – The associated security groups.

  • ssh_key_name (pulumi.Input[str]) – Name of the SSH keypair that instances will have by default.

  • stack_id (pulumi.Input[str]) – The id of the stack the instance will belong to.

  • state (pulumi.Input[str]) – The desired state of the instance. Can be either "running" or "stopped".

  • subnet_id (pulumi.Input[str]) – Subnet ID to attach to

  • tenancy (pulumi.Input[str]) – Instance tenancy to use. Can be one of "default", "dedicated" or "host"

  • virtualization_type (pulumi.Input[str]) – Keyword to choose what virtualization mode created instances will use. Can be either "paravirtual" or "hvm".

The ebs_block_devices object supports the following:

  • deleteOnTermination (pulumi.Input[bool])

  • device_name (pulumi.Input[str])

  • iops (pulumi.Input[float])

  • snapshot_id (pulumi.Input[str])

  • volume_size (pulumi.Input[float])

  • volumeType (pulumi.Input[str])

The ephemeral_block_devices object supports the following:

  • device_name (pulumi.Input[str])

  • virtualName (pulumi.Input[str])

The root_block_devices object supports the following:

  • deleteOnTermination (pulumi.Input[bool])

  • iops (pulumi.Input[float])

  • volume_size (pulumi.Input[float])

  • volumeType (pulumi.Input[str])

agent_version = None

The AWS OpsWorks agent to install. Defaults to "INHERIT".

ami_id = None

The AMI to use for the instance. If an AMI is specified, os must be "Custom".

architecture = None

Machine architecture for created instances. Can be either "x86_64" (the default) or "i386"

auto_scaling_type = None

Creates load-based or time-based instances. If set, can be either: "load" or "timer".

availability_zone = None

Name of the availability zone where instances will be created by default.

ebs_block_devices = None

Additional EBS block devices to attach to the instance. See Block Devices below for details.

  • deleteOnTermination (bool)

  • device_name (str)

  • iops (float)

  • snapshot_id (str)

  • volume_size (float)

  • volumeType (str)

ebs_optimized = None

If true, the launched EC2 instance will be EBS-optimized.

ec2_instance_id = None

EC2 instance ID

ephemeral_block_devices = None

Customize Ephemeral (also known as “Instance Store”) volumes on the instance. See Block Devices below for details.

  • device_name (str)

  • virtualName (str)

hostname = None

The instance’s host name.

install_updates_on_boot = None

Controls where to install OS and package updates when the instance boots. Defaults to true.

instance_type = None

The type of instance to start

layer_ids = None

The ids of the layers the instance will belong to.

os = None

Name of operating system that will be installed.

private_dns = None

The private DNS name assigned to the instance. Can only be used inside the Amazon EC2, and only available if you’ve enabled DNS hostnames for your VPC

private_ip = None

The private IP address assigned to the instance

public_dns = None

The public DNS name assigned to the instance. For EC2-VPC, this is only available if you’ve enabled DNS hostnames for your VPC

public_ip = None

The public IP address assigned to the instance, if applicable.

root_block_devices = None

Customize details about the root block device of the instance. See Block Devices below for details.

  • deleteOnTermination (bool)

  • iops (float)

  • volume_size (float)

  • volumeType (str)

root_device_type = None

Name of the type of root device instances will have by default. Can be either "ebs" or "instance-store"

security_group_ids = None

The associated security groups.

ssh_key_name = None

Name of the SSH keypair that instances will have by default.

stack_id = None

The id of the stack the instance will belong to.

state = None

The desired state of the instance. Can be either "running" or "stopped".

subnet_id = None

Subnet ID to attach to

tenancy = None

Instance tenancy to use. Can be one of "default", "dedicated" or "host"

virtualization_type = None

Keyword to choose what virtualization mode created instances will use. Can be either "paravirtual" or "hvm".

static get(resource_name, id, opts=None, agent_version=None, ami_id=None, architecture=None, auto_scaling_type=None, availability_zone=None, created_at=None, delete_ebs=None, delete_eip=None, ebs_block_devices=None, ebs_optimized=None, ec2_instance_id=None, ecs_cluster_arn=None, elastic_ip=None, ephemeral_block_devices=None, hostname=None, infrastructure_class=None, install_updates_on_boot=None, instance_profile_arn=None, instance_type=None, last_service_error_id=None, layer_ids=None, os=None, platform=None, private_dns=None, private_ip=None, public_dns=None, public_ip=None, registered_by=None, reported_agent_version=None, reported_os_family=None, reported_os_name=None, reported_os_version=None, root_block_devices=None, root_device_type=None, root_device_volume_id=None, security_group_ids=None, ssh_host_dsa_key_fingerprint=None, ssh_host_rsa_key_fingerprint=None, ssh_key_name=None, stack_id=None, state=None, status=None, subnet_id=None, tenancy=None, virtualization_type=None)

Get an existing Instance resource’s state with the given name, id, and optional extra properties used to qualify the lookup.

Parameters
  • resource_name (str) – The unique name of the resulting resource.

  • id (str) – The unique provider ID of the resource to lookup.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • agent_version (pulumi.Input[str]) – The AWS OpsWorks agent to install. Defaults to "INHERIT".

  • ami_id (pulumi.Input[str]) – The AMI to use for the instance. If an AMI is specified, os must be "Custom".

  • architecture (pulumi.Input[str]) – Machine architecture for created instances. Can be either "x86_64" (the default) or "i386"

  • auto_scaling_type (pulumi.Input[str]) – Creates load-based or time-based instances. If set, can be either: "load" or "timer".

  • availability_zone (pulumi.Input[str]) – Name of the availability zone where instances will be created by default.

  • ebs_block_devices (pulumi.Input[list]) – Additional EBS block devices to attach to the instance. See Block Devices below for details.

  • ebs_optimized (pulumi.Input[bool]) – If true, the launched EC2 instance will be EBS-optimized.

  • ec2_instance_id (pulumi.Input[str]) – EC2 instance ID

  • ephemeral_block_devices (pulumi.Input[list]) – Customize Ephemeral (also known as “Instance Store”) volumes on the instance. See Block Devices below for details.

  • hostname (pulumi.Input[str]) – The instance’s host name.

  • install_updates_on_boot (pulumi.Input[bool]) – Controls where to install OS and package updates when the instance boots. Defaults to true.

  • instance_type (pulumi.Input[str]) – The type of instance to start

  • layer_ids (pulumi.Input[list]) – The ids of the layers the instance will belong to.

  • os (pulumi.Input[str]) – Name of operating system that will be installed.

  • private_dns (pulumi.Input[str]) – The private DNS name assigned to the instance. Can only be used inside the Amazon EC2, and only available if you’ve enabled DNS hostnames for your VPC

  • private_ip (pulumi.Input[str]) – The private IP address assigned to the instance

  • public_dns (pulumi.Input[str]) – The public DNS name assigned to the instance. For EC2-VPC, this is only available if you’ve enabled DNS hostnames for your VPC

  • public_ip (pulumi.Input[str]) – The public IP address assigned to the instance, if applicable.

  • root_block_devices (pulumi.Input[list]) – Customize details about the root block device of the instance. See Block Devices below for details.

  • root_device_type (pulumi.Input[str]) – Name of the type of root device instances will have by default. Can be either "ebs" or "instance-store"

  • security_group_ids (pulumi.Input[list]) – The associated security groups.

  • ssh_key_name (pulumi.Input[str]) – Name of the SSH keypair that instances will have by default.

  • stack_id (pulumi.Input[str]) – The id of the stack the instance will belong to.

  • state (pulumi.Input[str]) – The desired state of the instance. Can be either "running" or "stopped".

  • subnet_id (pulumi.Input[str]) – Subnet ID to attach to

  • tenancy (pulumi.Input[str]) – Instance tenancy to use. Can be one of "default", "dedicated" or "host"

  • virtualization_type (pulumi.Input[str]) – Keyword to choose what virtualization mode created instances will use. Can be either "paravirtual" or "hvm".

The ebs_block_devices object supports the following:

  • deleteOnTermination (pulumi.Input[bool])

  • device_name (pulumi.Input[str])

  • iops (pulumi.Input[float])

  • snapshot_id (pulumi.Input[str])

  • volume_size (pulumi.Input[float])

  • volumeType (pulumi.Input[str])

The ephemeral_block_devices object supports the following:

  • device_name (pulumi.Input[str])

  • virtualName (pulumi.Input[str])

The root_block_devices object supports the following:

  • deleteOnTermination (pulumi.Input[bool])

  • iops (pulumi.Input[float])

  • volume_size (pulumi.Input[float])

  • volumeType (pulumi.Input[str])

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

class pulumi_aws.opsworks.JavaAppLayer(resource_name, opts=None, app_server=None, app_server_version=None, auto_assign_elastic_ips=None, auto_assign_public_ips=None, auto_healing=None, custom_configure_recipes=None, custom_deploy_recipes=None, custom_instance_profile_arn=None, custom_json=None, custom_security_group_ids=None, custom_setup_recipes=None, custom_shutdown_recipes=None, custom_undeploy_recipes=None, drain_elb_on_shutdown=None, ebs_volumes=None, elastic_load_balancer=None, install_updates_on_boot=None, instance_shutdown_timeout=None, jvm_options=None, jvm_type=None, jvm_version=None, name=None, stack_id=None, system_packages=None, use_ebs_optimized_instances=None, __props__=None, __name__=None, __opts__=None)

Provides an OpsWorks Java application layer resource.

Parameters
  • resource_name (str) – The name of the resource.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • app_server (pulumi.Input[str]) – Keyword for the application container to use. Defaults to “tomcat”.

  • app_server_version (pulumi.Input[str]) – Version of the selected application container to use. Defaults to “7”.

  • auto_assign_elastic_ips (pulumi.Input[bool]) – Whether to automatically assign an elastic IP address to the layer’s instances.

  • auto_assign_public_ips (pulumi.Input[bool]) – For stacks belonging to a VPC, whether to automatically assign a public IP address to each of the layer’s instances.

  • auto_healing (pulumi.Input[bool]) – Whether to enable auto-healing for the layer.

  • custom_instance_profile_arn (pulumi.Input[str]) – The ARN of an IAM profile that will be used for the layer’s instances.

  • custom_json (pulumi.Input[str]) – Custom JSON attributes to apply to the layer.

  • custom_security_group_ids (pulumi.Input[list]) – Ids for a set of security groups to apply to the layer’s instances.

  • drain_elb_on_shutdown (pulumi.Input[bool]) – Whether to enable Elastic Load Balancing connection draining.

  • ebs_volumes (pulumi.Input[list]) – ebs_volume blocks, as described below, will each create an EBS volume and connect it to the layer’s instances.

  • elastic_load_balancer (pulumi.Input[str]) – Name of an Elastic Load Balancer to attach to this layer

  • install_updates_on_boot (pulumi.Input[bool]) – Whether to install OS and package updates on each instance when it boots.

  • instance_shutdown_timeout (pulumi.Input[float]) – The time, in seconds, that OpsWorks will wait for Chef to complete after triggering the Shutdown event.

  • jvm_options (pulumi.Input[str]) – Options to set for the JVM.

  • jvm_type (pulumi.Input[str]) – Keyword for the type of JVM to use. Defaults to openjdk.

  • jvm_version (pulumi.Input[str]) – Version of JVM to use. Defaults to “7”.

  • name (pulumi.Input[str]) – A human-readable name for the layer.

  • stack_id (pulumi.Input[str]) – The id of the stack the layer will belong to.

  • system_packages (pulumi.Input[list]) – Names of a set of system packages to install on the layer’s instances.

  • use_ebs_optimized_instances (pulumi.Input[bool]) – Whether to use EBS-optimized instances.

The ebs_volumes object supports the following:

  • iops (pulumi.Input[float])

  • mountPoint (pulumi.Input[str])

  • numberOfDisks (pulumi.Input[float])

  • raidLevel (pulumi.Input[str])

  • size (pulumi.Input[float])

  • type (pulumi.Input[str])

app_server = None

Keyword for the application container to use. Defaults to “tomcat”.

app_server_version = None

Version of the selected application container to use. Defaults to “7”.

auto_assign_elastic_ips = None

Whether to automatically assign an elastic IP address to the layer’s instances.

auto_assign_public_ips = None

For stacks belonging to a VPC, whether to automatically assign a public IP address to each of the layer’s instances.

auto_healing = None

Whether to enable auto-healing for the layer.

custom_instance_profile_arn = None

The ARN of an IAM profile that will be used for the layer’s instances.

custom_json = None

Custom JSON attributes to apply to the layer.

custom_security_group_ids = None

Ids for a set of security groups to apply to the layer’s instances.

drain_elb_on_shutdown = None

Whether to enable Elastic Load Balancing connection draining.

ebs_volumes = None

ebs_volume blocks, as described below, will each create an EBS volume and connect it to the layer’s instances.

  • iops (float)

  • mountPoint (str)

  • numberOfDisks (float)

  • raidLevel (str)

  • size (float)

  • type (str)

elastic_load_balancer = None

Name of an Elastic Load Balancer to attach to this layer

install_updates_on_boot = None

Whether to install OS and package updates on each instance when it boots.

instance_shutdown_timeout = None

The time, in seconds, that OpsWorks will wait for Chef to complete after triggering the Shutdown event.

jvm_options = None

Options to set for the JVM.

jvm_type = None

Keyword for the type of JVM to use. Defaults to openjdk.

jvm_version = None

Version of JVM to use. Defaults to “7”.

name = None

A human-readable name for the layer.

stack_id = None

The id of the stack the layer will belong to.

system_packages = None

Names of a set of system packages to install on the layer’s instances.

use_ebs_optimized_instances = None

Whether to use EBS-optimized instances.

static get(resource_name, id, opts=None, app_server=None, app_server_version=None, auto_assign_elastic_ips=None, auto_assign_public_ips=None, auto_healing=None, custom_configure_recipes=None, custom_deploy_recipes=None, custom_instance_profile_arn=None, custom_json=None, custom_security_group_ids=None, custom_setup_recipes=None, custom_shutdown_recipes=None, custom_undeploy_recipes=None, drain_elb_on_shutdown=None, ebs_volumes=None, elastic_load_balancer=None, install_updates_on_boot=None, instance_shutdown_timeout=None, jvm_options=None, jvm_type=None, jvm_version=None, name=None, stack_id=None, system_packages=None, use_ebs_optimized_instances=None)

Get an existing JavaAppLayer resource’s state with the given name, id, and optional extra properties used to qualify the lookup.

Parameters
  • resource_name (str) – The unique name of the resulting resource.

  • id (str) – The unique provider ID of the resource to lookup.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • app_server (pulumi.Input[str]) – Keyword for the application container to use. Defaults to “tomcat”.

  • app_server_version (pulumi.Input[str]) – Version of the selected application container to use. Defaults to “7”.

  • auto_assign_elastic_ips (pulumi.Input[bool]) – Whether to automatically assign an elastic IP address to the layer’s instances.

  • auto_assign_public_ips (pulumi.Input[bool]) – For stacks belonging to a VPC, whether to automatically assign a public IP address to each of the layer’s instances.

  • auto_healing (pulumi.Input[bool]) – Whether to enable auto-healing for the layer.

  • custom_instance_profile_arn (pulumi.Input[str]) – The ARN of an IAM profile that will be used for the layer’s instances.

  • custom_json (pulumi.Input[str]) – Custom JSON attributes to apply to the layer.

  • custom_security_group_ids (pulumi.Input[list]) – Ids for a set of security groups to apply to the layer’s instances.

  • drain_elb_on_shutdown (pulumi.Input[bool]) – Whether to enable Elastic Load Balancing connection draining.

  • ebs_volumes (pulumi.Input[list]) – ebs_volume blocks, as described below, will each create an EBS volume and connect it to the layer’s instances.

  • elastic_load_balancer (pulumi.Input[str]) – Name of an Elastic Load Balancer to attach to this layer

  • install_updates_on_boot (pulumi.Input[bool]) – Whether to install OS and package updates on each instance when it boots.

  • instance_shutdown_timeout (pulumi.Input[float]) – The time, in seconds, that OpsWorks will wait for Chef to complete after triggering the Shutdown event.

  • jvm_options (pulumi.Input[str]) – Options to set for the JVM.

  • jvm_type (pulumi.Input[str]) – Keyword for the type of JVM to use. Defaults to openjdk.

  • jvm_version (pulumi.Input[str]) – Version of JVM to use. Defaults to “7”.

  • name (pulumi.Input[str]) – A human-readable name for the layer.

  • stack_id (pulumi.Input[str]) – The id of the stack the layer will belong to.

  • system_packages (pulumi.Input[list]) – Names of a set of system packages to install on the layer’s instances.

  • use_ebs_optimized_instances (pulumi.Input[bool]) – Whether to use EBS-optimized instances.

The ebs_volumes object supports the following:

  • iops (pulumi.Input[float])

  • mountPoint (pulumi.Input[str])

  • numberOfDisks (pulumi.Input[float])

  • raidLevel (pulumi.Input[str])

  • size (pulumi.Input[float])

  • type (pulumi.Input[str])

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

class pulumi_aws.opsworks.MemcachedLayer(resource_name, opts=None, allocated_memory=None, auto_assign_elastic_ips=None, auto_assign_public_ips=None, auto_healing=None, custom_configure_recipes=None, custom_deploy_recipes=None, custom_instance_profile_arn=None, custom_json=None, custom_security_group_ids=None, custom_setup_recipes=None, custom_shutdown_recipes=None, custom_undeploy_recipes=None, drain_elb_on_shutdown=None, ebs_volumes=None, elastic_load_balancer=None, install_updates_on_boot=None, instance_shutdown_timeout=None, name=None, stack_id=None, system_packages=None, use_ebs_optimized_instances=None, __props__=None, __name__=None, __opts__=None)

Provides an OpsWorks memcached layer resource.

Parameters
  • resource_name (str) – The name of the resource.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • allocated_memory (pulumi.Input[float]) – Amount of memory to allocate for the cache on each instance, in megabytes. Defaults to 512MB.

  • auto_assign_elastic_ips (pulumi.Input[bool]) – Whether to automatically assign an elastic IP address to the layer’s instances.

  • auto_assign_public_ips (pulumi.Input[bool]) – For stacks belonging to a VPC, whether to automatically assign a public IP address to each of the layer’s instances.

  • auto_healing (pulumi.Input[bool]) – Whether to enable auto-healing for the layer.

  • custom_instance_profile_arn (pulumi.Input[str]) – The ARN of an IAM profile that will be used for the layer’s instances.

  • custom_json (pulumi.Input[str]) – Custom JSON attributes to apply to the layer.

  • custom_security_group_ids (pulumi.Input[list]) – Ids for a set of security groups to apply to the layer’s instances.

  • drain_elb_on_shutdown (pulumi.Input[bool]) – Whether to enable Elastic Load Balancing connection draining.

  • ebs_volumes (pulumi.Input[list]) – ebs_volume blocks, as described below, will each create an EBS volume and connect it to the layer’s instances.

  • elastic_load_balancer (pulumi.Input[str]) – Name of an Elastic Load Balancer to attach to this layer

  • install_updates_on_boot (pulumi.Input[bool]) – Whether to install OS and package updates on each instance when it boots.

  • instance_shutdown_timeout (pulumi.Input[float]) – The time, in seconds, that OpsWorks will wait for Chef to complete after triggering the Shutdown event.

  • name (pulumi.Input[str]) – A human-readable name for the layer.

  • stack_id (pulumi.Input[str]) – The id of the stack the layer will belong to.

  • system_packages (pulumi.Input[list]) – Names of a set of system packages to install on the layer’s instances.

  • use_ebs_optimized_instances (pulumi.Input[bool]) – Whether to use EBS-optimized instances.

The ebs_volumes object supports the following:

  • iops (pulumi.Input[float])

  • mountPoint (pulumi.Input[str])

  • numberOfDisks (pulumi.Input[float])

  • raidLevel (pulumi.Input[str])

  • size (pulumi.Input[float])

  • type (pulumi.Input[str])

allocated_memory = None

Amount of memory to allocate for the cache on each instance, in megabytes. Defaults to 512MB.

auto_assign_elastic_ips = None

Whether to automatically assign an elastic IP address to the layer’s instances.

auto_assign_public_ips = None

For stacks belonging to a VPC, whether to automatically assign a public IP address to each of the layer’s instances.

auto_healing = None

Whether to enable auto-healing for the layer.

custom_instance_profile_arn = None

The ARN of an IAM profile that will be used for the layer’s instances.

custom_json = None

Custom JSON attributes to apply to the layer.

custom_security_group_ids = None

Ids for a set of security groups to apply to the layer’s instances.

drain_elb_on_shutdown = None

Whether to enable Elastic Load Balancing connection draining.

ebs_volumes = None

ebs_volume blocks, as described below, will each create an EBS volume and connect it to the layer’s instances.

  • iops (float)

  • mountPoint (str)

  • numberOfDisks (float)

  • raidLevel (str)

  • size (float)

  • type (str)

elastic_load_balancer = None

Name of an Elastic Load Balancer to attach to this layer

install_updates_on_boot = None

Whether to install OS and package updates on each instance when it boots.

instance_shutdown_timeout = None

The time, in seconds, that OpsWorks will wait for Chef to complete after triggering the Shutdown event.

name = None

A human-readable name for the layer.

stack_id = None

The id of the stack the layer will belong to.

system_packages = None

Names of a set of system packages to install on the layer’s instances.

use_ebs_optimized_instances = None

Whether to use EBS-optimized instances.

static get(resource_name, id, opts=None, allocated_memory=None, auto_assign_elastic_ips=None, auto_assign_public_ips=None, auto_healing=None, custom_configure_recipes=None, custom_deploy_recipes=None, custom_instance_profile_arn=None, custom_json=None, custom_security_group_ids=None, custom_setup_recipes=None, custom_shutdown_recipes=None, custom_undeploy_recipes=None, drain_elb_on_shutdown=None, ebs_volumes=None, elastic_load_balancer=None, install_updates_on_boot=None, instance_shutdown_timeout=None, name=None, stack_id=None, system_packages=None, use_ebs_optimized_instances=None)

Get an existing MemcachedLayer resource’s state with the given name, id, and optional extra properties used to qualify the lookup.

Parameters
  • resource_name (str) – The unique name of the resulting resource.

  • id (str) – The unique provider ID of the resource to lookup.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • allocated_memory (pulumi.Input[float]) – Amount of memory to allocate for the cache on each instance, in megabytes. Defaults to 512MB.

  • auto_assign_elastic_ips (pulumi.Input[bool]) – Whether to automatically assign an elastic IP address to the layer’s instances.

  • auto_assign_public_ips (pulumi.Input[bool]) – For stacks belonging to a VPC, whether to automatically assign a public IP address to each of the layer’s instances.

  • auto_healing (pulumi.Input[bool]) – Whether to enable auto-healing for the layer.

  • custom_instance_profile_arn (pulumi.Input[str]) – The ARN of an IAM profile that will be used for the layer’s instances.

  • custom_json (pulumi.Input[str]) – Custom JSON attributes to apply to the layer.

  • custom_security_group_ids (pulumi.Input[list]) – Ids for a set of security groups to apply to the layer’s instances.

  • drain_elb_on_shutdown (pulumi.Input[bool]) – Whether to enable Elastic Load Balancing connection draining.

  • ebs_volumes (pulumi.Input[list]) – ebs_volume blocks, as described below, will each create an EBS volume and connect it to the layer’s instances.

  • elastic_load_balancer (pulumi.Input[str]) – Name of an Elastic Load Balancer to attach to this layer

  • install_updates_on_boot (pulumi.Input[bool]) – Whether to install OS and package updates on each instance when it boots.

  • instance_shutdown_timeout (pulumi.Input[float]) – The time, in seconds, that OpsWorks will wait for Chef to complete after triggering the Shutdown event.

  • name (pulumi.Input[str]) – A human-readable name for the layer.

  • stack_id (pulumi.Input[str]) – The id of the stack the layer will belong to.

  • system_packages (pulumi.Input[list]) – Names of a set of system packages to install on the layer’s instances.

  • use_ebs_optimized_instances (pulumi.Input[bool]) – Whether to use EBS-optimized instances.

The ebs_volumes object supports the following:

  • iops (pulumi.Input[float])

  • mountPoint (pulumi.Input[str])

  • numberOfDisks (pulumi.Input[float])

  • raidLevel (pulumi.Input[str])

  • size (pulumi.Input[float])

  • type (pulumi.Input[str])

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

class pulumi_aws.opsworks.MysqlLayer(resource_name, opts=None, auto_assign_elastic_ips=None, auto_assign_public_ips=None, auto_healing=None, custom_configure_recipes=None, custom_deploy_recipes=None, custom_instance_profile_arn=None, custom_json=None, custom_security_group_ids=None, custom_setup_recipes=None, custom_shutdown_recipes=None, custom_undeploy_recipes=None, drain_elb_on_shutdown=None, ebs_volumes=None, elastic_load_balancer=None, install_updates_on_boot=None, instance_shutdown_timeout=None, name=None, root_password=None, root_password_on_all_instances=None, stack_id=None, system_packages=None, use_ebs_optimized_instances=None, __props__=None, __name__=None, __opts__=None)

Provides an OpsWorks MySQL layer resource.

Note: All arguments including the root password will be stored in the raw state as plain-text. Read more about sensitive data in state.

Parameters
  • resource_name (str) – The name of the resource.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • auto_assign_elastic_ips (pulumi.Input[bool]) – Whether to automatically assign an elastic IP address to the layer’s instances.

  • auto_assign_public_ips (pulumi.Input[bool]) – For stacks belonging to a VPC, whether to automatically assign a public IP address to each of the layer’s instances.

  • auto_healing (pulumi.Input[bool]) – Whether to enable auto-healing for the layer.

  • custom_instance_profile_arn (pulumi.Input[str]) – The ARN of an IAM profile that will be used for the layer’s instances.

  • custom_json (pulumi.Input[str]) – Custom JSON attributes to apply to the layer.

  • custom_security_group_ids (pulumi.Input[list]) – Ids for a set of security groups to apply to the layer’s instances.

  • drain_elb_on_shutdown (pulumi.Input[bool]) – Whether to enable Elastic Load Balancing connection draining.

  • ebs_volumes (pulumi.Input[list]) – ebs_volume blocks, as described below, will each create an EBS volume and connect it to the layer’s instances.

  • elastic_load_balancer (pulumi.Input[str]) – Name of an Elastic Load Balancer to attach to this layer

  • install_updates_on_boot (pulumi.Input[bool]) – Whether to install OS and package updates on each instance when it boots.

  • instance_shutdown_timeout (pulumi.Input[float]) – The time, in seconds, that OpsWorks will wait for Chef to complete after triggering the Shutdown event.

  • name (pulumi.Input[str]) – A human-readable name for the layer.

  • root_password (pulumi.Input[str]) – Root password to use for MySQL.

  • root_password_on_all_instances (pulumi.Input[bool]) – Whether to set the root user password to all instances in the stack so they can access the instances in this layer.

  • stack_id (pulumi.Input[str]) – The id of the stack the layer will belong to.

  • system_packages (pulumi.Input[list]) – Names of a set of system packages to install on the layer’s instances.

  • use_ebs_optimized_instances (pulumi.Input[bool]) – Whether to use EBS-optimized instances.

The ebs_volumes object supports the following:

  • iops (pulumi.Input[float])

  • mountPoint (pulumi.Input[str])

  • numberOfDisks (pulumi.Input[float])

  • raidLevel (pulumi.Input[str])

  • size (pulumi.Input[float])

  • type (pulumi.Input[str])

auto_assign_elastic_ips = None

Whether to automatically assign an elastic IP address to the layer’s instances.

auto_assign_public_ips = None

For stacks belonging to a VPC, whether to automatically assign a public IP address to each of the layer’s instances.

auto_healing = None

Whether to enable auto-healing for the layer.

custom_instance_profile_arn = None

The ARN of an IAM profile that will be used for the layer’s instances.

custom_json = None

Custom JSON attributes to apply to the layer.

custom_security_group_ids = None

Ids for a set of security groups to apply to the layer’s instances.

drain_elb_on_shutdown = None

Whether to enable Elastic Load Balancing connection draining.

ebs_volumes = None

ebs_volume blocks, as described below, will each create an EBS volume and connect it to the layer’s instances.

  • iops (float)

  • mountPoint (str)

  • numberOfDisks (float)

  • raidLevel (str)

  • size (float)

  • type (str)

elastic_load_balancer = None

Name of an Elastic Load Balancer to attach to this layer

install_updates_on_boot = None

Whether to install OS and package updates on each instance when it boots.

instance_shutdown_timeout = None

The time, in seconds, that OpsWorks will wait for Chef to complete after triggering the Shutdown event.

name = None

A human-readable name for the layer.

root_password = None

Root password to use for MySQL.

root_password_on_all_instances = None

Whether to set the root user password to all instances in the stack so they can access the instances in this layer.

stack_id = None

The id of the stack the layer will belong to.

system_packages = None

Names of a set of system packages to install on the layer’s instances.

use_ebs_optimized_instances = None

Whether to use EBS-optimized instances.

static get(resource_name, id, opts=None, auto_assign_elastic_ips=None, auto_assign_public_ips=None, auto_healing=None, custom_configure_recipes=None, custom_deploy_recipes=None, custom_instance_profile_arn=None, custom_json=None, custom_security_group_ids=None, custom_setup_recipes=None, custom_shutdown_recipes=None, custom_undeploy_recipes=None, drain_elb_on_shutdown=None, ebs_volumes=None, elastic_load_balancer=None, install_updates_on_boot=None, instance_shutdown_timeout=None, name=None, root_password=None, root_password_on_all_instances=None, stack_id=None, system_packages=None, use_ebs_optimized_instances=None)

Get an existing MysqlLayer resource’s state with the given name, id, and optional extra properties used to qualify the lookup.

Parameters
  • resource_name (str) – The unique name of the resulting resource.

  • id (str) – The unique provider ID of the resource to lookup.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • auto_assign_elastic_ips (pulumi.Input[bool]) – Whether to automatically assign an elastic IP address to the layer’s instances.

  • auto_assign_public_ips (pulumi.Input[bool]) – For stacks belonging to a VPC, whether to automatically assign a public IP address to each of the layer’s instances.

  • auto_healing (pulumi.Input[bool]) – Whether to enable auto-healing for the layer.

  • custom_instance_profile_arn (pulumi.Input[str]) – The ARN of an IAM profile that will be used for the layer’s instances.

  • custom_json (pulumi.Input[str]) – Custom JSON attributes to apply to the layer.

  • custom_security_group_ids (pulumi.Input[list]) – Ids for a set of security groups to apply to the layer’s instances.

  • drain_elb_on_shutdown (pulumi.Input[bool]) – Whether to enable Elastic Load Balancing connection draining.

  • ebs_volumes (pulumi.Input[list]) – ebs_volume blocks, as described below, will each create an EBS volume and connect it to the layer’s instances.

  • elastic_load_balancer (pulumi.Input[str]) – Name of an Elastic Load Balancer to attach to this layer

  • install_updates_on_boot (pulumi.Input[bool]) – Whether to install OS and package updates on each instance when it boots.

  • instance_shutdown_timeout (pulumi.Input[float]) – The time, in seconds, that OpsWorks will wait for Chef to complete after triggering the Shutdown event.

  • name (pulumi.Input[str]) – A human-readable name for the layer.

  • root_password (pulumi.Input[str]) – Root password to use for MySQL.

  • root_password_on_all_instances (pulumi.Input[bool]) – Whether to set the root user password to all instances in the stack so they can access the instances in this layer.

  • stack_id (pulumi.Input[str]) – The id of the stack the layer will belong to.

  • system_packages (pulumi.Input[list]) – Names of a set of system packages to install on the layer’s instances.

  • use_ebs_optimized_instances (pulumi.Input[bool]) – Whether to use EBS-optimized instances.

The ebs_volumes object supports the following:

  • iops (pulumi.Input[float])

  • mountPoint (pulumi.Input[str])

  • numberOfDisks (pulumi.Input[float])

  • raidLevel (pulumi.Input[str])

  • size (pulumi.Input[float])

  • type (pulumi.Input[str])

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

class pulumi_aws.opsworks.NodejsAppLayer(resource_name, opts=None, auto_assign_elastic_ips=None, auto_assign_public_ips=None, auto_healing=None, custom_configure_recipes=None, custom_deploy_recipes=None, custom_instance_profile_arn=None, custom_json=None, custom_security_group_ids=None, custom_setup_recipes=None, custom_shutdown_recipes=None, custom_undeploy_recipes=None, drain_elb_on_shutdown=None, ebs_volumes=None, elastic_load_balancer=None, install_updates_on_boot=None, instance_shutdown_timeout=None, name=None, nodejs_version=None, stack_id=None, system_packages=None, use_ebs_optimized_instances=None, __props__=None, __name__=None, __opts__=None)

Provides an OpsWorks NodeJS application layer resource.

Parameters
  • resource_name (str) – The name of the resource.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • auto_assign_elastic_ips (pulumi.Input[bool]) – Whether to automatically assign an elastic IP address to the layer’s instances.

  • auto_assign_public_ips (pulumi.Input[bool]) – For stacks belonging to a VPC, whether to automatically assign a public IP address to each of the layer’s instances.

  • auto_healing (pulumi.Input[bool]) – Whether to enable auto-healing for the layer.

  • custom_instance_profile_arn (pulumi.Input[str]) – The ARN of an IAM profile that will be used for the layer’s instances.

  • custom_json (pulumi.Input[str]) – Custom JSON attributes to apply to the layer.

  • custom_security_group_ids (pulumi.Input[list]) – Ids for a set of security groups to apply to the layer’s instances.

  • drain_elb_on_shutdown (pulumi.Input[bool]) – Whether to enable Elastic Load Balancing connection draining.

  • ebs_volumes (pulumi.Input[list]) – ebs_volume blocks, as described below, will each create an EBS volume and connect it to the layer’s instances.

  • elastic_load_balancer (pulumi.Input[str]) – Name of an Elastic Load Balancer to attach to this layer

  • install_updates_on_boot (pulumi.Input[bool]) – Whether to install OS and package updates on each instance when it boots.

  • instance_shutdown_timeout (pulumi.Input[float]) – The time, in seconds, that OpsWorks will wait for Chef to complete after triggering the Shutdown event.

  • name (pulumi.Input[str]) – A human-readable name for the layer.

  • nodejs_version (pulumi.Input[str]) – The version of NodeJS to use. Defaults to “0.10.38”.

  • stack_id (pulumi.Input[str]) – The id of the stack the layer will belong to.

  • system_packages (pulumi.Input[list]) – Names of a set of system packages to install on the layer’s instances.

  • use_ebs_optimized_instances (pulumi.Input[bool]) – Whether to use EBS-optimized instances.

The ebs_volumes object supports the following:

  • iops (pulumi.Input[float])

  • mountPoint (pulumi.Input[str])

  • numberOfDisks (pulumi.Input[float])

  • raidLevel (pulumi.Input[str])

  • size (pulumi.Input[float])

  • type (pulumi.Input[str])

auto_assign_elastic_ips = None

Whether to automatically assign an elastic IP address to the layer’s instances.

auto_assign_public_ips = None

For stacks belonging to a VPC, whether to automatically assign a public IP address to each of the layer’s instances.

auto_healing = None

Whether to enable auto-healing for the layer.

custom_instance_profile_arn = None

The ARN of an IAM profile that will be used for the layer’s instances.

custom_json = None

Custom JSON attributes to apply to the layer.

custom_security_group_ids = None

Ids for a set of security groups to apply to the layer’s instances.

drain_elb_on_shutdown = None

Whether to enable Elastic Load Balancing connection draining.

ebs_volumes = None

ebs_volume blocks, as described below, will each create an EBS volume and connect it to the layer’s instances.

  • iops (float)

  • mountPoint (str)

  • numberOfDisks (float)

  • raidLevel (str)

  • size (float)

  • type (str)

elastic_load_balancer = None

Name of an Elastic Load Balancer to attach to this layer

install_updates_on_boot = None

Whether to install OS and package updates on each instance when it boots.

instance_shutdown_timeout = None

The time, in seconds, that OpsWorks will wait for Chef to complete after triggering the Shutdown event.

name = None

A human-readable name for the layer.

nodejs_version = None

The version of NodeJS to use. Defaults to “0.10.38”.

stack_id = None

The id of the stack the layer will belong to.

system_packages = None

Names of a set of system packages to install on the layer’s instances.

use_ebs_optimized_instances = None

Whether to use EBS-optimized instances.

static get(resource_name, id, opts=None, auto_assign_elastic_ips=None, auto_assign_public_ips=None, auto_healing=None, custom_configure_recipes=None, custom_deploy_recipes=None, custom_instance_profile_arn=None, custom_json=None, custom_security_group_ids=None, custom_setup_recipes=None, custom_shutdown_recipes=None, custom_undeploy_recipes=None, drain_elb_on_shutdown=None, ebs_volumes=None, elastic_load_balancer=None, install_updates_on_boot=None, instance_shutdown_timeout=None, name=None, nodejs_version=None, stack_id=None, system_packages=None, use_ebs_optimized_instances=None)

Get an existing NodejsAppLayer resource’s state with the given name, id, and optional extra properties used to qualify the lookup.

Parameters
  • resource_name (str) – The unique name of the resulting resource.

  • id (str) – The unique provider ID of the resource to lookup.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • auto_assign_elastic_ips (pulumi.Input[bool]) – Whether to automatically assign an elastic IP address to the layer’s instances.

  • auto_assign_public_ips (pulumi.Input[bool]) – For stacks belonging to a VPC, whether to automatically assign a public IP address to each of the layer’s instances.

  • auto_healing (pulumi.Input[bool]) – Whether to enable auto-healing for the layer.

  • custom_instance_profile_arn (pulumi.Input[str]) – The ARN of an IAM profile that will be used for the layer’s instances.

  • custom_json (pulumi.Input[str]) – Custom JSON attributes to apply to the layer.

  • custom_security_group_ids (pulumi.Input[list]) – Ids for a set of security groups to apply to the layer’s instances.

  • drain_elb_on_shutdown (pulumi.Input[bool]) – Whether to enable Elastic Load Balancing connection draining.

  • ebs_volumes (pulumi.Input[list]) – ebs_volume blocks, as described below, will each create an EBS volume and connect it to the layer’s instances.

  • elastic_load_balancer (pulumi.Input[str]) – Name of an Elastic Load Balancer to attach to this layer

  • install_updates_on_boot (pulumi.Input[bool]) – Whether to install OS and package updates on each instance when it boots.

  • instance_shutdown_timeout (pulumi.Input[float]) – The time, in seconds, that OpsWorks will wait for Chef to complete after triggering the Shutdown event.

  • name (pulumi.Input[str]) – A human-readable name for the layer.

  • nodejs_version (pulumi.Input[str]) – The version of NodeJS to use. Defaults to “0.10.38”.

  • stack_id (pulumi.Input[str]) – The id of the stack the layer will belong to.

  • system_packages (pulumi.Input[list]) – Names of a set of system packages to install on the layer’s instances.

  • use_ebs_optimized_instances (pulumi.Input[bool]) – Whether to use EBS-optimized instances.

The ebs_volumes object supports the following:

  • iops (pulumi.Input[float])

  • mountPoint (pulumi.Input[str])

  • numberOfDisks (pulumi.Input[float])

  • raidLevel (pulumi.Input[str])

  • size (pulumi.Input[float])

  • type (pulumi.Input[str])

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

class pulumi_aws.opsworks.Permission(resource_name, opts=None, allow_ssh=None, allow_sudo=None, level=None, stack_id=None, user_arn=None, __props__=None, __name__=None, __opts__=None)

Provides an OpsWorks permission resource.

Parameters
  • resource_name (str) – The name of the resource.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • allow_ssh (pulumi.Input[bool]) – Whether the user is allowed to use SSH to communicate with the instance

  • allow_sudo (pulumi.Input[bool]) – Whether the user is allowed to use sudo to elevate privileges

  • level (pulumi.Input[str]) – The users permission level. Mus be one of deny, show, deploy, manage, iam_only

  • stack_id (pulumi.Input[str]) – The stack to set the permissions for

  • user_arn (pulumi.Input[str]) – The user’s IAM ARN to set permissions for

allow_ssh = None

Whether the user is allowed to use SSH to communicate with the instance

allow_sudo = None

Whether the user is allowed to use sudo to elevate privileges

level = None

The users permission level. Mus be one of deny, show, deploy, manage, iam_only

stack_id = None

The stack to set the permissions for

user_arn = None

The user’s IAM ARN to set permissions for

static get(resource_name, id, opts=None, allow_ssh=None, allow_sudo=None, level=None, stack_id=None, user_arn=None)

Get an existing Permission resource’s state with the given name, id, and optional extra properties used to qualify the lookup.

Parameters
  • resource_name (str) – The unique name of the resulting resource.

  • id (str) – The unique provider ID of the resource to lookup.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • allow_ssh (pulumi.Input[bool]) – Whether the user is allowed to use SSH to communicate with the instance

  • allow_sudo (pulumi.Input[bool]) – Whether the user is allowed to use sudo to elevate privileges

  • level (pulumi.Input[str]) – The users permission level. Mus be one of deny, show, deploy, manage, iam_only

  • stack_id (pulumi.Input[str]) – The stack to set the permissions for

  • user_arn (pulumi.Input[str]) – The user’s IAM ARN to set permissions for

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

class pulumi_aws.opsworks.PhpAppLayer(resource_name, opts=None, auto_assign_elastic_ips=None, auto_assign_public_ips=None, auto_healing=None, custom_configure_recipes=None, custom_deploy_recipes=None, custom_instance_profile_arn=None, custom_json=None, custom_security_group_ids=None, custom_setup_recipes=None, custom_shutdown_recipes=None, custom_undeploy_recipes=None, drain_elb_on_shutdown=None, ebs_volumes=None, elastic_load_balancer=None, install_updates_on_boot=None, instance_shutdown_timeout=None, name=None, stack_id=None, system_packages=None, use_ebs_optimized_instances=None, __props__=None, __name__=None, __opts__=None)

Provides an OpsWorks PHP application layer resource.

Parameters
  • resource_name (str) – The name of the resource.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • auto_assign_elastic_ips (pulumi.Input[bool]) – Whether to automatically assign an elastic IP address to the layer’s instances.

  • auto_assign_public_ips (pulumi.Input[bool]) – For stacks belonging to a VPC, whether to automatically assign a public IP address to each of the layer’s instances.

  • auto_healing (pulumi.Input[bool]) – Whether to enable auto-healing for the layer.

  • custom_instance_profile_arn (pulumi.Input[str]) – The ARN of an IAM profile that will be used for the layer’s instances.

  • custom_json (pulumi.Input[str]) – Custom JSON attributes to apply to the layer.

  • custom_security_group_ids (pulumi.Input[list]) – Ids for a set of security groups to apply to the layer’s instances.

  • drain_elb_on_shutdown (pulumi.Input[bool]) – Whether to enable Elastic Load Balancing connection draining.

  • ebs_volumes (pulumi.Input[list]) – ebs_volume blocks, as described below, will each create an EBS volume and connect it to the layer’s instances.

  • elastic_load_balancer (pulumi.Input[str]) – Name of an Elastic Load Balancer to attach to this layer

  • install_updates_on_boot (pulumi.Input[bool]) – Whether to install OS and package updates on each instance when it boots.

  • instance_shutdown_timeout (pulumi.Input[float]) – The time, in seconds, that OpsWorks will wait for Chef to complete after triggering the Shutdown event.

  • name (pulumi.Input[str]) – A human-readable name for the layer.

  • stack_id (pulumi.Input[str]) – The id of the stack the layer will belong to.

  • system_packages (pulumi.Input[list]) – Names of a set of system packages to install on the layer’s instances.

  • use_ebs_optimized_instances (pulumi.Input[bool]) – Whether to use EBS-optimized instances.

The ebs_volumes object supports the following:

  • iops (pulumi.Input[float])

  • mountPoint (pulumi.Input[str])

  • numberOfDisks (pulumi.Input[float])

  • raidLevel (pulumi.Input[str])

  • size (pulumi.Input[float])

  • type (pulumi.Input[str])

auto_assign_elastic_ips = None

Whether to automatically assign an elastic IP address to the layer’s instances.

auto_assign_public_ips = None

For stacks belonging to a VPC, whether to automatically assign a public IP address to each of the layer’s instances.

auto_healing = None

Whether to enable auto-healing for the layer.

custom_instance_profile_arn = None

The ARN of an IAM profile that will be used for the layer’s instances.

custom_json = None

Custom JSON attributes to apply to the layer.

custom_security_group_ids = None

Ids for a set of security groups to apply to the layer’s instances.

drain_elb_on_shutdown = None

Whether to enable Elastic Load Balancing connection draining.

ebs_volumes = None

ebs_volume blocks, as described below, will each create an EBS volume and connect it to the layer’s instances.

  • iops (float)

  • mountPoint (str)

  • numberOfDisks (float)

  • raidLevel (str)

  • size (float)

  • type (str)

elastic_load_balancer = None

Name of an Elastic Load Balancer to attach to this layer

install_updates_on_boot = None

Whether to install OS and package updates on each instance when it boots.

instance_shutdown_timeout = None

The time, in seconds, that OpsWorks will wait for Chef to complete after triggering the Shutdown event.

name = None

A human-readable name for the layer.

stack_id = None

The id of the stack the layer will belong to.

system_packages = None

Names of a set of system packages to install on the layer’s instances.

use_ebs_optimized_instances = None

Whether to use EBS-optimized instances.

static get(resource_name, id, opts=None, auto_assign_elastic_ips=None, auto_assign_public_ips=None, auto_healing=None, custom_configure_recipes=None, custom_deploy_recipes=None, custom_instance_profile_arn=None, custom_json=None, custom_security_group_ids=None, custom_setup_recipes=None, custom_shutdown_recipes=None, custom_undeploy_recipes=None, drain_elb_on_shutdown=None, ebs_volumes=None, elastic_load_balancer=None, install_updates_on_boot=None, instance_shutdown_timeout=None, name=None, stack_id=None, system_packages=None, use_ebs_optimized_instances=None)

Get an existing PhpAppLayer resource’s state with the given name, id, and optional extra properties used to qualify the lookup.

Parameters
  • resource_name (str) – The unique name of the resulting resource.

  • id (str) – The unique provider ID of the resource to lookup.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • auto_assign_elastic_ips (pulumi.Input[bool]) – Whether to automatically assign an elastic IP address to the layer’s instances.

  • auto_assign_public_ips (pulumi.Input[bool]) – For stacks belonging to a VPC, whether to automatically assign a public IP address to each of the layer’s instances.

  • auto_healing (pulumi.Input[bool]) – Whether to enable auto-healing for the layer.

  • custom_instance_profile_arn (pulumi.Input[str]) – The ARN of an IAM profile that will be used for the layer’s instances.

  • custom_json (pulumi.Input[str]) – Custom JSON attributes to apply to the layer.

  • custom_security_group_ids (pulumi.Input[list]) – Ids for a set of security groups to apply to the layer’s instances.

  • drain_elb_on_shutdown (pulumi.Input[bool]) – Whether to enable Elastic Load Balancing connection draining.

  • ebs_volumes (pulumi.Input[list]) – ebs_volume blocks, as described below, will each create an EBS volume and connect it to the layer’s instances.

  • elastic_load_balancer (pulumi.Input[str]) – Name of an Elastic Load Balancer to attach to this layer

  • install_updates_on_boot (pulumi.Input[bool]) – Whether to install OS and package updates on each instance when it boots.

  • instance_shutdown_timeout (pulumi.Input[float]) – The time, in seconds, that OpsWorks will wait for Chef to complete after triggering the Shutdown event.

  • name (pulumi.Input[str]) – A human-readable name for the layer.

  • stack_id (pulumi.Input[str]) – The id of the stack the layer will belong to.

  • system_packages (pulumi.Input[list]) – Names of a set of system packages to install on the layer’s instances.

  • use_ebs_optimized_instances (pulumi.Input[bool]) – Whether to use EBS-optimized instances.

The ebs_volumes object supports the following:

  • iops (pulumi.Input[float])

  • mountPoint (pulumi.Input[str])

  • numberOfDisks (pulumi.Input[float])

  • raidLevel (pulumi.Input[str])

  • size (pulumi.Input[float])

  • type (pulumi.Input[str])

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

class pulumi_aws.opsworks.RailsAppLayer(resource_name, opts=None, app_server=None, auto_assign_elastic_ips=None, auto_assign_public_ips=None, auto_healing=None, bundler_version=None, custom_configure_recipes=None, custom_deploy_recipes=None, custom_instance_profile_arn=None, custom_json=None, custom_security_group_ids=None, custom_setup_recipes=None, custom_shutdown_recipes=None, custom_undeploy_recipes=None, drain_elb_on_shutdown=None, ebs_volumes=None, elastic_load_balancer=None, install_updates_on_boot=None, instance_shutdown_timeout=None, manage_bundler=None, name=None, passenger_version=None, ruby_version=None, rubygems_version=None, stack_id=None, system_packages=None, use_ebs_optimized_instances=None, __props__=None, __name__=None, __opts__=None)

Provides an OpsWorks Ruby on Rails application layer resource.

Parameters
  • resource_name (str) – The name of the resource.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • app_server (pulumi.Input[str]) – Keyword for the app server to use. Defaults to “apache_passenger”.

  • auto_assign_elastic_ips (pulumi.Input[bool]) – Whether to automatically assign an elastic IP address to the layer’s instances.

  • auto_assign_public_ips (pulumi.Input[bool]) – For stacks belonging to a VPC, whether to automatically assign a public IP address to each of the layer’s instances.

  • auto_healing (pulumi.Input[bool]) – Whether to enable auto-healing for the layer.

  • bundler_version (pulumi.Input[str]) – When OpsWorks is managing Bundler, which version to use. Defaults to “1.5.3”.

  • custom_instance_profile_arn (pulumi.Input[str]) – The ARN of an IAM profile that will be used for the layer’s instances.

  • custom_json (pulumi.Input[str]) – Custom JSON attributes to apply to the layer.

  • custom_security_group_ids (pulumi.Input[list]) – Ids for a set of security groups to apply to the layer’s instances.

  • drain_elb_on_shutdown (pulumi.Input[bool]) – Whether to enable Elastic Load Balancing connection draining.

  • ebs_volumes (pulumi.Input[list]) – ebs_volume blocks, as described below, will each create an EBS volume and connect it to the layer’s instances.

  • elastic_load_balancer (pulumi.Input[str]) – Name of an Elastic Load Balancer to attach to this layer

  • install_updates_on_boot (pulumi.Input[bool]) – Whether to install OS and package updates on each instance when it boots.

  • instance_shutdown_timeout (pulumi.Input[float]) – The time, in seconds, that OpsWorks will wait for Chef to complete after triggering the Shutdown event.

  • manage_bundler (pulumi.Input[bool]) – Whether OpsWorks should manage bundler. On by default.

  • name (pulumi.Input[str]) – A human-readable name for the layer.

  • passenger_version (pulumi.Input[str]) – The version of Passenger to use. Defaults to “4.0.46”.

  • ruby_version (pulumi.Input[str]) – The version of Ruby to use. Defaults to “2.0.0”.

  • rubygems_version (pulumi.Input[str]) – The version of RubyGems to use. Defaults to “2.2.2”.

  • stack_id (pulumi.Input[str]) – The id of the stack the layer will belong to.

  • system_packages (pulumi.Input[list]) – Names of a set of system packages to install on the layer’s instances.

  • use_ebs_optimized_instances (pulumi.Input[bool]) – Whether to use EBS-optimized instances.

The ebs_volumes object supports the following:

  • iops (pulumi.Input[float])

  • mountPoint (pulumi.Input[str])

  • numberOfDisks (pulumi.Input[float])

  • raidLevel (pulumi.Input[str])

  • size (pulumi.Input[float])

  • type (pulumi.Input[str])

app_server = None

Keyword for the app server to use. Defaults to “apache_passenger”.

auto_assign_elastic_ips = None

Whether to automatically assign an elastic IP address to the layer’s instances.

auto_assign_public_ips = None

For stacks belonging to a VPC, whether to automatically assign a public IP address to each of the layer’s instances.

auto_healing = None

Whether to enable auto-healing for the layer.

bundler_version = None

When OpsWorks is managing Bundler, which version to use. Defaults to “1.5.3”.

custom_instance_profile_arn = None

The ARN of an IAM profile that will be used for the layer’s instances.

custom_json = None

Custom JSON attributes to apply to the layer.

custom_security_group_ids = None

Ids for a set of security groups to apply to the layer’s instances.

drain_elb_on_shutdown = None

Whether to enable Elastic Load Balancing connection draining.

ebs_volumes = None

ebs_volume blocks, as described below, will each create an EBS volume and connect it to the layer’s instances.

  • iops (float)

  • mountPoint (str)

  • numberOfDisks (float)

  • raidLevel (str)

  • size (float)

  • type (str)

elastic_load_balancer = None

Name of an Elastic Load Balancer to attach to this layer

install_updates_on_boot = None

Whether to install OS and package updates on each instance when it boots.

instance_shutdown_timeout = None

The time, in seconds, that OpsWorks will wait for Chef to complete after triggering the Shutdown event.

manage_bundler = None

Whether OpsWorks should manage bundler. On by default.

name = None

A human-readable name for the layer.

passenger_version = None

The version of Passenger to use. Defaults to “4.0.46”.

ruby_version = None

The version of Ruby to use. Defaults to “2.0.0”.

rubygems_version = None

The version of RubyGems to use. Defaults to “2.2.2”.

stack_id = None

The id of the stack the layer will belong to.

system_packages = None

Names of a set of system packages to install on the layer’s instances.

use_ebs_optimized_instances = None

Whether to use EBS-optimized instances.

static get(resource_name, id, opts=None, app_server=None, auto_assign_elastic_ips=None, auto_assign_public_ips=None, auto_healing=None, bundler_version=None, custom_configure_recipes=None, custom_deploy_recipes=None, custom_instance_profile_arn=None, custom_json=None, custom_security_group_ids=None, custom_setup_recipes=None, custom_shutdown_recipes=None, custom_undeploy_recipes=None, drain_elb_on_shutdown=None, ebs_volumes=None, elastic_load_balancer=None, install_updates_on_boot=None, instance_shutdown_timeout=None, manage_bundler=None, name=None, passenger_version=None, ruby_version=None, rubygems_version=None, stack_id=None, system_packages=None, use_ebs_optimized_instances=None)

Get an existing RailsAppLayer resource’s state with the given name, id, and optional extra properties used to qualify the lookup.

Parameters
  • resource_name (str) – The unique name of the resulting resource.

  • id (str) – The unique provider ID of the resource to lookup.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • app_server (pulumi.Input[str]) – Keyword for the app server to use. Defaults to “apache_passenger”.

  • auto_assign_elastic_ips (pulumi.Input[bool]) – Whether to automatically assign an elastic IP address to the layer’s instances.

  • auto_assign_public_ips (pulumi.Input[bool]) – For stacks belonging to a VPC, whether to automatically assign a public IP address to each of the layer’s instances.

  • auto_healing (pulumi.Input[bool]) – Whether to enable auto-healing for the layer.

  • bundler_version (pulumi.Input[str]) – When OpsWorks is managing Bundler, which version to use. Defaults to “1.5.3”.

  • custom_instance_profile_arn (pulumi.Input[str]) – The ARN of an IAM profile that will be used for the layer’s instances.

  • custom_json (pulumi.Input[str]) – Custom JSON attributes to apply to the layer.

  • custom_security_group_ids (pulumi.Input[list]) – Ids for a set of security groups to apply to the layer’s instances.

  • drain_elb_on_shutdown (pulumi.Input[bool]) – Whether to enable Elastic Load Balancing connection draining.

  • ebs_volumes (pulumi.Input[list]) – ebs_volume blocks, as described below, will each create an EBS volume and connect it to the layer’s instances.

  • elastic_load_balancer (pulumi.Input[str]) – Name of an Elastic Load Balancer to attach to this layer

  • install_updates_on_boot (pulumi.Input[bool]) – Whether to install OS and package updates on each instance when it boots.

  • instance_shutdown_timeout (pulumi.Input[float]) – The time, in seconds, that OpsWorks will wait for Chef to complete after triggering the Shutdown event.

  • manage_bundler (pulumi.Input[bool]) – Whether OpsWorks should manage bundler. On by default.

  • name (pulumi.Input[str]) – A human-readable name for the layer.

  • passenger_version (pulumi.Input[str]) – The version of Passenger to use. Defaults to “4.0.46”.

  • ruby_version (pulumi.Input[str]) – The version of Ruby to use. Defaults to “2.0.0”.

  • rubygems_version (pulumi.Input[str]) – The version of RubyGems to use. Defaults to “2.2.2”.

  • stack_id (pulumi.Input[str]) – The id of the stack the layer will belong to.

  • system_packages (pulumi.Input[list]) – Names of a set of system packages to install on the layer’s instances.

  • use_ebs_optimized_instances (pulumi.Input[bool]) – Whether to use EBS-optimized instances.

The ebs_volumes object supports the following:

  • iops (pulumi.Input[float])

  • mountPoint (pulumi.Input[str])

  • numberOfDisks (pulumi.Input[float])

  • raidLevel (pulumi.Input[str])

  • size (pulumi.Input[float])

  • type (pulumi.Input[str])

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

class pulumi_aws.opsworks.RdsDbInstance(resource_name, opts=None, db_password=None, db_user=None, rds_db_instance_arn=None, stack_id=None, __props__=None, __name__=None, __opts__=None)

Provides an OpsWorks RDS DB Instance resource.

Note: All arguments including the username and password will be stored in the raw state as plain-text. Read more about sensitive data in state.

Parameters
  • resource_name (str) – The name of the resource.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • db_password (pulumi.Input[str]) – A db password

  • db_user (pulumi.Input[str]) – A db username

  • rds_db_instance_arn (pulumi.Input[str]) – The db instance to register for this stack. Changing this will force a new resource.

  • stack_id (pulumi.Input[str]) – The stack to register a db instance for. Changing this will force a new resource.

db_password = None

A db password

db_user = None

A db username

rds_db_instance_arn = None

The db instance to register for this stack. Changing this will force a new resource.

stack_id = None

The stack to register a db instance for. Changing this will force a new resource.

static get(resource_name, id, opts=None, db_password=None, db_user=None, rds_db_instance_arn=None, stack_id=None)

Get an existing RdsDbInstance resource’s state with the given name, id, and optional extra properties used to qualify the lookup.

Parameters
  • resource_name (str) – The unique name of the resulting resource.

  • id (str) – The unique provider ID of the resource to lookup.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • db_password (pulumi.Input[str]) – A db password

  • db_user (pulumi.Input[str]) – A db username

  • rds_db_instance_arn (pulumi.Input[str]) – The db instance to register for this stack. Changing this will force a new resource.

  • stack_id (pulumi.Input[str]) – The stack to register a db instance for. Changing this will force a new resource.

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

class pulumi_aws.opsworks.Stack(resource_name, opts=None, agent_version=None, berkshelf_version=None, color=None, configuration_manager_name=None, configuration_manager_version=None, custom_cookbooks_sources=None, custom_json=None, default_availability_zone=None, default_instance_profile_arn=None, default_os=None, default_root_device_type=None, default_ssh_key_name=None, default_subnet_id=None, hostname_theme=None, manage_berkshelf=None, name=None, region=None, service_role_arn=None, tags=None, use_custom_cookbooks=None, use_opsworks_security_groups=None, vpc_id=None, __props__=None, __name__=None, __opts__=None)

Provides an OpsWorks stack resource.

Parameters
  • resource_name (str) – The name of the resource.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • agent_version (pulumi.Input[str]) – If set to "LATEST", OpsWorks will automatically install the latest version.

  • berkshelf_version (pulumi.Input[str]) – If manage_berkshelf is enabled, the version of Berkshelf to use.

  • color (pulumi.Input[str]) – Color to paint next to the stack’s resources in the OpsWorks console.

  • configuration_manager_name (pulumi.Input[str]) – Name of the configuration manager to use. Defaults to “Chef”.

  • configuration_manager_version (pulumi.Input[str]) – Version of the configuration manager to use. Defaults to “11.4”.

  • custom_cookbooks_sources (pulumi.Input[list]) – When use_custom_cookbooks is set, provide this sub-object as described below.

  • custom_json (pulumi.Input[str]) – Custom JSON attributes to apply to the entire stack.

  • default_availability_zone (pulumi.Input[str]) – Name of the availability zone where instances will be created by default. This is required unless you set vpc_id.

  • default_instance_profile_arn (pulumi.Input[str]) – The ARN of an IAM Instance Profile that created instances will have by default.

  • default_os (pulumi.Input[str]) – Name of OS that will be installed on instances by default.

  • default_root_device_type (pulumi.Input[str]) – Name of the type of root device instances will have by default.

  • default_ssh_key_name (pulumi.Input[str]) – Name of the SSH keypair that instances will have by default.

  • default_subnet_id (pulumi.Input[str]) – Id of the subnet in which instances will be created by default. Mandatory if vpc_id is set, and forbidden if it isn’t.

  • hostname_theme (pulumi.Input[str]) – Keyword representing the naming scheme that will be used for instance hostnames within this stack.

  • manage_berkshelf (pulumi.Input[bool]) – Boolean value controlling whether Opsworks will run Berkshelf for this stack.

  • name (pulumi.Input[str]) – The name of the stack.

  • region (pulumi.Input[str]) – The name of the region where the stack will exist.

  • service_role_arn (pulumi.Input[str]) – The ARN of an IAM role that the OpsWorks service will act as.

  • tags (pulumi.Input[dict]) – A mapping of tags to assign to the resource.

  • use_custom_cookbooks (pulumi.Input[bool]) – Boolean value controlling whether the custom cookbook settings are enabled.

  • use_opsworks_security_groups (pulumi.Input[bool]) – Boolean value controlling whether the standard OpsWorks security groups apply to created instances.

  • vpc_id (pulumi.Input[str]) – The id of the VPC that this stack belongs to.

The custom_cookbooks_sources object supports the following:

  • password (pulumi.Input[str])

  • revision (pulumi.Input[str])

  • sshKey (pulumi.Input[str])

  • type (pulumi.Input[str])

  • url (pulumi.Input[str])

  • username (pulumi.Input[str])

agent_version = None

If set to "LATEST", OpsWorks will automatically install the latest version.

berkshelf_version = None

If manage_berkshelf is enabled, the version of Berkshelf to use.

color = None

Color to paint next to the stack’s resources in the OpsWorks console.

configuration_manager_name = None

Name of the configuration manager to use. Defaults to “Chef”.

configuration_manager_version = None

Version of the configuration manager to use. Defaults to “11.4”.

custom_cookbooks_sources = None

When use_custom_cookbooks is set, provide this sub-object as described below.

  • password (str)

  • revision (str)

  • sshKey (str)

  • type (str)

  • url (str)

  • username (str)

custom_json = None

Custom JSON attributes to apply to the entire stack.

default_availability_zone = None

Name of the availability zone where instances will be created by default. This is required unless you set vpc_id.

default_instance_profile_arn = None

The ARN of an IAM Instance Profile that created instances will have by default.

default_os = None

Name of OS that will be installed on instances by default.

default_root_device_type = None

Name of the type of root device instances will have by default.

default_ssh_key_name = None

Name of the SSH keypair that instances will have by default.

default_subnet_id = None

Id of the subnet in which instances will be created by default. Mandatory if vpc_id is set, and forbidden if it isn’t.

hostname_theme = None

Keyword representing the naming scheme that will be used for instance hostnames within this stack.

manage_berkshelf = None

Boolean value controlling whether Opsworks will run Berkshelf for this stack.

name = None

The name of the stack.

region = None

The name of the region where the stack will exist.

service_role_arn = None

The ARN of an IAM role that the OpsWorks service will act as.

tags = None

A mapping of tags to assign to the resource.

use_custom_cookbooks = None

Boolean value controlling whether the custom cookbook settings are enabled.

use_opsworks_security_groups = None

Boolean value controlling whether the standard OpsWorks security groups apply to created instances.

vpc_id = None

The id of the VPC that this stack belongs to.

static get(resource_name, id, opts=None, agent_version=None, arn=None, berkshelf_version=None, color=None, configuration_manager_name=None, configuration_manager_version=None, custom_cookbooks_sources=None, custom_json=None, default_availability_zone=None, default_instance_profile_arn=None, default_os=None, default_root_device_type=None, default_ssh_key_name=None, default_subnet_id=None, hostname_theme=None, manage_berkshelf=None, name=None, region=None, service_role_arn=None, stack_endpoint=None, tags=None, use_custom_cookbooks=None, use_opsworks_security_groups=None, vpc_id=None)

Get an existing Stack resource’s state with the given name, id, and optional extra properties used to qualify the lookup.

Parameters
  • resource_name (str) – The unique name of the resulting resource.

  • id (str) – The unique provider ID of the resource to lookup.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • agent_version (pulumi.Input[str]) – If set to "LATEST", OpsWorks will automatically install the latest version.

  • berkshelf_version (pulumi.Input[str]) – If manage_berkshelf is enabled, the version of Berkshelf to use.

  • color (pulumi.Input[str]) – Color to paint next to the stack’s resources in the OpsWorks console.

  • configuration_manager_name (pulumi.Input[str]) – Name of the configuration manager to use. Defaults to “Chef”.

  • configuration_manager_version (pulumi.Input[str]) – Version of the configuration manager to use. Defaults to “11.4”.

  • custom_cookbooks_sources (pulumi.Input[list]) – When use_custom_cookbooks is set, provide this sub-object as described below.

  • custom_json (pulumi.Input[str]) – Custom JSON attributes to apply to the entire stack.

  • default_availability_zone (pulumi.Input[str]) – Name of the availability zone where instances will be created by default. This is required unless you set vpc_id.

  • default_instance_profile_arn (pulumi.Input[str]) – The ARN of an IAM Instance Profile that created instances will have by default.

  • default_os (pulumi.Input[str]) – Name of OS that will be installed on instances by default.

  • default_root_device_type (pulumi.Input[str]) – Name of the type of root device instances will have by default.

  • default_ssh_key_name (pulumi.Input[str]) – Name of the SSH keypair that instances will have by default.

  • default_subnet_id (pulumi.Input[str]) – Id of the subnet in which instances will be created by default. Mandatory if vpc_id is set, and forbidden if it isn’t.

  • hostname_theme (pulumi.Input[str]) – Keyword representing the naming scheme that will be used for instance hostnames within this stack.

  • manage_berkshelf (pulumi.Input[bool]) – Boolean value controlling whether Opsworks will run Berkshelf for this stack.

  • name (pulumi.Input[str]) – The name of the stack.

  • region (pulumi.Input[str]) – The name of the region where the stack will exist.

  • service_role_arn (pulumi.Input[str]) – The ARN of an IAM role that the OpsWorks service will act as.

  • tags (pulumi.Input[dict]) – A mapping of tags to assign to the resource.

  • use_custom_cookbooks (pulumi.Input[bool]) – Boolean value controlling whether the custom cookbook settings are enabled.

  • use_opsworks_security_groups (pulumi.Input[bool]) – Boolean value controlling whether the standard OpsWorks security groups apply to created instances.

  • vpc_id (pulumi.Input[str]) – The id of the VPC that this stack belongs to.

The custom_cookbooks_sources object supports the following:

  • password (pulumi.Input[str])

  • revision (pulumi.Input[str])

  • sshKey (pulumi.Input[str])

  • type (pulumi.Input[str])

  • url (pulumi.Input[str])

  • username (pulumi.Input[str])

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

class pulumi_aws.opsworks.StaticWebLayer(resource_name, opts=None, auto_assign_elastic_ips=None, auto_assign_public_ips=None, auto_healing=None, custom_configure_recipes=None, custom_deploy_recipes=None, custom_instance_profile_arn=None, custom_json=None, custom_security_group_ids=None, custom_setup_recipes=None, custom_shutdown_recipes=None, custom_undeploy_recipes=None, drain_elb_on_shutdown=None, ebs_volumes=None, elastic_load_balancer=None, install_updates_on_boot=None, instance_shutdown_timeout=None, name=None, stack_id=None, system_packages=None, use_ebs_optimized_instances=None, __props__=None, __name__=None, __opts__=None)

Provides an OpsWorks static web server layer resource.

Parameters
  • resource_name (str) – The name of the resource.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • auto_assign_elastic_ips (pulumi.Input[bool]) – Whether to automatically assign an elastic IP address to the layer’s instances.

  • auto_assign_public_ips (pulumi.Input[bool]) – For stacks belonging to a VPC, whether to automatically assign a public IP address to each of the layer’s instances.

  • auto_healing (pulumi.Input[bool]) – Whether to enable auto-healing for the layer.

  • custom_instance_profile_arn (pulumi.Input[str]) – The ARN of an IAM profile that will be used for the layer’s instances.

  • custom_security_group_ids (pulumi.Input[list]) – Ids for a set of security groups to apply to the layer’s instances.

  • drain_elb_on_shutdown (pulumi.Input[bool]) – Whether to enable Elastic Load Balancing connection draining.

  • ebs_volumes (pulumi.Input[list]) – ebs_volume blocks, as described below, will each create an EBS volume and connect it to the layer’s instances.

  • elastic_load_balancer (pulumi.Input[str]) – Name of an Elastic Load Balancer to attach to this layer

  • install_updates_on_boot (pulumi.Input[bool]) – Whether to install OS and package updates on each instance when it boots.

  • instance_shutdown_timeout (pulumi.Input[float]) – The time, in seconds, that OpsWorks will wait for Chef to complete after triggering the Shutdown event.

  • name (pulumi.Input[str]) – A human-readable name for the layer.

  • stack_id (pulumi.Input[str]) – The id of the stack the layer will belong to.

  • system_packages (pulumi.Input[list]) – Names of a set of system packages to install on the layer’s instances.

  • use_ebs_optimized_instances (pulumi.Input[bool]) – Whether to use EBS-optimized instances.

The ebs_volumes object supports the following:

  • iops (pulumi.Input[float])

  • mountPoint (pulumi.Input[str])

  • numberOfDisks (pulumi.Input[float])

  • raidLevel (pulumi.Input[str])

  • size (pulumi.Input[float])

  • type (pulumi.Input[str])

auto_assign_elastic_ips = None

Whether to automatically assign an elastic IP address to the layer’s instances.

auto_assign_public_ips = None

For stacks belonging to a VPC, whether to automatically assign a public IP address to each of the layer’s instances.

auto_healing = None

Whether to enable auto-healing for the layer.

custom_instance_profile_arn = None

The ARN of an IAM profile that will be used for the layer’s instances.

custom_security_group_ids = None

Ids for a set of security groups to apply to the layer’s instances.

drain_elb_on_shutdown = None

Whether to enable Elastic Load Balancing connection draining.

ebs_volumes = None

ebs_volume blocks, as described below, will each create an EBS volume and connect it to the layer’s instances.

  • iops (float)

  • mountPoint (str)

  • numberOfDisks (float)

  • raidLevel (str)

  • size (float)

  • type (str)

elastic_load_balancer = None

Name of an Elastic Load Balancer to attach to this layer

install_updates_on_boot = None

Whether to install OS and package updates on each instance when it boots.

instance_shutdown_timeout = None

The time, in seconds, that OpsWorks will wait for Chef to complete after triggering the Shutdown event.

name = None

A human-readable name for the layer.

stack_id = None

The id of the stack the layer will belong to.

system_packages = None

Names of a set of system packages to install on the layer’s instances.

use_ebs_optimized_instances = None

Whether to use EBS-optimized instances.

static get(resource_name, id, opts=None, auto_assign_elastic_ips=None, auto_assign_public_ips=None, auto_healing=None, custom_configure_recipes=None, custom_deploy_recipes=None, custom_instance_profile_arn=None, custom_json=None, custom_security_group_ids=None, custom_setup_recipes=None, custom_shutdown_recipes=None, custom_undeploy_recipes=None, drain_elb_on_shutdown=None, ebs_volumes=None, elastic_load_balancer=None, install_updates_on_boot=None, instance_shutdown_timeout=None, name=None, stack_id=None, system_packages=None, use_ebs_optimized_instances=None)

Get an existing StaticWebLayer resource’s state with the given name, id, and optional extra properties used to qualify the lookup.

Parameters
  • resource_name (str) – The unique name of the resulting resource.

  • id (str) – The unique provider ID of the resource to lookup.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • auto_assign_elastic_ips (pulumi.Input[bool]) – Whether to automatically assign an elastic IP address to the layer’s instances.

  • auto_assign_public_ips (pulumi.Input[bool]) – For stacks belonging to a VPC, whether to automatically assign a public IP address to each of the layer’s instances.

  • auto_healing (pulumi.Input[bool]) – Whether to enable auto-healing for the layer.

  • custom_instance_profile_arn (pulumi.Input[str]) – The ARN of an IAM profile that will be used for the layer’s instances.

  • custom_security_group_ids (pulumi.Input[list]) – Ids for a set of security groups to apply to the layer’s instances.

  • drain_elb_on_shutdown (pulumi.Input[bool]) – Whether to enable Elastic Load Balancing connection draining.

  • ebs_volumes (pulumi.Input[list]) – ebs_volume blocks, as described below, will each create an EBS volume and connect it to the layer’s instances.

  • elastic_load_balancer (pulumi.Input[str]) – Name of an Elastic Load Balancer to attach to this layer

  • install_updates_on_boot (pulumi.Input[bool]) – Whether to install OS and package updates on each instance when it boots.

  • instance_shutdown_timeout (pulumi.Input[float]) – The time, in seconds, that OpsWorks will wait for Chef to complete after triggering the Shutdown event.

  • name (pulumi.Input[str]) – A human-readable name for the layer.

  • stack_id (pulumi.Input[str]) – The id of the stack the layer will belong to.

  • system_packages (pulumi.Input[list]) – Names of a set of system packages to install on the layer’s instances.

  • use_ebs_optimized_instances (pulumi.Input[bool]) – Whether to use EBS-optimized instances.

The ebs_volumes object supports the following:

  • iops (pulumi.Input[float])

  • mountPoint (pulumi.Input[str])

  • numberOfDisks (pulumi.Input[float])

  • raidLevel (pulumi.Input[str])

  • size (pulumi.Input[float])

  • type (pulumi.Input[str])

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

class pulumi_aws.opsworks.UserProfile(resource_name, opts=None, allow_self_management=None, ssh_public_key=None, ssh_username=None, user_arn=None, __props__=None, __name__=None, __opts__=None)

Provides an OpsWorks User Profile resource.

Parameters
  • resource_name (str) – The name of the resource.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • allow_self_management (pulumi.Input[bool]) – Whether users can specify their own SSH public key through the My Settings page

  • ssh_public_key (pulumi.Input[str]) – The users public key

  • ssh_username (pulumi.Input[str]) – The ssh username, with witch this user wants to log in

  • user_arn (pulumi.Input[str]) – The user’s IAM ARN

allow_self_management = None

Whether users can specify their own SSH public key through the My Settings page

ssh_public_key = None

The users public key

ssh_username = None

The ssh username, with witch this user wants to log in

user_arn = None

The user’s IAM ARN

static get(resource_name, id, opts=None, allow_self_management=None, ssh_public_key=None, ssh_username=None, user_arn=None)

Get an existing UserProfile resource’s state with the given name, id, and optional extra properties used to qualify the lookup.

Parameters
  • resource_name (str) – The unique name of the resulting resource.

  • id (str) – The unique provider ID of the resource to lookup.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • allow_self_management (pulumi.Input[bool]) – Whether users can specify their own SSH public key through the My Settings page

  • ssh_public_key (pulumi.Input[str]) – The users public key

  • ssh_username (pulumi.Input[str]) – The ssh username, with witch this user wants to log in

  • user_arn (pulumi.Input[str]) – The user’s IAM ARN

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str