opsworks

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, __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”.
app_sources = None

SCM configuration of the app as described below.

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.

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.

stack_id = None

The id of the stack the application will belong to.

type = None

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

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, __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.

:param pulumi.Input[list] custom_configure_recipes :param pulumi.Input[list] custom_deploy_recipes :param pulumi.Input[str] custom_instance_profile_arn: The ARN of an IAM profile that will be used for the layer’s instances. :param pulumi.Input[str] custom_json: Custom JSON attributes to apply to the layer. :param pulumi.Input[list] custom_security_group_ids: Ids for a set of security groups to apply to the layer’s instances. :param pulumi.Input[list] custom_setup_recipes :param pulumi.Input[list] custom_shutdown_recipes :param pulumi.Input[list] custom_undeploy_recipes :param pulumi.Input[bool] drain_elb_on_shutdown: Whether to enable Elastic Load Balancing connection draining. :param pulumi.Input[list] ebs_volumes: ebs_volume blocks, as described below, will each create an EBS volume and connect it to the layer’s instances. :param pulumi.Input[str] elastic_load_balancer: Name of an Elastic Load Balancer to attach to this layer :param pulumi.Input[bool] install_updates_on_boot: Whether to install OS and package updates on each instance when it boots. :param pulumi.Input[int] instance_shutdown_timeout: The time, in seconds, that OpsWorks will wait for Chef to complete after triggering the Shutdown event. :param pulumi.Input[str] name: A human-readable name for the layer. :param pulumi.Input[str] short_name: A short, machine-readable name for the layer, which will be used to identify it in the Chef node JSON. :param pulumi.Input[str] stack_id: The id of the stack the layer will belong to. :param pulumi.Input[list] system_packages: Names of a set of system packages to install on the layer’s instances. :param pulumi.Input[bool] use_ebs_optimized_instances: Whether to use EBS-optimized instances.

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.

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.

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, __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.

:param pulumi.Input[list] custom_configure_recipes :param pulumi.Input[list] custom_deploy_recipes :param pulumi.Input[str] custom_instance_profile_arn: The ARN of an IAM profile that will be used for the layer’s instances. :param pulumi.Input[str] custom_json: Custom JSON attributes to apply to the layer. :param pulumi.Input[list] custom_security_group_ids: Ids for a set of security groups to apply to the layer’s instances. :param pulumi.Input[list] custom_setup_recipes :param pulumi.Input[list] custom_shutdown_recipes :param pulumi.Input[list] custom_undeploy_recipes :param pulumi.Input[bool] drain_elb_on_shutdown: Whether to enable Elastic Load Balancing connection draining. :param pulumi.Input[list] ebs_volumes: ebs_volume blocks, as described below, will each create an EBS volume and connect it to the layer’s instances. :param pulumi.Input[str] elastic_load_balancer: Name of an Elastic Load Balancer to attach to this layer :param pulumi.Input[bool] install_updates_on_boot: Whether to install OS and package updates on each instance when it boots. :param pulumi.Input[int] instance_shutdown_timeout: The time, in seconds, that OpsWorks will wait for Chef to complete after triggering the Shutdown event. :param pulumi.Input[str] name: A human-readable name for the layer. :param pulumi.Input[str] password: The password to use for Ganglia. :param pulumi.Input[str] stack_id: The id of the stack the layer will belong to. :param pulumi.Input[list] system_packages: Names of a set of system packages to install on the layer’s instances. :param pulumi.Input[str] url: The URL path to use for Ganglia. Defaults to “/ganglia”. :param pulumi.Input[bool] use_ebs_optimized_instances: Whether to use EBS-optimized instances. :param pulumi.Input[str] username: The username to use for Ganglia. Defaults to “opsworks”.

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.

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”.

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, __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.

:param pulumi.Input[list] custom_configure_recipes :param pulumi.Input[list] custom_deploy_recipes :param pulumi.Input[str] custom_instance_profile_arn: The ARN of an IAM profile that will be used for the layer’s instances. :param pulumi.Input[str] custom_json: Custom JSON attributes to apply to the layer. :param pulumi.Input[list] custom_security_group_ids: Ids for a set of security groups to apply to the layer’s instances. :param pulumi.Input[list] custom_setup_recipes :param pulumi.Input[list] custom_shutdown_recipes :param pulumi.Input[list] custom_undeploy_recipes :param pulumi.Input[bool] drain_elb_on_shutdown: Whether to enable Elastic Load Balancing connection draining. :param pulumi.Input[list] ebs_volumes: ebs_volume blocks, as described below, will each create an EBS volume and connect it to the layer’s instances. :param pulumi.Input[str] elastic_load_balancer: Name of an Elastic Load Balancer to attach to this layer :param pulumi.Input[str] healthcheck_method: HTTP method to use for instance healthchecks. Defaults to “OPTIONS”. :param pulumi.Input[str] healthcheck_url: URL path to use for instance healthchecks. Defaults to “/”. :param pulumi.Input[bool] install_updates_on_boot: Whether to install OS and package updates on each instance when it boots. :param pulumi.Input[int] instance_shutdown_timeout: The time, in seconds, that OpsWorks will wait for Chef to complete after triggering the Shutdown event. :param pulumi.Input[str] name: A human-readable name for the layer. :param pulumi.Input[str] stack_id: The id of the stack the layer will belong to. :param pulumi.Input[bool] stats_enabled: Whether to enable HAProxy stats. :param pulumi.Input[str] stats_password: The password to use for HAProxy stats. :param pulumi.Input[str] stats_url: The HAProxy stats URL. Defaults to “/haproxy?stats”. :param pulumi.Input[str] stats_user: The username for HAProxy stats. Defaults to “opsworks”. :param pulumi.Input[list] system_packages: Names of a set of system packages to install on the layer’s instances. :param pulumi.Input[bool] use_ebs_optimized_instances: Whether to use EBS-optimized instances.

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.

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.

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, __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 Terraform. 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.

:param pulumi.Input[str] created_at :param pulumi.Input[bool] delete_ebs :param pulumi.Input[bool] delete_eip :param pulumi.Input[list] ebs_block_devices: Additional EBS block devices to attach to the

instance. See Block Devices below for details.
Parameters:ebs_optimized (pulumi.Input[bool]) – If true, the launched EC2 instance will be EBS-optimized.

:param pulumi.Input[str] ecs_cluster_arn :param pulumi.Input[str] elastic_ip :param pulumi.Input[list] ephemeral_block_devices: Customize Ephemeral (also known as

“Instance Store”) volumes on the instance. See Block Devices below for details.
Parameters:hostname (pulumi.Input[str]) – The instance’s host name.

:param pulumi.Input[str] infrastructure_class :param pulumi.Input[bool] install_updates_on_boot: Controls where to install OS and package updates when the instance boots. Defaults to true. :param pulumi.Input[str] instance_profile_arn :param pulumi.Input[str] instance_type: The type of instance to start :param pulumi.Input[str] last_service_error_id :param pulumi.Input[list] layer_ids: The ids of the layers the instance will belong to. :param pulumi.Input[str] os: Name of operating system that will be installed. :param pulumi.Input[str] platform :param pulumi.Input[str] private_dns: 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
Parameters:
  • 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.

:param pulumi.Input[str] registered_by :param pulumi.Input[str] reported_agent_version :param pulumi.Input[str] reported_os_family :param pulumi.Input[str] reported_os_name :param pulumi.Input[str] reported_os_version :param pulumi.Input[list] root_block_devices: Customize details about the root block

device of the instance. See Block Devices below for details.
Parameters: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"

:param pulumi.Input[str] root_device_volume_id :param pulumi.Input[list] security_group_ids: The associated security groups. :param pulumi.Input[str] ssh_host_dsa_key_fingerprint :param pulumi.Input[str] ssh_host_rsa_key_fingerprint :param pulumi.Input[str] ssh_key_name: Name of the SSH keypair that instances will have by default. :param pulumi.Input[str] stack_id: The id of the stack the instance will belong to. :param pulumi.Input[str] state: The desired state of the instance. Can be either "running" or "stopped". :param pulumi.Input[str] status :param pulumi.Input[str] subnet_id: Subnet ID to attach to :param pulumi.Input[str] tenancy: Instance tenancy to use. Can be one of "default", "dedicated" or "host" :param pulumi.Input[str] virtualization_type: Keyword to choose what virtualization mode created instances

will use. Can be either "paravirtual" or "hvm".
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.

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.

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.

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".

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, __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.

:param pulumi.Input[list] custom_configure_recipes :param pulumi.Input[list] custom_deploy_recipes :param pulumi.Input[str] custom_instance_profile_arn: The ARN of an IAM profile that will be used for the layer’s instances. :param pulumi.Input[str] custom_json: Custom JSON attributes to apply to the layer. :param pulumi.Input[list] custom_security_group_ids: Ids for a set of security groups to apply to the layer’s instances. :param pulumi.Input[list] custom_setup_recipes :param pulumi.Input[list] custom_shutdown_recipes :param pulumi.Input[list] custom_undeploy_recipes :param pulumi.Input[bool] drain_elb_on_shutdown: Whether to enable Elastic Load Balancing connection draining. :param pulumi.Input[list] ebs_volumes: ebs_volume blocks, as described below, will each create an EBS volume and connect it to the layer’s instances. :param pulumi.Input[str] elastic_load_balancer: Name of an Elastic Load Balancer to attach to this layer :param pulumi.Input[bool] install_updates_on_boot: Whether to install OS and package updates on each instance when it boots. :param pulumi.Input[int] instance_shutdown_timeout: The time, in seconds, that OpsWorks will wait for Chef to complete after triggering the Shutdown event. :param pulumi.Input[str] jvm_options: Options to set for the JVM. :param pulumi.Input[str] jvm_type: Keyword for the type of JVM to use. Defaults to openjdk. :param pulumi.Input[str] jvm_version: Version of JVM to use. Defaults to “7”. :param pulumi.Input[str] name: A human-readable name for the layer. :param pulumi.Input[str] stack_id: The id of the stack the layer will belong to. :param pulumi.Input[list] system_packages: Names of a set of system packages to install on the layer’s instances. :param pulumi.Input[bool] use_ebs_optimized_instances: Whether to use EBS-optimized instances.

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.

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.

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, __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[int]) – 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.

:param pulumi.Input[list] custom_configure_recipes :param pulumi.Input[list] custom_deploy_recipes :param pulumi.Input[str] custom_instance_profile_arn: The ARN of an IAM profile that will be used for the layer’s instances. :param pulumi.Input[str] custom_json: Custom JSON attributes to apply to the layer. :param pulumi.Input[list] custom_security_group_ids: Ids for a set of security groups to apply to the layer’s instances. :param pulumi.Input[list] custom_setup_recipes :param pulumi.Input[list] custom_shutdown_recipes :param pulumi.Input[list] custom_undeploy_recipes :param pulumi.Input[bool] drain_elb_on_shutdown: Whether to enable Elastic Load Balancing connection draining. :param pulumi.Input[list] ebs_volumes: ebs_volume blocks, as described below, will each create an EBS volume and connect it to the layer’s instances. :param pulumi.Input[str] elastic_load_balancer: Name of an Elastic Load Balancer to attach to this layer :param pulumi.Input[bool] install_updates_on_boot: Whether to install OS and package updates on each instance when it boots. :param pulumi.Input[int] instance_shutdown_timeout: The time, in seconds, that OpsWorks will wait for Chef to complete after triggering the Shutdown event. :param pulumi.Input[str] name: A human-readable name for the layer. :param pulumi.Input[str] stack_id: The id of the stack the layer will belong to. :param pulumi.Input[list] system_packages: Names of a set of system packages to install on the layer’s instances. :param pulumi.Input[bool] use_ebs_optimized_instances: Whether to use EBS-optimized instances.

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.

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.

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, __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.

:param pulumi.Input[list] custom_configure_recipes :param pulumi.Input[list] custom_deploy_recipes :param pulumi.Input[str] custom_instance_profile_arn: The ARN of an IAM profile that will be used for the layer’s instances. :param pulumi.Input[str] custom_json: Custom JSON attributes to apply to the layer. :param pulumi.Input[list] custom_security_group_ids: Ids for a set of security groups to apply to the layer’s instances. :param pulumi.Input[list] custom_setup_recipes :param pulumi.Input[list] custom_shutdown_recipes :param pulumi.Input[list] custom_undeploy_recipes :param pulumi.Input[bool] drain_elb_on_shutdown: Whether to enable Elastic Load Balancing connection draining. :param pulumi.Input[list] ebs_volumes: ebs_volume blocks, as described below, will each create an EBS volume and connect it to the layer’s instances. :param pulumi.Input[str] elastic_load_balancer: Name of an Elastic Load Balancer to attach to this layer :param pulumi.Input[bool] install_updates_on_boot: Whether to install OS and package updates on each instance when it boots. :param pulumi.Input[int] instance_shutdown_timeout: The time, in seconds, that OpsWorks will wait for Chef to complete after triggering the Shutdown event. :param pulumi.Input[str] name: A human-readable name for the layer. :param pulumi.Input[str] root_password: Root password to use for MySQL. :param pulumi.Input[bool] root_password_on_all_instances: Whether to set the root user password to all instances in the stack so they can access the instances in this layer. :param pulumi.Input[str] stack_id: The id of the stack the layer will belong to. :param pulumi.Input[list] system_packages: Names of a set of system packages to install on the layer’s instances. :param pulumi.Input[bool] use_ebs_optimized_instances: Whether to use EBS-optimized instances.

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.

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.

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, __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.

:param pulumi.Input[list] custom_configure_recipes :param pulumi.Input[list] custom_deploy_recipes :param pulumi.Input[str] custom_instance_profile_arn: The ARN of an IAM profile that will be used for the layer’s instances. :param pulumi.Input[str] custom_json: Custom JSON attributes to apply to the layer. :param pulumi.Input[list] custom_security_group_ids: Ids for a set of security groups to apply to the layer’s instances. :param pulumi.Input[list] custom_setup_recipes :param pulumi.Input[list] custom_shutdown_recipes :param pulumi.Input[list] custom_undeploy_recipes :param pulumi.Input[bool] drain_elb_on_shutdown: Whether to enable Elastic Load Balancing connection draining. :param pulumi.Input[list] ebs_volumes: ebs_volume blocks, as described below, will each create an EBS volume and connect it to the layer’s instances. :param pulumi.Input[str] elastic_load_balancer: Name of an Elastic Load Balancer to attach to this layer :param pulumi.Input[bool] install_updates_on_boot: Whether to install OS and package updates on each instance when it boots. :param pulumi.Input[int] instance_shutdown_timeout: The time, in seconds, that OpsWorks will wait for Chef to complete after triggering the Shutdown event. :param pulumi.Input[str] name: A human-readable name for the layer. :param pulumi.Input[str] nodejs_version: The version of NodeJS to use. Defaults to “0.10.38”. :param pulumi.Input[str] stack_id: The id of the stack the layer will belong to. :param pulumi.Input[list] system_packages: Names of a set of system packages to install on the layer’s instances. :param pulumi.Input[bool] use_ebs_optimized_instances: Whether to use EBS-optimized instances.

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.

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.

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, __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

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, __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.

:param pulumi.Input[list] custom_configure_recipes :param pulumi.Input[list] custom_deploy_recipes :param pulumi.Input[str] custom_instance_profile_arn: The ARN of an IAM profile that will be used for the layer’s instances. :param pulumi.Input[str] custom_json: Custom JSON attributes to apply to the layer. :param pulumi.Input[list] custom_security_group_ids: Ids for a set of security groups to apply to the layer’s instances. :param pulumi.Input[list] custom_setup_recipes :param pulumi.Input[list] custom_shutdown_recipes :param pulumi.Input[list] custom_undeploy_recipes :param pulumi.Input[bool] drain_elb_on_shutdown: Whether to enable Elastic Load Balancing connection draining. :param pulumi.Input[list] ebs_volumes: ebs_volume blocks, as described below, will each create an EBS volume and connect it to the layer’s instances. :param pulumi.Input[str] elastic_load_balancer: Name of an Elastic Load Balancer to attach to this layer :param pulumi.Input[bool] install_updates_on_boot: Whether to install OS and package updates on each instance when it boots. :param pulumi.Input[int] instance_shutdown_timeout: The time, in seconds, that OpsWorks will wait for Chef to complete after triggering the Shutdown event. :param pulumi.Input[str] name: A human-readable name for the layer. :param pulumi.Input[str] stack_id: The id of the stack the layer will belong to. :param pulumi.Input[list] system_packages: Names of a set of system packages to install on the layer’s instances. :param pulumi.Input[bool] use_ebs_optimized_instances: Whether to use EBS-optimized instances.

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.

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.

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, __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”.

:param pulumi.Input[list] custom_configure_recipes :param pulumi.Input[list] custom_deploy_recipes :param pulumi.Input[str] custom_instance_profile_arn: The ARN of an IAM profile that will be used for the layer’s instances. :param pulumi.Input[str] custom_json: Custom JSON attributes to apply to the layer. :param pulumi.Input[list] custom_security_group_ids: Ids for a set of security groups to apply to the layer’s instances. :param pulumi.Input[list] custom_setup_recipes :param pulumi.Input[list] custom_shutdown_recipes :param pulumi.Input[list] custom_undeploy_recipes :param pulumi.Input[bool] drain_elb_on_shutdown: Whether to enable Elastic Load Balancing connection draining. :param pulumi.Input[list] ebs_volumes: ebs_volume blocks, as described below, will each create an EBS volume and connect it to the layer’s instances. :param pulumi.Input[str] elastic_load_balancer: Name of an Elastic Load Balancer to attach to this layer :param pulumi.Input[bool] install_updates_on_boot: Whether to install OS and package updates on each instance when it boots. :param pulumi.Input[int] instance_shutdown_timeout: The time, in seconds, that OpsWorks will wait for Chef to complete after triggering the Shutdown event. :param pulumi.Input[bool] manage_bundler: Whether OpsWorks should manage bundler. On by default. :param pulumi.Input[str] name: A human-readable name for the layer. :param pulumi.Input[str] passenger_version: The version of Passenger to use. Defaults to “4.0.46”. :param pulumi.Input[str] ruby_version: The version of Ruby to use. Defaults to “2.0.0”. :param pulumi.Input[str] rubygems_version: The version of RubyGems to use. Defaults to “2.2.2”. :param pulumi.Input[str] stack_id: The id of the stack the layer will belong to. :param pulumi.Input[list] system_packages: Names of a set of system packages to install on the layer’s instances. :param pulumi.Input[bool] use_ebs_optimized_instances: Whether to use EBS-optimized instances.

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.

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.

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, __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.

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, __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.
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.

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.

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, __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.

:param pulumi.Input[list] custom_configure_recipes :param pulumi.Input[list] custom_deploy_recipes :param pulumi.Input[str] custom_instance_profile_arn: The ARN of an IAM profile that will be used for the layer’s instances. :param pulumi.Input[str] custom_json :param pulumi.Input[list] custom_security_group_ids: Ids for a set of security groups to apply to the layer’s instances. :param pulumi.Input[list] custom_setup_recipes :param pulumi.Input[list] custom_shutdown_recipes :param pulumi.Input[list] custom_undeploy_recipes :param pulumi.Input[bool] drain_elb_on_shutdown: Whether to enable Elastic Load Balancing connection draining. :param pulumi.Input[list] ebs_volumes: ebs_volume blocks, as described below, will each create an EBS volume and connect it to the layer’s instances. :param pulumi.Input[str] elastic_load_balancer: Name of an Elastic Load Balancer to attach to this layer :param pulumi.Input[bool] install_updates_on_boot: Whether to install OS and package updates on each instance when it boots. :param pulumi.Input[int] instance_shutdown_timeout: The time, in seconds, that OpsWorks will wait for Chef to complete after triggering the Shutdown event. :param pulumi.Input[str] name: A human-readable name for the layer. :param pulumi.Input[str] stack_id: The id of the stack the layer will belong to. :param pulumi.Input[list] system_packages: Names of a set of system packages to install on the layer’s instances. :param pulumi.Input[bool] use_ebs_optimized_instances: Whether to use EBS-optimized instances.

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.

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.

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, __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

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