aws logo
AWS Classic v5.31.0, Mar 10 23

aws.opsworks.CustomLayer

Provides an OpsWorks custom layer resource.

Example Usage

using System.Collections.Generic;
using Pulumi;
using Aws = Pulumi.Aws;

return await Deployment.RunAsync(() => 
{
    var custlayer = new Aws.OpsWorks.CustomLayer("custlayer", new()
    {
        ShortName = "awesome",
        StackId = aws_opsworks_stack.Main.Id,
    });

});
package main

import (
	"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/opsworks"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := opsworks.NewCustomLayer(ctx, "custlayer", &opsworks.CustomLayerArgs{
			ShortName: pulumi.String("awesome"),
			StackId:   pulumi.Any(aws_opsworks_stack.Main.Id),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.opsworks.CustomLayer;
import com.pulumi.aws.opsworks.CustomLayerArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var custlayer = new CustomLayer("custlayer", CustomLayerArgs.builder()        
            .shortName("awesome")
            .stackId(aws_opsworks_stack.main().id())
            .build());

    }
}
import pulumi
import pulumi_aws as aws

custlayer = aws.opsworks.CustomLayer("custlayer",
    short_name="awesome",
    stack_id=aws_opsworks_stack["main"]["id"])
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

const custlayer = new aws.opsworks.CustomLayer("custlayer", {
    shortName: "awesome",
    stackId: aws_opsworks_stack.main.id,
});
resources:
  custlayer:
    type: aws:opsworks:CustomLayer
    properties:
      shortName: awesome
      stackId: ${aws_opsworks_stack.main.id}

Create CustomLayer Resource

new CustomLayer(name: string, args: CustomLayerArgs, opts?: CustomResourceOptions);
@overload
def CustomLayer(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                auto_assign_elastic_ips: Optional[bool] = None,
                auto_assign_public_ips: Optional[bool] = None,
                auto_healing: Optional[bool] = None,
                cloudwatch_configuration: Optional[CustomLayerCloudwatchConfigurationArgs] = None,
                custom_configure_recipes: Optional[Sequence[str]] = None,
                custom_deploy_recipes: Optional[Sequence[str]] = None,
                custom_instance_profile_arn: Optional[str] = None,
                custom_json: Optional[str] = None,
                custom_security_group_ids: Optional[Sequence[str]] = None,
                custom_setup_recipes: Optional[Sequence[str]] = None,
                custom_shutdown_recipes: Optional[Sequence[str]] = None,
                custom_undeploy_recipes: Optional[Sequence[str]] = None,
                drain_elb_on_shutdown: Optional[bool] = None,
                ebs_volumes: Optional[Sequence[CustomLayerEbsVolumeArgs]] = None,
                elastic_load_balancer: Optional[str] = None,
                install_updates_on_boot: Optional[bool] = None,
                instance_shutdown_timeout: Optional[int] = None,
                load_based_auto_scaling: Optional[CustomLayerLoadBasedAutoScalingArgs] = None,
                name: Optional[str] = None,
                short_name: Optional[str] = None,
                stack_id: Optional[str] = None,
                system_packages: Optional[Sequence[str]] = None,
                tags: Optional[Mapping[str, str]] = None,
                use_ebs_optimized_instances: Optional[bool] = None)
@overload
def CustomLayer(resource_name: str,
                args: CustomLayerArgs,
                opts: Optional[ResourceOptions] = None)
func NewCustomLayer(ctx *Context, name string, args CustomLayerArgs, opts ...ResourceOption) (*CustomLayer, error)
public CustomLayer(string name, CustomLayerArgs args, CustomResourceOptions? opts = null)
public CustomLayer(String name, CustomLayerArgs args)
public CustomLayer(String name, CustomLayerArgs args, CustomResourceOptions options)
type: aws:opsworks:CustomLayer
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args CustomLayerArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args CustomLayerArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args CustomLayerArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args CustomLayerArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args CustomLayerArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

CustomLayer Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The CustomLayer resource accepts the following input properties:

ShortName string

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

StackId string

ID of the stack the layer will belong to.

AutoAssignElasticIps bool

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

AutoAssignPublicIps bool

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

AutoHealing bool

Whether to enable auto-healing for the layer.

CloudwatchConfiguration CustomLayerCloudwatchConfigurationArgs

Will create an EBS volume and connect it to the layer's instances. See Cloudwatch Configuration.

CustomConfigureRecipes List<string>
CustomDeployRecipes List<string>
CustomInstanceProfileArn string

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

CustomJson string

Custom JSON attributes to apply to the layer.

CustomSecurityGroupIds List<string>

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

CustomSetupRecipes List<string>
CustomShutdownRecipes List<string>
CustomUndeployRecipes List<string>
DrainElbOnShutdown bool

Whether to enable Elastic Load Balancing connection draining.

EbsVolumes List<CustomLayerEbsVolumeArgs>

Will create an EBS volume and connect it to the layer's instances. See EBS Volume.

ElasticLoadBalancer string

Name of an Elastic Load Balancer to attach to this layer

InstallUpdatesOnBoot bool

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

InstanceShutdownTimeout int

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

LoadBasedAutoScaling CustomLayerLoadBasedAutoScalingArgs

Load-based auto scaling configuration. See Load Based AutoScaling

Name string

A human-readable name for the layer.

SystemPackages List<string>

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

Tags Dictionary<string, string>

A map of tags to assign to the resource. .If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

UseEbsOptimizedInstances bool

Whether to use EBS-optimized instances.

ShortName string

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

StackId string

ID of the stack the layer will belong to.

AutoAssignElasticIps bool

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

AutoAssignPublicIps bool

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

AutoHealing bool

Whether to enable auto-healing for the layer.

CloudwatchConfiguration CustomLayerCloudwatchConfigurationArgs

Will create an EBS volume and connect it to the layer's instances. See Cloudwatch Configuration.

CustomConfigureRecipes []string
CustomDeployRecipes []string
CustomInstanceProfileArn string

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

CustomJson string

Custom JSON attributes to apply to the layer.

CustomSecurityGroupIds []string

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

CustomSetupRecipes []string
CustomShutdownRecipes []string
CustomUndeployRecipes []string
DrainElbOnShutdown bool

Whether to enable Elastic Load Balancing connection draining.

EbsVolumes []CustomLayerEbsVolumeArgs

Will create an EBS volume and connect it to the layer's instances. See EBS Volume.

ElasticLoadBalancer string

Name of an Elastic Load Balancer to attach to this layer

InstallUpdatesOnBoot bool

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

InstanceShutdownTimeout int

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

LoadBasedAutoScaling CustomLayerLoadBasedAutoScalingArgs

Load-based auto scaling configuration. See Load Based AutoScaling

Name string

A human-readable name for the layer.

SystemPackages []string

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

Tags map[string]string

A map of tags to assign to the resource. .If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

UseEbsOptimizedInstances bool

Whether to use EBS-optimized instances.

shortName String

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

stackId String

ID of the stack the layer will belong to.

autoAssignElasticIps Boolean

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

autoAssignPublicIps Boolean

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

autoHealing Boolean

Whether to enable auto-healing for the layer.

cloudwatchConfiguration CustomLayerCloudwatchConfigurationArgs

Will create an EBS volume and connect it to the layer's instances. See Cloudwatch Configuration.

customConfigureRecipes List<String>
customDeployRecipes List<String>
customInstanceProfileArn String

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

customJson String

Custom JSON attributes to apply to the layer.

customSecurityGroupIds List<String>

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

customSetupRecipes List<String>
customShutdownRecipes List<String>
customUndeployRecipes List<String>
drainElbOnShutdown Boolean

Whether to enable Elastic Load Balancing connection draining.

ebsVolumes List<CustomLayerEbsVolumeArgs>

Will create an EBS volume and connect it to the layer's instances. See EBS Volume.

elasticLoadBalancer String

Name of an Elastic Load Balancer to attach to this layer

installUpdatesOnBoot Boolean

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

instanceShutdownTimeout Integer

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

loadBasedAutoScaling CustomLayerLoadBasedAutoScalingArgs

Load-based auto scaling configuration. See Load Based AutoScaling

name String

A human-readable name for the layer.

systemPackages List<String>

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

tags Map<String,String>

A map of tags to assign to the resource. .If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

useEbsOptimizedInstances Boolean

Whether to use EBS-optimized instances.

shortName string

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

stackId string

ID of the stack the layer will belong to.

autoAssignElasticIps boolean

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

autoAssignPublicIps boolean

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

autoHealing boolean

Whether to enable auto-healing for the layer.

cloudwatchConfiguration CustomLayerCloudwatchConfigurationArgs

Will create an EBS volume and connect it to the layer's instances. See Cloudwatch Configuration.

customConfigureRecipes string[]
customDeployRecipes string[]
customInstanceProfileArn string

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

customJson string

Custom JSON attributes to apply to the layer.

customSecurityGroupIds string[]

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

customSetupRecipes string[]
customShutdownRecipes string[]
customUndeployRecipes string[]
drainElbOnShutdown boolean

Whether to enable Elastic Load Balancing connection draining.

ebsVolumes CustomLayerEbsVolumeArgs[]

Will create an EBS volume and connect it to the layer's instances. See EBS Volume.

elasticLoadBalancer string

Name of an Elastic Load Balancer to attach to this layer

installUpdatesOnBoot boolean

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

instanceShutdownTimeout number

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

loadBasedAutoScaling CustomLayerLoadBasedAutoScalingArgs

Load-based auto scaling configuration. See Load Based AutoScaling

name string

A human-readable name for the layer.

systemPackages string[]

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

tags {[key: string]: string}

A map of tags to assign to the resource. .If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

useEbsOptimizedInstances boolean

Whether to use EBS-optimized instances.

short_name str

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

stack_id str

ID of the stack the layer will belong to.

auto_assign_elastic_ips bool

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

auto_assign_public_ips bool

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

auto_healing bool

Whether to enable auto-healing for the layer.

cloudwatch_configuration CustomLayerCloudwatchConfigurationArgs

Will create an EBS volume and connect it to the layer's instances. See Cloudwatch Configuration.

custom_configure_recipes Sequence[str]
custom_deploy_recipes Sequence[str]
custom_instance_profile_arn str

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

custom_json str

Custom JSON attributes to apply to the layer.

custom_security_group_ids Sequence[str]

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

custom_setup_recipes Sequence[str]
custom_shutdown_recipes Sequence[str]
custom_undeploy_recipes Sequence[str]
drain_elb_on_shutdown bool

Whether to enable Elastic Load Balancing connection draining.

ebs_volumes Sequence[CustomLayerEbsVolumeArgs]

Will create an EBS volume and connect it to the layer's instances. See EBS Volume.

elastic_load_balancer str

Name of an Elastic Load Balancer to attach to this layer

install_updates_on_boot bool

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

instance_shutdown_timeout int

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

load_based_auto_scaling CustomLayerLoadBasedAutoScalingArgs

Load-based auto scaling configuration. See Load Based AutoScaling

name str

A human-readable name for the layer.

system_packages Sequence[str]

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

tags Mapping[str, str]

A map of tags to assign to the resource. .If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

use_ebs_optimized_instances bool

Whether to use EBS-optimized instances.

shortName String

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

stackId String

ID of the stack the layer will belong to.

autoAssignElasticIps Boolean

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

autoAssignPublicIps Boolean

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

autoHealing Boolean

Whether to enable auto-healing for the layer.

cloudwatchConfiguration Property Map

Will create an EBS volume and connect it to the layer's instances. See Cloudwatch Configuration.

customConfigureRecipes List<String>
customDeployRecipes List<String>
customInstanceProfileArn String

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

customJson String

Custom JSON attributes to apply to the layer.

customSecurityGroupIds List<String>

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

customSetupRecipes List<String>
customShutdownRecipes List<String>
customUndeployRecipes List<String>
drainElbOnShutdown Boolean

Whether to enable Elastic Load Balancing connection draining.

ebsVolumes List<Property Map>

Will create an EBS volume and connect it to the layer's instances. See EBS Volume.

elasticLoadBalancer String

Name of an Elastic Load Balancer to attach to this layer

installUpdatesOnBoot Boolean

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

instanceShutdownTimeout Number

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

loadBasedAutoScaling Property Map

Load-based auto scaling configuration. See Load Based AutoScaling

name String

A human-readable name for the layer.

systemPackages List<String>

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

tags Map<String>

A map of tags to assign to the resource. .If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

useEbsOptimizedInstances Boolean

Whether to use EBS-optimized instances.

Outputs

All input properties are implicitly available as output properties. Additionally, the CustomLayer resource produces the following output properties:

Arn string

The Amazon Resource Name(ARN) of the layer.

Id string

The provider-assigned unique ID for this managed resource.

TagsAll Dictionary<string, string>

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Arn string

The Amazon Resource Name(ARN) of the layer.

Id string

The provider-assigned unique ID for this managed resource.

TagsAll map[string]string

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

arn String

The Amazon Resource Name(ARN) of the layer.

id String

The provider-assigned unique ID for this managed resource.

tagsAll Map<String,String>

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

arn string

The Amazon Resource Name(ARN) of the layer.

id string

The provider-assigned unique ID for this managed resource.

tagsAll {[key: string]: string}

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

arn str

The Amazon Resource Name(ARN) of the layer.

id str

The provider-assigned unique ID for this managed resource.

tags_all Mapping[str, str]

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

arn String

The Amazon Resource Name(ARN) of the layer.

id String

The provider-assigned unique ID for this managed resource.

tagsAll Map<String>

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Look up Existing CustomLayer Resource

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

public static get(name: string, id: Input<ID>, state?: CustomLayerState, opts?: CustomResourceOptions): CustomLayer
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        arn: Optional[str] = None,
        auto_assign_elastic_ips: Optional[bool] = None,
        auto_assign_public_ips: Optional[bool] = None,
        auto_healing: Optional[bool] = None,
        cloudwatch_configuration: Optional[CustomLayerCloudwatchConfigurationArgs] = None,
        custom_configure_recipes: Optional[Sequence[str]] = None,
        custom_deploy_recipes: Optional[Sequence[str]] = None,
        custom_instance_profile_arn: Optional[str] = None,
        custom_json: Optional[str] = None,
        custom_security_group_ids: Optional[Sequence[str]] = None,
        custom_setup_recipes: Optional[Sequence[str]] = None,
        custom_shutdown_recipes: Optional[Sequence[str]] = None,
        custom_undeploy_recipes: Optional[Sequence[str]] = None,
        drain_elb_on_shutdown: Optional[bool] = None,
        ebs_volumes: Optional[Sequence[CustomLayerEbsVolumeArgs]] = None,
        elastic_load_balancer: Optional[str] = None,
        install_updates_on_boot: Optional[bool] = None,
        instance_shutdown_timeout: Optional[int] = None,
        load_based_auto_scaling: Optional[CustomLayerLoadBasedAutoScalingArgs] = None,
        name: Optional[str] = None,
        short_name: Optional[str] = None,
        stack_id: Optional[str] = None,
        system_packages: Optional[Sequence[str]] = None,
        tags: Optional[Mapping[str, str]] = None,
        tags_all: Optional[Mapping[str, str]] = None,
        use_ebs_optimized_instances: Optional[bool] = None) -> CustomLayer
func GetCustomLayer(ctx *Context, name string, id IDInput, state *CustomLayerState, opts ...ResourceOption) (*CustomLayer, error)
public static CustomLayer Get(string name, Input<string> id, CustomLayerState? state, CustomResourceOptions? opts = null)
public static CustomLayer get(String name, Output<String> id, CustomLayerState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
Arn string

The Amazon Resource Name(ARN) of the layer.

AutoAssignElasticIps bool

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

AutoAssignPublicIps bool

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

AutoHealing bool

Whether to enable auto-healing for the layer.

CloudwatchConfiguration CustomLayerCloudwatchConfigurationArgs

Will create an EBS volume and connect it to the layer's instances. See Cloudwatch Configuration.

CustomConfigureRecipes List<string>
CustomDeployRecipes List<string>
CustomInstanceProfileArn string

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

CustomJson string

Custom JSON attributes to apply to the layer.

CustomSecurityGroupIds List<string>

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

CustomSetupRecipes List<string>
CustomShutdownRecipes List<string>
CustomUndeployRecipes List<string>
DrainElbOnShutdown bool

Whether to enable Elastic Load Balancing connection draining.

EbsVolumes List<CustomLayerEbsVolumeArgs>

Will create an EBS volume and connect it to the layer's instances. See EBS Volume.

ElasticLoadBalancer string

Name of an Elastic Load Balancer to attach to this layer

InstallUpdatesOnBoot bool

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

InstanceShutdownTimeout int

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

LoadBasedAutoScaling CustomLayerLoadBasedAutoScalingArgs

Load-based auto scaling configuration. See Load Based AutoScaling

Name string

A human-readable name for the layer.

ShortName string

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

StackId string

ID of the stack the layer will belong to.

SystemPackages List<string>

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

Tags Dictionary<string, string>

A map of tags to assign to the resource. .If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

TagsAll Dictionary<string, string>

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

UseEbsOptimizedInstances bool

Whether to use EBS-optimized instances.

Arn string

The Amazon Resource Name(ARN) of the layer.

AutoAssignElasticIps bool

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

AutoAssignPublicIps bool

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

AutoHealing bool

Whether to enable auto-healing for the layer.

CloudwatchConfiguration CustomLayerCloudwatchConfigurationArgs

Will create an EBS volume and connect it to the layer's instances. See Cloudwatch Configuration.

CustomConfigureRecipes []string
CustomDeployRecipes []string
CustomInstanceProfileArn string

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

CustomJson string

Custom JSON attributes to apply to the layer.

CustomSecurityGroupIds []string

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

CustomSetupRecipes []string
CustomShutdownRecipes []string
CustomUndeployRecipes []string
DrainElbOnShutdown bool

Whether to enable Elastic Load Balancing connection draining.

EbsVolumes []CustomLayerEbsVolumeArgs

Will create an EBS volume and connect it to the layer's instances. See EBS Volume.

ElasticLoadBalancer string

Name of an Elastic Load Balancer to attach to this layer

InstallUpdatesOnBoot bool

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

InstanceShutdownTimeout int

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

LoadBasedAutoScaling CustomLayerLoadBasedAutoScalingArgs

Load-based auto scaling configuration. See Load Based AutoScaling

Name string

A human-readable name for the layer.

ShortName string

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

StackId string

ID of the stack the layer will belong to.

SystemPackages []string

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

Tags map[string]string

A map of tags to assign to the resource. .If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

TagsAll map[string]string

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

UseEbsOptimizedInstances bool

Whether to use EBS-optimized instances.

arn String

The Amazon Resource Name(ARN) of the layer.

autoAssignElasticIps Boolean

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

autoAssignPublicIps Boolean

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

autoHealing Boolean

Whether to enable auto-healing for the layer.

cloudwatchConfiguration CustomLayerCloudwatchConfigurationArgs

Will create an EBS volume and connect it to the layer's instances. See Cloudwatch Configuration.

customConfigureRecipes List<String>
customDeployRecipes List<String>
customInstanceProfileArn String

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

customJson String

Custom JSON attributes to apply to the layer.

customSecurityGroupIds List<String>

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

customSetupRecipes List<String>
customShutdownRecipes List<String>
customUndeployRecipes List<String>
drainElbOnShutdown Boolean

Whether to enable Elastic Load Balancing connection draining.

ebsVolumes List<CustomLayerEbsVolumeArgs>

Will create an EBS volume and connect it to the layer's instances. See EBS Volume.

elasticLoadBalancer String

Name of an Elastic Load Balancer to attach to this layer

installUpdatesOnBoot Boolean

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

instanceShutdownTimeout Integer

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

loadBasedAutoScaling CustomLayerLoadBasedAutoScalingArgs

Load-based auto scaling configuration. See Load Based AutoScaling

name String

A human-readable name for the layer.

shortName String

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

stackId String

ID of the stack the layer will belong to.

systemPackages List<String>

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

tags Map<String,String>

A map of tags to assign to the resource. .If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

tagsAll Map<String,String>

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

useEbsOptimizedInstances Boolean

Whether to use EBS-optimized instances.

arn string

The Amazon Resource Name(ARN) of the layer.

autoAssignElasticIps boolean

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

autoAssignPublicIps boolean

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

autoHealing boolean

Whether to enable auto-healing for the layer.

cloudwatchConfiguration CustomLayerCloudwatchConfigurationArgs

Will create an EBS volume and connect it to the layer's instances. See Cloudwatch Configuration.

customConfigureRecipes string[]
customDeployRecipes string[]
customInstanceProfileArn string

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

customJson string

Custom JSON attributes to apply to the layer.

customSecurityGroupIds string[]

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

customSetupRecipes string[]
customShutdownRecipes string[]
customUndeployRecipes string[]
drainElbOnShutdown boolean

Whether to enable Elastic Load Balancing connection draining.

ebsVolumes CustomLayerEbsVolumeArgs[]

Will create an EBS volume and connect it to the layer's instances. See EBS Volume.

elasticLoadBalancer string

Name of an Elastic Load Balancer to attach to this layer

installUpdatesOnBoot boolean

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

instanceShutdownTimeout number

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

loadBasedAutoScaling CustomLayerLoadBasedAutoScalingArgs

Load-based auto scaling configuration. See Load Based AutoScaling

name string

A human-readable name for the layer.

shortName string

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

stackId string

ID of the stack the layer will belong to.

systemPackages string[]

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

tags {[key: string]: string}

A map of tags to assign to the resource. .If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

tagsAll {[key: string]: string}

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

useEbsOptimizedInstances boolean

Whether to use EBS-optimized instances.

arn str

The Amazon Resource Name(ARN) of the layer.

auto_assign_elastic_ips bool

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

auto_assign_public_ips bool

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

auto_healing bool

Whether to enable auto-healing for the layer.

cloudwatch_configuration CustomLayerCloudwatchConfigurationArgs

Will create an EBS volume and connect it to the layer's instances. See Cloudwatch Configuration.

custom_configure_recipes Sequence[str]
custom_deploy_recipes Sequence[str]
custom_instance_profile_arn str

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

custom_json str

Custom JSON attributes to apply to the layer.

custom_security_group_ids Sequence[str]

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

custom_setup_recipes Sequence[str]
custom_shutdown_recipes Sequence[str]
custom_undeploy_recipes Sequence[str]
drain_elb_on_shutdown bool

Whether to enable Elastic Load Balancing connection draining.

ebs_volumes Sequence[CustomLayerEbsVolumeArgs]

Will create an EBS volume and connect it to the layer's instances. See EBS Volume.

elastic_load_balancer str

Name of an Elastic Load Balancer to attach to this layer

install_updates_on_boot bool

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

instance_shutdown_timeout int

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

load_based_auto_scaling CustomLayerLoadBasedAutoScalingArgs

Load-based auto scaling configuration. See Load Based AutoScaling

name str

A human-readable name for the layer.

short_name str

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

stack_id str

ID of the stack the layer will belong to.

system_packages Sequence[str]

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

tags Mapping[str, str]

A map of tags to assign to the resource. .If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

tags_all Mapping[str, str]

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

use_ebs_optimized_instances bool

Whether to use EBS-optimized instances.

arn String

The Amazon Resource Name(ARN) of the layer.

autoAssignElasticIps Boolean

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

autoAssignPublicIps Boolean

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

autoHealing Boolean

Whether to enable auto-healing for the layer.

cloudwatchConfiguration Property Map

Will create an EBS volume and connect it to the layer's instances. See Cloudwatch Configuration.

customConfigureRecipes List<String>
customDeployRecipes List<String>
customInstanceProfileArn String

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

customJson String

Custom JSON attributes to apply to the layer.

customSecurityGroupIds List<String>

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

customSetupRecipes List<String>
customShutdownRecipes List<String>
customUndeployRecipes List<String>
drainElbOnShutdown Boolean

Whether to enable Elastic Load Balancing connection draining.

ebsVolumes List<Property Map>

Will create an EBS volume and connect it to the layer's instances. See EBS Volume.

elasticLoadBalancer String

Name of an Elastic Load Balancer to attach to this layer

installUpdatesOnBoot Boolean

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

instanceShutdownTimeout Number

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

loadBasedAutoScaling Property Map

Load-based auto scaling configuration. See Load Based AutoScaling

name String

A human-readable name for the layer.

shortName String

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

stackId String

ID of the stack the layer will belong to.

systemPackages List<String>

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

tags Map<String>

A map of tags to assign to the resource. .If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

tagsAll Map<String>

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

useEbsOptimizedInstances Boolean

Whether to use EBS-optimized instances.

Supporting Types

CustomLayerCloudwatchConfiguration

Enabled bool
LogStreams List<CustomLayerCloudwatchConfigurationLogStream>

A block the specifies how an opsworks logs look like. See Log Streams.

Enabled bool
LogStreams []CustomLayerCloudwatchConfigurationLogStream

A block the specifies how an opsworks logs look like. See Log Streams.

enabled Boolean
logStreams List<CustomLayerCloudwatchConfigurationLogStream>

A block the specifies how an opsworks logs look like. See Log Streams.

enabled boolean
logStreams CustomLayerCloudwatchConfigurationLogStream[]

A block the specifies how an opsworks logs look like. See Log Streams.

enabled bool
log_streams Sequence[CustomLayerCloudwatchConfigurationLogStream]

A block the specifies how an opsworks logs look like. See Log Streams.

enabled Boolean
logStreams List<Property Map>

A block the specifies how an opsworks logs look like. See Log Streams.

CustomLayerCloudwatchConfigurationLogStream

File string

Specifies log files that you want to push to CloudWatch Logs. File can point to a specific file or multiple files (by using wild card characters such as /var/log/system.log*).

LogGroupName string

Specifies the destination log group. A log group is created automatically if it doesn't already exist.

BatchCount int

Specifies the max number of log events in a batch, up to 10000. The default value is 1000.

BatchSize int

Specifies the maximum size of log events in a batch, in bytes, up to 1048576 bytes. The default value is 32768 bytes.

BufferDuration int

Specifies the time duration for the batching of log events. The minimum value is 5000 and default value is 5000.

DatetimeFormat string

Specifies how the timestamp is extracted from logs. For more information, see the CloudWatch Logs Agent Reference (https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/AgentReference.html).

Encoding string

Specifies the encoding of the log file so that the file can be read correctly. The default is utf_8.

FileFingerprintLines string

Specifies the range of lines for identifying a file. The valid values are one number, or two dash-delimited numbers, such as 1, 2-5. The default value is 1.

InitialPosition string

Specifies where to start to read data (start_of_file or end_of_file). The default is start_of_file.

MultilineStartPattern string

Specifies the pattern for identifying the start of a log message.

TimeZone string

Specifies the time zone of log event time stamps.

File string

Specifies log files that you want to push to CloudWatch Logs. File can point to a specific file or multiple files (by using wild card characters such as /var/log/system.log*).

LogGroupName string

Specifies the destination log group. A log group is created automatically if it doesn't already exist.

BatchCount int

Specifies the max number of log events in a batch, up to 10000. The default value is 1000.

BatchSize int

Specifies the maximum size of log events in a batch, in bytes, up to 1048576 bytes. The default value is 32768 bytes.

BufferDuration int

Specifies the time duration for the batching of log events. The minimum value is 5000 and default value is 5000.

DatetimeFormat string

Specifies how the timestamp is extracted from logs. For more information, see the CloudWatch Logs Agent Reference (https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/AgentReference.html).

Encoding string

Specifies the encoding of the log file so that the file can be read correctly. The default is utf_8.

FileFingerprintLines string

Specifies the range of lines for identifying a file. The valid values are one number, or two dash-delimited numbers, such as 1, 2-5. The default value is 1.

InitialPosition string

Specifies where to start to read data (start_of_file or end_of_file). The default is start_of_file.

MultilineStartPattern string

Specifies the pattern for identifying the start of a log message.

TimeZone string

Specifies the time zone of log event time stamps.

file String

Specifies log files that you want to push to CloudWatch Logs. File can point to a specific file or multiple files (by using wild card characters such as /var/log/system.log*).

logGroupName String

Specifies the destination log group. A log group is created automatically if it doesn't already exist.

batchCount Integer

Specifies the max number of log events in a batch, up to 10000. The default value is 1000.

batchSize Integer

Specifies the maximum size of log events in a batch, in bytes, up to 1048576 bytes. The default value is 32768 bytes.

bufferDuration Integer

Specifies the time duration for the batching of log events. The minimum value is 5000 and default value is 5000.

datetimeFormat String

Specifies how the timestamp is extracted from logs. For more information, see the CloudWatch Logs Agent Reference (https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/AgentReference.html).

encoding String

Specifies the encoding of the log file so that the file can be read correctly. The default is utf_8.

fileFingerprintLines String

Specifies the range of lines for identifying a file. The valid values are one number, or two dash-delimited numbers, such as 1, 2-5. The default value is 1.

initialPosition String

Specifies where to start to read data (start_of_file or end_of_file). The default is start_of_file.

multilineStartPattern String

Specifies the pattern for identifying the start of a log message.

timeZone String

Specifies the time zone of log event time stamps.

file string

Specifies log files that you want to push to CloudWatch Logs. File can point to a specific file or multiple files (by using wild card characters such as /var/log/system.log*).

logGroupName string

Specifies the destination log group. A log group is created automatically if it doesn't already exist.

batchCount number

Specifies the max number of log events in a batch, up to 10000. The default value is 1000.

batchSize number

Specifies the maximum size of log events in a batch, in bytes, up to 1048576 bytes. The default value is 32768 bytes.

bufferDuration number

Specifies the time duration for the batching of log events. The minimum value is 5000 and default value is 5000.

datetimeFormat string

Specifies how the timestamp is extracted from logs. For more information, see the CloudWatch Logs Agent Reference (https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/AgentReference.html).

encoding string

Specifies the encoding of the log file so that the file can be read correctly. The default is utf_8.

fileFingerprintLines string

Specifies the range of lines for identifying a file. The valid values are one number, or two dash-delimited numbers, such as 1, 2-5. The default value is 1.

initialPosition string

Specifies where to start to read data (start_of_file or end_of_file). The default is start_of_file.

multilineStartPattern string

Specifies the pattern for identifying the start of a log message.

timeZone string

Specifies the time zone of log event time stamps.

file str

Specifies log files that you want to push to CloudWatch Logs. File can point to a specific file or multiple files (by using wild card characters such as /var/log/system.log*).

log_group_name str

Specifies the destination log group. A log group is created automatically if it doesn't already exist.

batch_count int

Specifies the max number of log events in a batch, up to 10000. The default value is 1000.

batch_size int

Specifies the maximum size of log events in a batch, in bytes, up to 1048576 bytes. The default value is 32768 bytes.

buffer_duration int

Specifies the time duration for the batching of log events. The minimum value is 5000 and default value is 5000.

datetime_format str

Specifies how the timestamp is extracted from logs. For more information, see the CloudWatch Logs Agent Reference (https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/AgentReference.html).

encoding str

Specifies the encoding of the log file so that the file can be read correctly. The default is utf_8.

file_fingerprint_lines str

Specifies the range of lines for identifying a file. The valid values are one number, or two dash-delimited numbers, such as 1, 2-5. The default value is 1.

initial_position str

Specifies where to start to read data (start_of_file or end_of_file). The default is start_of_file.

multiline_start_pattern str

Specifies the pattern for identifying the start of a log message.

time_zone str

Specifies the time zone of log event time stamps.

file String

Specifies log files that you want to push to CloudWatch Logs. File can point to a specific file or multiple files (by using wild card characters such as /var/log/system.log*).

logGroupName String

Specifies the destination log group. A log group is created automatically if it doesn't already exist.

batchCount Number

Specifies the max number of log events in a batch, up to 10000. The default value is 1000.

batchSize Number

Specifies the maximum size of log events in a batch, in bytes, up to 1048576 bytes. The default value is 32768 bytes.

bufferDuration Number

Specifies the time duration for the batching of log events. The minimum value is 5000 and default value is 5000.

datetimeFormat String

Specifies how the timestamp is extracted from logs. For more information, see the CloudWatch Logs Agent Reference (https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/AgentReference.html).

encoding String

Specifies the encoding of the log file so that the file can be read correctly. The default is utf_8.

fileFingerprintLines String

Specifies the range of lines for identifying a file. The valid values are one number, or two dash-delimited numbers, such as 1, 2-5. The default value is 1.

initialPosition String

Specifies where to start to read data (start_of_file or end_of_file). The default is start_of_file.

multilineStartPattern String

Specifies the pattern for identifying the start of a log message.

timeZone String

Specifies the time zone of log event time stamps.

CustomLayerEbsVolume

MountPoint string

The path to mount the EBS volume on the layer's instances.

NumberOfDisks int

The number of disks to use for the EBS volume.

Size int

The size of the volume in gigabytes.

Encrypted bool

Encrypt the volume.

Iops int

For PIOPS volumes, the IOPS per disk.

RaidLevel string

The RAID level to use for the volume.

Type string

The type of volume to create. This may be standard (the default), io1 or gp2.

MountPoint string

The path to mount the EBS volume on the layer's instances.

NumberOfDisks int

The number of disks to use for the EBS volume.

Size int

The size of the volume in gigabytes.

Encrypted bool

Encrypt the volume.

Iops int

For PIOPS volumes, the IOPS per disk.

RaidLevel string

The RAID level to use for the volume.

Type string

The type of volume to create. This may be standard (the default), io1 or gp2.

mountPoint String

The path to mount the EBS volume on the layer's instances.

numberOfDisks Integer

The number of disks to use for the EBS volume.

size Integer

The size of the volume in gigabytes.

encrypted Boolean

Encrypt the volume.

iops Integer

For PIOPS volumes, the IOPS per disk.

raidLevel String

The RAID level to use for the volume.

type String

The type of volume to create. This may be standard (the default), io1 or gp2.

mountPoint string

The path to mount the EBS volume on the layer's instances.

numberOfDisks number

The number of disks to use for the EBS volume.

size number

The size of the volume in gigabytes.

encrypted boolean

Encrypt the volume.

iops number

For PIOPS volumes, the IOPS per disk.

raidLevel string

The RAID level to use for the volume.

type string

The type of volume to create. This may be standard (the default), io1 or gp2.

mount_point str

The path to mount the EBS volume on the layer's instances.

number_of_disks int

The number of disks to use for the EBS volume.

size int

The size of the volume in gigabytes.

encrypted bool

Encrypt the volume.

iops int

For PIOPS volumes, the IOPS per disk.

raid_level str

The RAID level to use for the volume.

type str

The type of volume to create. This may be standard (the default), io1 or gp2.

mountPoint String

The path to mount the EBS volume on the layer's instances.

numberOfDisks Number

The number of disks to use for the EBS volume.

size Number

The size of the volume in gigabytes.

encrypted Boolean

Encrypt the volume.

iops Number

For PIOPS volumes, the IOPS per disk.

raidLevel String

The RAID level to use for the volume.

type String

The type of volume to create. This may be standard (the default), io1 or gp2.

CustomLayerLoadBasedAutoScaling

Downscaling CustomLayerLoadBasedAutoScalingDownscaling

The downscaling settings, as defined below, used for load-based autoscaling

Enable bool

Whether load-based auto scaling is enabled for the layer.

Upscaling CustomLayerLoadBasedAutoScalingUpscaling

The upscaling settings, as defined below, used for load-based autoscaling

Downscaling CustomLayerLoadBasedAutoScalingDownscaling

The downscaling settings, as defined below, used for load-based autoscaling

Enable bool

Whether load-based auto scaling is enabled for the layer.

Upscaling CustomLayerLoadBasedAutoScalingUpscaling

The upscaling settings, as defined below, used for load-based autoscaling

downscaling CustomLayerLoadBasedAutoScalingDownscaling

The downscaling settings, as defined below, used for load-based autoscaling

enable Boolean

Whether load-based auto scaling is enabled for the layer.

upscaling CustomLayerLoadBasedAutoScalingUpscaling

The upscaling settings, as defined below, used for load-based autoscaling

downscaling CustomLayerLoadBasedAutoScalingDownscaling

The downscaling settings, as defined below, used for load-based autoscaling

enable boolean

Whether load-based auto scaling is enabled for the layer.

upscaling CustomLayerLoadBasedAutoScalingUpscaling

The upscaling settings, as defined below, used for load-based autoscaling

downscaling CustomLayerLoadBasedAutoScalingDownscaling

The downscaling settings, as defined below, used for load-based autoscaling

enable bool

Whether load-based auto scaling is enabled for the layer.

upscaling CustomLayerLoadBasedAutoScalingUpscaling

The upscaling settings, as defined below, used for load-based autoscaling

downscaling Property Map

The downscaling settings, as defined below, used for load-based autoscaling

enable Boolean

Whether load-based auto scaling is enabled for the layer.

upscaling Property Map

The upscaling settings, as defined below, used for load-based autoscaling

CustomLayerLoadBasedAutoScalingDownscaling

Alarms List<string>

Custom Cloudwatch auto scaling alarms, to be used as thresholds. This parameter takes a list of up to five alarm names, which are case sensitive and must be in the same region as the stack.

CpuThreshold double

The CPU utilization threshold, as a percent of the available CPU. A value of -1 disables the threshold.

IgnoreMetricsTime int

The amount of time (in minutes) after a scaling event occurs that AWS OpsWorks Stacks should ignore metrics and suppress additional scaling events.

InstanceCount int

The number of instances to add or remove when the load exceeds a threshold.

LoadThreshold double

The load threshold. A value of -1 disables the threshold.

MemoryThreshold double

The memory utilization threshold, as a percent of the available memory. A value of -1 disables the threshold.

ThresholdsWaitTime int

The amount of time, in minutes, that the load must exceed a threshold before more instances are added or removed.

Alarms []string

Custom Cloudwatch auto scaling alarms, to be used as thresholds. This parameter takes a list of up to five alarm names, which are case sensitive and must be in the same region as the stack.

CpuThreshold float64

The CPU utilization threshold, as a percent of the available CPU. A value of -1 disables the threshold.

IgnoreMetricsTime int

The amount of time (in minutes) after a scaling event occurs that AWS OpsWorks Stacks should ignore metrics and suppress additional scaling events.

InstanceCount int

The number of instances to add or remove when the load exceeds a threshold.

LoadThreshold float64

The load threshold. A value of -1 disables the threshold.

MemoryThreshold float64

The memory utilization threshold, as a percent of the available memory. A value of -1 disables the threshold.

ThresholdsWaitTime int

The amount of time, in minutes, that the load must exceed a threshold before more instances are added or removed.

alarms List<String>

Custom Cloudwatch auto scaling alarms, to be used as thresholds. This parameter takes a list of up to five alarm names, which are case sensitive and must be in the same region as the stack.

cpuThreshold Double

The CPU utilization threshold, as a percent of the available CPU. A value of -1 disables the threshold.

ignoreMetricsTime Integer

The amount of time (in minutes) after a scaling event occurs that AWS OpsWorks Stacks should ignore metrics and suppress additional scaling events.

instanceCount Integer

The number of instances to add or remove when the load exceeds a threshold.

loadThreshold Double

The load threshold. A value of -1 disables the threshold.

memoryThreshold Double

The memory utilization threshold, as a percent of the available memory. A value of -1 disables the threshold.

thresholdsWaitTime Integer

The amount of time, in minutes, that the load must exceed a threshold before more instances are added or removed.

alarms string[]

Custom Cloudwatch auto scaling alarms, to be used as thresholds. This parameter takes a list of up to five alarm names, which are case sensitive and must be in the same region as the stack.

cpuThreshold number

The CPU utilization threshold, as a percent of the available CPU. A value of -1 disables the threshold.

ignoreMetricsTime number

The amount of time (in minutes) after a scaling event occurs that AWS OpsWorks Stacks should ignore metrics and suppress additional scaling events.

instanceCount number

The number of instances to add or remove when the load exceeds a threshold.

loadThreshold number

The load threshold. A value of -1 disables the threshold.

memoryThreshold number

The memory utilization threshold, as a percent of the available memory. A value of -1 disables the threshold.

thresholdsWaitTime number

The amount of time, in minutes, that the load must exceed a threshold before more instances are added or removed.

alarms Sequence[str]

Custom Cloudwatch auto scaling alarms, to be used as thresholds. This parameter takes a list of up to five alarm names, which are case sensitive and must be in the same region as the stack.

cpu_threshold float

The CPU utilization threshold, as a percent of the available CPU. A value of -1 disables the threshold.

ignore_metrics_time int

The amount of time (in minutes) after a scaling event occurs that AWS OpsWorks Stacks should ignore metrics and suppress additional scaling events.

instance_count int

The number of instances to add or remove when the load exceeds a threshold.

load_threshold float

The load threshold. A value of -1 disables the threshold.

memory_threshold float

The memory utilization threshold, as a percent of the available memory. A value of -1 disables the threshold.

thresholds_wait_time int

The amount of time, in minutes, that the load must exceed a threshold before more instances are added or removed.

alarms List<String>

Custom Cloudwatch auto scaling alarms, to be used as thresholds. This parameter takes a list of up to five alarm names, which are case sensitive and must be in the same region as the stack.

cpuThreshold Number

The CPU utilization threshold, as a percent of the available CPU. A value of -1 disables the threshold.

ignoreMetricsTime Number

The amount of time (in minutes) after a scaling event occurs that AWS OpsWorks Stacks should ignore metrics and suppress additional scaling events.

instanceCount Number

The number of instances to add or remove when the load exceeds a threshold.

loadThreshold Number

The load threshold. A value of -1 disables the threshold.

memoryThreshold Number

The memory utilization threshold, as a percent of the available memory. A value of -1 disables the threshold.

thresholdsWaitTime Number

The amount of time, in minutes, that the load must exceed a threshold before more instances are added or removed.

CustomLayerLoadBasedAutoScalingUpscaling

Alarms List<string>

Custom Cloudwatch auto scaling alarms, to be used as thresholds. This parameter takes a list of up to five alarm names, which are case sensitive and must be in the same region as the stack.

CpuThreshold double

The CPU utilization threshold, as a percent of the available CPU. A value of -1 disables the threshold.

IgnoreMetricsTime int

The amount of time (in minutes) after a scaling event occurs that AWS OpsWorks Stacks should ignore metrics and suppress additional scaling events.

InstanceCount int

The number of instances to add or remove when the load exceeds a threshold.

LoadThreshold double

The load threshold. A value of -1 disables the threshold.

MemoryThreshold double

The memory utilization threshold, as a percent of the available memory. A value of -1 disables the threshold.

ThresholdsWaitTime int

The amount of time, in minutes, that the load must exceed a threshold before more instances are added or removed.

Alarms []string

Custom Cloudwatch auto scaling alarms, to be used as thresholds. This parameter takes a list of up to five alarm names, which are case sensitive and must be in the same region as the stack.

CpuThreshold float64

The CPU utilization threshold, as a percent of the available CPU. A value of -1 disables the threshold.

IgnoreMetricsTime int

The amount of time (in minutes) after a scaling event occurs that AWS OpsWorks Stacks should ignore metrics and suppress additional scaling events.

InstanceCount int

The number of instances to add or remove when the load exceeds a threshold.

LoadThreshold float64

The load threshold. A value of -1 disables the threshold.

MemoryThreshold float64

The memory utilization threshold, as a percent of the available memory. A value of -1 disables the threshold.

ThresholdsWaitTime int

The amount of time, in minutes, that the load must exceed a threshold before more instances are added or removed.

alarms List<String>

Custom Cloudwatch auto scaling alarms, to be used as thresholds. This parameter takes a list of up to five alarm names, which are case sensitive and must be in the same region as the stack.

cpuThreshold Double

The CPU utilization threshold, as a percent of the available CPU. A value of -1 disables the threshold.

ignoreMetricsTime Integer

The amount of time (in minutes) after a scaling event occurs that AWS OpsWorks Stacks should ignore metrics and suppress additional scaling events.

instanceCount Integer

The number of instances to add or remove when the load exceeds a threshold.

loadThreshold Double

The load threshold. A value of -1 disables the threshold.

memoryThreshold Double

The memory utilization threshold, as a percent of the available memory. A value of -1 disables the threshold.

thresholdsWaitTime Integer

The amount of time, in minutes, that the load must exceed a threshold before more instances are added or removed.

alarms string[]

Custom Cloudwatch auto scaling alarms, to be used as thresholds. This parameter takes a list of up to five alarm names, which are case sensitive and must be in the same region as the stack.

cpuThreshold number

The CPU utilization threshold, as a percent of the available CPU. A value of -1 disables the threshold.

ignoreMetricsTime number

The amount of time (in minutes) after a scaling event occurs that AWS OpsWorks Stacks should ignore metrics and suppress additional scaling events.

instanceCount number

The number of instances to add or remove when the load exceeds a threshold.

loadThreshold number

The load threshold. A value of -1 disables the threshold.

memoryThreshold number

The memory utilization threshold, as a percent of the available memory. A value of -1 disables the threshold.

thresholdsWaitTime number

The amount of time, in minutes, that the load must exceed a threshold before more instances are added or removed.

alarms Sequence[str]

Custom Cloudwatch auto scaling alarms, to be used as thresholds. This parameter takes a list of up to five alarm names, which are case sensitive and must be in the same region as the stack.

cpu_threshold float

The CPU utilization threshold, as a percent of the available CPU. A value of -1 disables the threshold.

ignore_metrics_time int

The amount of time (in minutes) after a scaling event occurs that AWS OpsWorks Stacks should ignore metrics and suppress additional scaling events.

instance_count int

The number of instances to add or remove when the load exceeds a threshold.

load_threshold float

The load threshold. A value of -1 disables the threshold.

memory_threshold float

The memory utilization threshold, as a percent of the available memory. A value of -1 disables the threshold.

thresholds_wait_time int

The amount of time, in minutes, that the load must exceed a threshold before more instances are added or removed.

alarms List<String>

Custom Cloudwatch auto scaling alarms, to be used as thresholds. This parameter takes a list of up to five alarm names, which are case sensitive and must be in the same region as the stack.

cpuThreshold Number

The CPU utilization threshold, as a percent of the available CPU. A value of -1 disables the threshold.

ignoreMetricsTime Number

The amount of time (in minutes) after a scaling event occurs that AWS OpsWorks Stacks should ignore metrics and suppress additional scaling events.

instanceCount Number

The number of instances to add or remove when the load exceeds a threshold.

loadThreshold Number

The load threshold. A value of -1 disables the threshold.

memoryThreshold Number

The memory utilization threshold, as a percent of the available memory. A value of -1 disables the threshold.

thresholdsWaitTime Number

The amount of time, in minutes, that the load must exceed a threshold before more instances are added or removed.

Import

OpsWorks Custom Layers can be imported using the id, e.g.,

 $ pulumi import aws:opsworks/customLayer:CustomLayer bar 00000000-0000-0000-0000-000000000000

Package Details

Repository
AWS Classic pulumi/pulumi-aws
License
Apache-2.0
Notes

This Pulumi package is based on the aws Terraform Provider.