aws.opsworks.CustomLayer
Explore with Pulumi AI
Provides an OpsWorks custom layer resource.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const custlayer = new aws.opsworks.CustomLayer("custlayer", {
    name: "My Awesome Custom Layer",
    shortName: "awesome",
    stackId: main.id,
});
import pulumi
import pulumi_aws as aws
custlayer = aws.opsworks.CustomLayer("custlayer",
    name="My Awesome Custom Layer",
    short_name="awesome",
    stack_id=main["id"])
package main
import (
	"github.com/pulumi/pulumi-aws/sdk/v6/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{
			Name:      pulumi.String("My Awesome Custom Layer"),
			ShortName: pulumi.String("awesome"),
			StackId:   pulumi.Any(main.Id),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() => 
{
    var custlayer = new Aws.OpsWorks.CustomLayer("custlayer", new()
    {
        Name = "My Awesome Custom Layer",
        ShortName = "awesome",
        StackId = main.Id,
    });
});
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()
            .name("My Awesome Custom Layer")
            .shortName("awesome")
            .stackId(main.id())
            .build());
    }
}
resources:
  custlayer:
    type: aws:opsworks:CustomLayer
    properties:
      name: My Awesome Custom Layer
      shortName: awesome
      stackId: ${main.id}
Create CustomLayer Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new CustomLayer(name: string, args: CustomLayerArgs, opts?: CustomResourceOptions);@overload
def CustomLayer(resource_name: str,
                args: CustomLayerArgs,
                opts: Optional[ResourceOptions] = None)
@overload
def CustomLayer(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                short_name: Optional[str] = None,
                stack_id: Optional[str] = None,
                drain_elb_on_shutdown: Optional[bool] = None,
                custom_configure_recipes: Optional[Sequence[str]] = None,
                ebs_volumes: Optional[Sequence[CustomLayerEbsVolumeArgs]] = 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,
                elastic_load_balancer: Optional[str] = None,
                custom_undeploy_recipes: Optional[Sequence[str]] = None,
                use_ebs_optimized_instances: Optional[bool] = None,
                cloudwatch_configuration: Optional[CustomLayerCloudwatchConfigurationArgs] = None,
                custom_shutdown_recipes: Optional[Sequence[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,
                auto_healing: Optional[bool] = None,
                auto_assign_public_ips: Optional[bool] = None,
                system_packages: Optional[Sequence[str]] = None,
                tags: Optional[Mapping[str, str]] = None,
                auto_assign_elastic_ips: Optional[bool] = 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.
Parameters
- 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.
Constructor example
The following reference example uses placeholder values for all input properties.
var customLayerResource = new Aws.OpsWorks.CustomLayer("customLayerResource", new()
{
    ShortName = "string",
    StackId = "string",
    DrainElbOnShutdown = false,
    CustomConfigureRecipes = new[]
    {
        "string",
    },
    EbsVolumes = new[]
    {
        new Aws.OpsWorks.Inputs.CustomLayerEbsVolumeArgs
        {
            MountPoint = "string",
            NumberOfDisks = 0,
            Size = 0,
            Encrypted = false,
            Iops = 0,
            RaidLevel = "string",
            Type = "string",
        },
    },
    CustomDeployRecipes = new[]
    {
        "string",
    },
    CustomInstanceProfileArn = "string",
    CustomJson = "string",
    CustomSecurityGroupIds = new[]
    {
        "string",
    },
    CustomSetupRecipes = new[]
    {
        "string",
    },
    ElasticLoadBalancer = "string",
    CustomUndeployRecipes = new[]
    {
        "string",
    },
    UseEbsOptimizedInstances = false,
    CloudwatchConfiguration = new Aws.OpsWorks.Inputs.CustomLayerCloudwatchConfigurationArgs
    {
        Enabled = false,
        LogStreams = new[]
        {
            new Aws.OpsWorks.Inputs.CustomLayerCloudwatchConfigurationLogStreamArgs
            {
                File = "string",
                LogGroupName = "string",
                BatchCount = 0,
                BatchSize = 0,
                BufferDuration = 0,
                DatetimeFormat = "string",
                Encoding = "string",
                FileFingerprintLines = "string",
                InitialPosition = "string",
                MultilineStartPattern = "string",
                TimeZone = "string",
            },
        },
    },
    CustomShutdownRecipes = new[]
    {
        "string",
    },
    InstallUpdatesOnBoot = false,
    InstanceShutdownTimeout = 0,
    LoadBasedAutoScaling = new Aws.OpsWorks.Inputs.CustomLayerLoadBasedAutoScalingArgs
    {
        Downscaling = new Aws.OpsWorks.Inputs.CustomLayerLoadBasedAutoScalingDownscalingArgs
        {
            Alarms = new[]
            {
                "string",
            },
            CpuThreshold = 0,
            IgnoreMetricsTime = 0,
            InstanceCount = 0,
            LoadThreshold = 0,
            MemoryThreshold = 0,
            ThresholdsWaitTime = 0,
        },
        Enable = false,
        Upscaling = new Aws.OpsWorks.Inputs.CustomLayerLoadBasedAutoScalingUpscalingArgs
        {
            Alarms = new[]
            {
                "string",
            },
            CpuThreshold = 0,
            IgnoreMetricsTime = 0,
            InstanceCount = 0,
            LoadThreshold = 0,
            MemoryThreshold = 0,
            ThresholdsWaitTime = 0,
        },
    },
    Name = "string",
    AutoHealing = false,
    AutoAssignPublicIps = false,
    SystemPackages = new[]
    {
        "string",
    },
    Tags = 
    {
        { "string", "string" },
    },
    AutoAssignElasticIps = false,
});
example, err := opsworks.NewCustomLayer(ctx, "customLayerResource", &opsworks.CustomLayerArgs{
	ShortName:          pulumi.String("string"),
	StackId:            pulumi.String("string"),
	DrainElbOnShutdown: pulumi.Bool(false),
	CustomConfigureRecipes: pulumi.StringArray{
		pulumi.String("string"),
	},
	EbsVolumes: opsworks.CustomLayerEbsVolumeArray{
		&opsworks.CustomLayerEbsVolumeArgs{
			MountPoint:    pulumi.String("string"),
			NumberOfDisks: pulumi.Int(0),
			Size:          pulumi.Int(0),
			Encrypted:     pulumi.Bool(false),
			Iops:          pulumi.Int(0),
			RaidLevel:     pulumi.String("string"),
			Type:          pulumi.String("string"),
		},
	},
	CustomDeployRecipes: pulumi.StringArray{
		pulumi.String("string"),
	},
	CustomInstanceProfileArn: pulumi.String("string"),
	CustomJson:               pulumi.String("string"),
	CustomSecurityGroupIds: pulumi.StringArray{
		pulumi.String("string"),
	},
	CustomSetupRecipes: pulumi.StringArray{
		pulumi.String("string"),
	},
	ElasticLoadBalancer: pulumi.String("string"),
	CustomUndeployRecipes: pulumi.StringArray{
		pulumi.String("string"),
	},
	UseEbsOptimizedInstances: pulumi.Bool(false),
	CloudwatchConfiguration: &opsworks.CustomLayerCloudwatchConfigurationArgs{
		Enabled: pulumi.Bool(false),
		LogStreams: opsworks.CustomLayerCloudwatchConfigurationLogStreamArray{
			&opsworks.CustomLayerCloudwatchConfigurationLogStreamArgs{
				File:                  pulumi.String("string"),
				LogGroupName:          pulumi.String("string"),
				BatchCount:            pulumi.Int(0),
				BatchSize:             pulumi.Int(0),
				BufferDuration:        pulumi.Int(0),
				DatetimeFormat:        pulumi.String("string"),
				Encoding:              pulumi.String("string"),
				FileFingerprintLines:  pulumi.String("string"),
				InitialPosition:       pulumi.String("string"),
				MultilineStartPattern: pulumi.String("string"),
				TimeZone:              pulumi.String("string"),
			},
		},
	},
	CustomShutdownRecipes: pulumi.StringArray{
		pulumi.String("string"),
	},
	InstallUpdatesOnBoot:    pulumi.Bool(false),
	InstanceShutdownTimeout: pulumi.Int(0),
	LoadBasedAutoScaling: &opsworks.CustomLayerLoadBasedAutoScalingArgs{
		Downscaling: &opsworks.CustomLayerLoadBasedAutoScalingDownscalingArgs{
			Alarms: pulumi.StringArray{
				pulumi.String("string"),
			},
			CpuThreshold:       pulumi.Float64(0),
			IgnoreMetricsTime:  pulumi.Int(0),
			InstanceCount:      pulumi.Int(0),
			LoadThreshold:      pulumi.Float64(0),
			MemoryThreshold:    pulumi.Float64(0),
			ThresholdsWaitTime: pulumi.Int(0),
		},
		Enable: pulumi.Bool(false),
		Upscaling: &opsworks.CustomLayerLoadBasedAutoScalingUpscalingArgs{
			Alarms: pulumi.StringArray{
				pulumi.String("string"),
			},
			CpuThreshold:       pulumi.Float64(0),
			IgnoreMetricsTime:  pulumi.Int(0),
			InstanceCount:      pulumi.Int(0),
			LoadThreshold:      pulumi.Float64(0),
			MemoryThreshold:    pulumi.Float64(0),
			ThresholdsWaitTime: pulumi.Int(0),
		},
	},
	Name:                pulumi.String("string"),
	AutoHealing:         pulumi.Bool(false),
	AutoAssignPublicIps: pulumi.Bool(false),
	SystemPackages: pulumi.StringArray{
		pulumi.String("string"),
	},
	Tags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	AutoAssignElasticIps: pulumi.Bool(false),
})
var customLayerResource = new CustomLayer("customLayerResource", CustomLayerArgs.builder()
    .shortName("string")
    .stackId("string")
    .drainElbOnShutdown(false)
    .customConfigureRecipes("string")
    .ebsVolumes(CustomLayerEbsVolumeArgs.builder()
        .mountPoint("string")
        .numberOfDisks(0)
        .size(0)
        .encrypted(false)
        .iops(0)
        .raidLevel("string")
        .type("string")
        .build())
    .customDeployRecipes("string")
    .customInstanceProfileArn("string")
    .customJson("string")
    .customSecurityGroupIds("string")
    .customSetupRecipes("string")
    .elasticLoadBalancer("string")
    .customUndeployRecipes("string")
    .useEbsOptimizedInstances(false)
    .cloudwatchConfiguration(CustomLayerCloudwatchConfigurationArgs.builder()
        .enabled(false)
        .logStreams(CustomLayerCloudwatchConfigurationLogStreamArgs.builder()
            .file("string")
            .logGroupName("string")
            .batchCount(0)
            .batchSize(0)
            .bufferDuration(0)
            .datetimeFormat("string")
            .encoding("string")
            .fileFingerprintLines("string")
            .initialPosition("string")
            .multilineStartPattern("string")
            .timeZone("string")
            .build())
        .build())
    .customShutdownRecipes("string")
    .installUpdatesOnBoot(false)
    .instanceShutdownTimeout(0)
    .loadBasedAutoScaling(CustomLayerLoadBasedAutoScalingArgs.builder()
        .downscaling(CustomLayerLoadBasedAutoScalingDownscalingArgs.builder()
            .alarms("string")
            .cpuThreshold(0)
            .ignoreMetricsTime(0)
            .instanceCount(0)
            .loadThreshold(0)
            .memoryThreshold(0)
            .thresholdsWaitTime(0)
            .build())
        .enable(false)
        .upscaling(CustomLayerLoadBasedAutoScalingUpscalingArgs.builder()
            .alarms("string")
            .cpuThreshold(0)
            .ignoreMetricsTime(0)
            .instanceCount(0)
            .loadThreshold(0)
            .memoryThreshold(0)
            .thresholdsWaitTime(0)
            .build())
        .build())
    .name("string")
    .autoHealing(false)
    .autoAssignPublicIps(false)
    .systemPackages("string")
    .tags(Map.of("string", "string"))
    .autoAssignElasticIps(false)
    .build());
custom_layer_resource = aws.opsworks.CustomLayer("customLayerResource",
    short_name="string",
    stack_id="string",
    drain_elb_on_shutdown=False,
    custom_configure_recipes=["string"],
    ebs_volumes=[{
        "mount_point": "string",
        "number_of_disks": 0,
        "size": 0,
        "encrypted": False,
        "iops": 0,
        "raid_level": "string",
        "type": "string",
    }],
    custom_deploy_recipes=["string"],
    custom_instance_profile_arn="string",
    custom_json="string",
    custom_security_group_ids=["string"],
    custom_setup_recipes=["string"],
    elastic_load_balancer="string",
    custom_undeploy_recipes=["string"],
    use_ebs_optimized_instances=False,
    cloudwatch_configuration={
        "enabled": False,
        "log_streams": [{
            "file": "string",
            "log_group_name": "string",
            "batch_count": 0,
            "batch_size": 0,
            "buffer_duration": 0,
            "datetime_format": "string",
            "encoding": "string",
            "file_fingerprint_lines": "string",
            "initial_position": "string",
            "multiline_start_pattern": "string",
            "time_zone": "string",
        }],
    },
    custom_shutdown_recipes=["string"],
    install_updates_on_boot=False,
    instance_shutdown_timeout=0,
    load_based_auto_scaling={
        "downscaling": {
            "alarms": ["string"],
            "cpu_threshold": 0,
            "ignore_metrics_time": 0,
            "instance_count": 0,
            "load_threshold": 0,
            "memory_threshold": 0,
            "thresholds_wait_time": 0,
        },
        "enable": False,
        "upscaling": {
            "alarms": ["string"],
            "cpu_threshold": 0,
            "ignore_metrics_time": 0,
            "instance_count": 0,
            "load_threshold": 0,
            "memory_threshold": 0,
            "thresholds_wait_time": 0,
        },
    },
    name="string",
    auto_healing=False,
    auto_assign_public_ips=False,
    system_packages=["string"],
    tags={
        "string": "string",
    },
    auto_assign_elastic_ips=False)
const customLayerResource = new aws.opsworks.CustomLayer("customLayerResource", {
    shortName: "string",
    stackId: "string",
    drainElbOnShutdown: false,
    customConfigureRecipes: ["string"],
    ebsVolumes: [{
        mountPoint: "string",
        numberOfDisks: 0,
        size: 0,
        encrypted: false,
        iops: 0,
        raidLevel: "string",
        type: "string",
    }],
    customDeployRecipes: ["string"],
    customInstanceProfileArn: "string",
    customJson: "string",
    customSecurityGroupIds: ["string"],
    customSetupRecipes: ["string"],
    elasticLoadBalancer: "string",
    customUndeployRecipes: ["string"],
    useEbsOptimizedInstances: false,
    cloudwatchConfiguration: {
        enabled: false,
        logStreams: [{
            file: "string",
            logGroupName: "string",
            batchCount: 0,
            batchSize: 0,
            bufferDuration: 0,
            datetimeFormat: "string",
            encoding: "string",
            fileFingerprintLines: "string",
            initialPosition: "string",
            multilineStartPattern: "string",
            timeZone: "string",
        }],
    },
    customShutdownRecipes: ["string"],
    installUpdatesOnBoot: false,
    instanceShutdownTimeout: 0,
    loadBasedAutoScaling: {
        downscaling: {
            alarms: ["string"],
            cpuThreshold: 0,
            ignoreMetricsTime: 0,
            instanceCount: 0,
            loadThreshold: 0,
            memoryThreshold: 0,
            thresholdsWaitTime: 0,
        },
        enable: false,
        upscaling: {
            alarms: ["string"],
            cpuThreshold: 0,
            ignoreMetricsTime: 0,
            instanceCount: 0,
            loadThreshold: 0,
            memoryThreshold: 0,
            thresholdsWaitTime: 0,
        },
    },
    name: "string",
    autoHealing: false,
    autoAssignPublicIps: false,
    systemPackages: ["string"],
    tags: {
        string: "string",
    },
    autoAssignElasticIps: false,
});
type: aws:opsworks:CustomLayer
properties:
    autoAssignElasticIps: false
    autoAssignPublicIps: false
    autoHealing: false
    cloudwatchConfiguration:
        enabled: false
        logStreams:
            - batchCount: 0
              batchSize: 0
              bufferDuration: 0
              datetimeFormat: string
              encoding: string
              file: string
              fileFingerprintLines: string
              initialPosition: string
              logGroupName: string
              multilineStartPattern: string
              timeZone: string
    customConfigureRecipes:
        - string
    customDeployRecipes:
        - string
    customInstanceProfileArn: string
    customJson: string
    customSecurityGroupIds:
        - string
    customSetupRecipes:
        - string
    customShutdownRecipes:
        - string
    customUndeployRecipes:
        - string
    drainElbOnShutdown: false
    ebsVolumes:
        - encrypted: false
          iops: 0
          mountPoint: string
          numberOfDisks: 0
          raidLevel: string
          size: 0
          type: string
    elasticLoadBalancer: string
    installUpdatesOnBoot: false
    instanceShutdownTimeout: 0
    loadBasedAutoScaling:
        downscaling:
            alarms:
                - string
            cpuThreshold: 0
            ignoreMetricsTime: 0
            instanceCount: 0
            loadThreshold: 0
            memoryThreshold: 0
            thresholdsWaitTime: 0
        enable: false
        upscaling:
            alarms:
                - string
            cpuThreshold: 0
            ignoreMetricsTime: 0
            instanceCount: 0
            loadThreshold: 0
            memoryThreshold: 0
            thresholdsWaitTime: 0
    name: string
    shortName: string
    stackId: string
    systemPackages:
        - string
    tags:
        string: string
    useEbsOptimizedInstances: false
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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
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.
- AutoAssign boolElastic Ips 
- Whether to automatically assign an elastic IP address to the layer's instances.
- AutoAssign boolPublic Ips 
- 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 CustomLayer Cloudwatch Configuration 
- Will create an EBS volume and connect it to the layer's instances. See Cloudwatch Configuration.
- CustomConfigure List<string>Recipes 
- CustomDeploy List<string>Recipes 
- CustomInstance stringProfile Arn 
- 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.
- CustomSecurity List<string>Group Ids 
- Ids for a set of security groups to apply to the layer's instances.
- CustomSetup List<string>Recipes 
- CustomShutdown List<string>Recipes 
- CustomUndeploy List<string>Recipes 
- DrainElb boolOn Shutdown 
- Whether to enable Elastic Load Balancing connection draining.
- EbsVolumes List<CustomLayer Ebs Volume> 
- Will create an EBS volume and connect it to the layer's instances. See EBS Volume.
- ElasticLoad stringBalancer 
- Name of an Elastic Load Balancer to attach to this layer
- InstallUpdates boolOn Boot 
- Whether to install OS and package updates on each instance when it boots.
- InstanceShutdown intTimeout 
- The time, in seconds, that OpsWorks will wait for Chef to complete after triggering the Shutdown event.
- LoadBased CustomAuto Scaling Layer Load Based Auto Scaling 
- 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.
- Dictionary<string, string>
- A map of tags to assign to the resource. .If configured with a provider - default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.- The following extra optional arguments, all lists of Chef recipe names, allow custom Chef recipes to be applied to layer instances at the five different lifecycle events, if custom cookbooks are enabled on the layer's stack: 
- UseEbs boolOptimized Instances 
- 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.
- AutoAssign boolElastic Ips 
- Whether to automatically assign an elastic IP address to the layer's instances.
- AutoAssign boolPublic Ips 
- 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 CustomLayer Cloudwatch Configuration Args 
- Will create an EBS volume and connect it to the layer's instances. See Cloudwatch Configuration.
- CustomConfigure []stringRecipes 
- CustomDeploy []stringRecipes 
- CustomInstance stringProfile Arn 
- 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.
- CustomSecurity []stringGroup Ids 
- Ids for a set of security groups to apply to the layer's instances.
- CustomSetup []stringRecipes 
- CustomShutdown []stringRecipes 
- CustomUndeploy []stringRecipes 
- DrainElb boolOn Shutdown 
- Whether to enable Elastic Load Balancing connection draining.
- EbsVolumes []CustomLayer Ebs Volume Args 
- Will create an EBS volume and connect it to the layer's instances. See EBS Volume.
- ElasticLoad stringBalancer 
- Name of an Elastic Load Balancer to attach to this layer
- InstallUpdates boolOn Boot 
- Whether to install OS and package updates on each instance when it boots.
- InstanceShutdown intTimeout 
- The time, in seconds, that OpsWorks will wait for Chef to complete after triggering the Shutdown event.
- LoadBased CustomAuto Scaling Layer Load Based Auto Scaling Args 
- 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.
- map[string]string
- A map of tags to assign to the resource. .If configured with a provider - default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.- The following extra optional arguments, all lists of Chef recipe names, allow custom Chef recipes to be applied to layer instances at the five different lifecycle events, if custom cookbooks are enabled on the layer's stack: 
- UseEbs boolOptimized Instances 
- 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.
- autoAssign BooleanElastic Ips 
- Whether to automatically assign an elastic IP address to the layer's instances.
- autoAssign BooleanPublic Ips 
- 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 CustomLayer Cloudwatch Configuration 
- Will create an EBS volume and connect it to the layer's instances. See Cloudwatch Configuration.
- customConfigure List<String>Recipes 
- customDeploy List<String>Recipes 
- customInstance StringProfile Arn 
- 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.
- customSecurity List<String>Group Ids 
- Ids for a set of security groups to apply to the layer's instances.
- customSetup List<String>Recipes 
- customShutdown List<String>Recipes 
- customUndeploy List<String>Recipes 
- drainElb BooleanOn Shutdown 
- Whether to enable Elastic Load Balancing connection draining.
- ebsVolumes List<CustomLayer Ebs Volume> 
- Will create an EBS volume and connect it to the layer's instances. See EBS Volume.
- elasticLoad StringBalancer 
- Name of an Elastic Load Balancer to attach to this layer
- installUpdates BooleanOn Boot 
- Whether to install OS and package updates on each instance when it boots.
- instanceShutdown IntegerTimeout 
- The time, in seconds, that OpsWorks will wait for Chef to complete after triggering the Shutdown event.
- loadBased CustomAuto Scaling Layer Load Based Auto Scaling 
- 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.
- Map<String,String>
- A map of tags to assign to the resource. .If configured with a provider - default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.- The following extra optional arguments, all lists of Chef recipe names, allow custom Chef recipes to be applied to layer instances at the five different lifecycle events, if custom cookbooks are enabled on the layer's stack: 
- useEbs BooleanOptimized Instances 
- 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.
- autoAssign booleanElastic Ips 
- Whether to automatically assign an elastic IP address to the layer's instances.
- autoAssign booleanPublic Ips 
- 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 CustomLayer Cloudwatch Configuration 
- Will create an EBS volume and connect it to the layer's instances. See Cloudwatch Configuration.
- customConfigure string[]Recipes 
- customDeploy string[]Recipes 
- customInstance stringProfile Arn 
- 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.
- customSecurity string[]Group Ids 
- Ids for a set of security groups to apply to the layer's instances.
- customSetup string[]Recipes 
- customShutdown string[]Recipes 
- customUndeploy string[]Recipes 
- drainElb booleanOn Shutdown 
- Whether to enable Elastic Load Balancing connection draining.
- ebsVolumes CustomLayer Ebs Volume[] 
- Will create an EBS volume and connect it to the layer's instances. See EBS Volume.
- elasticLoad stringBalancer 
- Name of an Elastic Load Balancer to attach to this layer
- installUpdates booleanOn Boot 
- Whether to install OS and package updates on each instance when it boots.
- instanceShutdown numberTimeout 
- The time, in seconds, that OpsWorks will wait for Chef to complete after triggering the Shutdown event.
- loadBased CustomAuto Scaling Layer Load Based Auto Scaling 
- 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.
- {[key: string]: string}
- A map of tags to assign to the resource. .If configured with a provider - default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.- The following extra optional arguments, all lists of Chef recipe names, allow custom Chef recipes to be applied to layer instances at the five different lifecycle events, if custom cookbooks are enabled on the layer's stack: 
- useEbs booleanOptimized Instances 
- 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_ boolelastic_ ips 
- Whether to automatically assign an elastic IP address to the layer's instances.
- auto_assign_ boolpublic_ ips 
- 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 CustomLayer Cloudwatch Configuration Args 
- Will create an EBS volume and connect it to the layer's instances. See Cloudwatch Configuration.
- custom_configure_ Sequence[str]recipes 
- custom_deploy_ Sequence[str]recipes 
- custom_instance_ strprofile_ arn 
- 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_ Sequence[str]group_ ids 
- Ids for a set of security groups to apply to the layer's instances.
- custom_setup_ Sequence[str]recipes 
- custom_shutdown_ Sequence[str]recipes 
- custom_undeploy_ Sequence[str]recipes 
- drain_elb_ boolon_ shutdown 
- Whether to enable Elastic Load Balancing connection draining.
- ebs_volumes Sequence[CustomLayer Ebs Volume Args] 
- Will create an EBS volume and connect it to the layer's instances. See EBS Volume.
- elastic_load_ strbalancer 
- Name of an Elastic Load Balancer to attach to this layer
- install_updates_ boolon_ boot 
- Whether to install OS and package updates on each instance when it boots.
- instance_shutdown_ inttimeout 
- The time, in seconds, that OpsWorks will wait for Chef to complete after triggering the Shutdown event.
- load_based_ Customauto_ scaling Layer Load Based Auto Scaling Args 
- 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.
- Mapping[str, str]
- A map of tags to assign to the resource. .If configured with a provider - default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.- The following extra optional arguments, all lists of Chef recipe names, allow custom Chef recipes to be applied to layer instances at the five different lifecycle events, if custom cookbooks are enabled on the layer's stack: 
- use_ebs_ booloptimized_ instances 
- 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.
- autoAssign BooleanElastic Ips 
- Whether to automatically assign an elastic IP address to the layer's instances.
- autoAssign BooleanPublic Ips 
- 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.
- customConfigure List<String>Recipes 
- customDeploy List<String>Recipes 
- customInstance StringProfile Arn 
- 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.
- customSecurity List<String>Group Ids 
- Ids for a set of security groups to apply to the layer's instances.
- customSetup List<String>Recipes 
- customShutdown List<String>Recipes 
- customUndeploy List<String>Recipes 
- drainElb BooleanOn Shutdown 
- 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.
- elasticLoad StringBalancer 
- Name of an Elastic Load Balancer to attach to this layer
- installUpdates BooleanOn Boot 
- Whether to install OS and package updates on each instance when it boots.
- instanceShutdown NumberTimeout 
- The time, in seconds, that OpsWorks will wait for Chef to complete after triggering the Shutdown event.
- loadBased Property MapAuto Scaling 
- 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.
- Map<String>
- A map of tags to assign to the resource. .If configured with a provider - default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.- The following extra optional arguments, all lists of Chef recipe names, allow custom Chef recipes to be applied to layer instances at the five different lifecycle events, if custom cookbooks are enabled on the layer's stack: 
- useEbs BooleanOptimized Instances 
- 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:
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) -> CustomLayerfunc 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)resources:  _:    type: aws:opsworks:CustomLayer    get:      id: ${id}- 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.
- Arn string
- The Amazon Resource Name(ARN) of the layer.
- AutoAssign boolElastic Ips 
- Whether to automatically assign an elastic IP address to the layer's instances.
- AutoAssign boolPublic Ips 
- 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 CustomLayer Cloudwatch Configuration 
- Will create an EBS volume and connect it to the layer's instances. See Cloudwatch Configuration.
- CustomConfigure List<string>Recipes 
- CustomDeploy List<string>Recipes 
- CustomInstance stringProfile Arn 
- 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.
- CustomSecurity List<string>Group Ids 
- Ids for a set of security groups to apply to the layer's instances.
- CustomSetup List<string>Recipes 
- CustomShutdown List<string>Recipes 
- CustomUndeploy List<string>Recipes 
- DrainElb boolOn Shutdown 
- Whether to enable Elastic Load Balancing connection draining.
- EbsVolumes List<CustomLayer Ebs Volume> 
- Will create an EBS volume and connect it to the layer's instances. See EBS Volume.
- ElasticLoad stringBalancer 
- Name of an Elastic Load Balancer to attach to this layer
- InstallUpdates boolOn Boot 
- Whether to install OS and package updates on each instance when it boots.
- InstanceShutdown intTimeout 
- The time, in seconds, that OpsWorks will wait for Chef to complete after triggering the Shutdown event.
- LoadBased CustomAuto Scaling Layer Load Based Auto Scaling 
- 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.
- Dictionary<string, string>
- A map of tags to assign to the resource. .If configured with a provider - default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.- The following extra optional arguments, all lists of Chef recipe names, allow custom Chef recipes to be applied to layer instances at the five different lifecycle events, if custom cookbooks are enabled on the layer's stack: 
- Dictionary<string, string>
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- UseEbs boolOptimized Instances 
- Whether to use EBS-optimized instances.
- Arn string
- The Amazon Resource Name(ARN) of the layer.
- AutoAssign boolElastic Ips 
- Whether to automatically assign an elastic IP address to the layer's instances.
- AutoAssign boolPublic Ips 
- 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 CustomLayer Cloudwatch Configuration Args 
- Will create an EBS volume and connect it to the layer's instances. See Cloudwatch Configuration.
- CustomConfigure []stringRecipes 
- CustomDeploy []stringRecipes 
- CustomInstance stringProfile Arn 
- 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.
- CustomSecurity []stringGroup Ids 
- Ids for a set of security groups to apply to the layer's instances.
- CustomSetup []stringRecipes 
- CustomShutdown []stringRecipes 
- CustomUndeploy []stringRecipes 
- DrainElb boolOn Shutdown 
- Whether to enable Elastic Load Balancing connection draining.
- EbsVolumes []CustomLayer Ebs Volume Args 
- Will create an EBS volume and connect it to the layer's instances. See EBS Volume.
- ElasticLoad stringBalancer 
- Name of an Elastic Load Balancer to attach to this layer
- InstallUpdates boolOn Boot 
- Whether to install OS and package updates on each instance when it boots.
- InstanceShutdown intTimeout 
- The time, in seconds, that OpsWorks will wait for Chef to complete after triggering the Shutdown event.
- LoadBased CustomAuto Scaling Layer Load Based Auto Scaling Args 
- 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.
- map[string]string
- A map of tags to assign to the resource. .If configured with a provider - default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.- The following extra optional arguments, all lists of Chef recipe names, allow custom Chef recipes to be applied to layer instances at the five different lifecycle events, if custom cookbooks are enabled on the layer's stack: 
- map[string]string
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- UseEbs boolOptimized Instances 
- Whether to use EBS-optimized instances.
- arn String
- The Amazon Resource Name(ARN) of the layer.
- autoAssign BooleanElastic Ips 
- Whether to automatically assign an elastic IP address to the layer's instances.
- autoAssign BooleanPublic Ips 
- 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 CustomLayer Cloudwatch Configuration 
- Will create an EBS volume and connect it to the layer's instances. See Cloudwatch Configuration.
- customConfigure List<String>Recipes 
- customDeploy List<String>Recipes 
- customInstance StringProfile Arn 
- 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.
- customSecurity List<String>Group Ids 
- Ids for a set of security groups to apply to the layer's instances.
- customSetup List<String>Recipes 
- customShutdown List<String>Recipes 
- customUndeploy List<String>Recipes 
- drainElb BooleanOn Shutdown 
- Whether to enable Elastic Load Balancing connection draining.
- ebsVolumes List<CustomLayer Ebs Volume> 
- Will create an EBS volume and connect it to the layer's instances. See EBS Volume.
- elasticLoad StringBalancer 
- Name of an Elastic Load Balancer to attach to this layer
- installUpdates BooleanOn Boot 
- Whether to install OS and package updates on each instance when it boots.
- instanceShutdown IntegerTimeout 
- The time, in seconds, that OpsWorks will wait for Chef to complete after triggering the Shutdown event.
- loadBased CustomAuto Scaling Layer Load Based Auto Scaling 
- 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.
- Map<String,String>
- A map of tags to assign to the resource. .If configured with a provider - default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.- The following extra optional arguments, all lists of Chef recipe names, allow custom Chef recipes to be applied to layer instances at the five different lifecycle events, if custom cookbooks are enabled on the layer's stack: 
- Map<String,String>
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- useEbs BooleanOptimized Instances 
- Whether to use EBS-optimized instances.
- arn string
- The Amazon Resource Name(ARN) of the layer.
- autoAssign booleanElastic Ips 
- Whether to automatically assign an elastic IP address to the layer's instances.
- autoAssign booleanPublic Ips 
- 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 CustomLayer Cloudwatch Configuration 
- Will create an EBS volume and connect it to the layer's instances. See Cloudwatch Configuration.
- customConfigure string[]Recipes 
- customDeploy string[]Recipes 
- customInstance stringProfile Arn 
- 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.
- customSecurity string[]Group Ids 
- Ids for a set of security groups to apply to the layer's instances.
- customSetup string[]Recipes 
- customShutdown string[]Recipes 
- customUndeploy string[]Recipes 
- drainElb booleanOn Shutdown 
- Whether to enable Elastic Load Balancing connection draining.
- ebsVolumes CustomLayer Ebs Volume[] 
- Will create an EBS volume and connect it to the layer's instances. See EBS Volume.
- elasticLoad stringBalancer 
- Name of an Elastic Load Balancer to attach to this layer
- installUpdates booleanOn Boot 
- Whether to install OS and package updates on each instance when it boots.
- instanceShutdown numberTimeout 
- The time, in seconds, that OpsWorks will wait for Chef to complete after triggering the Shutdown event.
- loadBased CustomAuto Scaling Layer Load Based Auto Scaling 
- 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.
- {[key: string]: string}
- A map of tags to assign to the resource. .If configured with a provider - default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.- The following extra optional arguments, all lists of Chef recipe names, allow custom Chef recipes to be applied to layer instances at the five different lifecycle events, if custom cookbooks are enabled on the layer's stack: 
- {[key: string]: string}
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- useEbs booleanOptimized Instances 
- Whether to use EBS-optimized instances.
- arn str
- The Amazon Resource Name(ARN) of the layer.
- auto_assign_ boolelastic_ ips 
- Whether to automatically assign an elastic IP address to the layer's instances.
- auto_assign_ boolpublic_ ips 
- 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 CustomLayer Cloudwatch Configuration Args 
- Will create an EBS volume and connect it to the layer's instances. See Cloudwatch Configuration.
- custom_configure_ Sequence[str]recipes 
- custom_deploy_ Sequence[str]recipes 
- custom_instance_ strprofile_ arn 
- 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_ Sequence[str]group_ ids 
- Ids for a set of security groups to apply to the layer's instances.
- custom_setup_ Sequence[str]recipes 
- custom_shutdown_ Sequence[str]recipes 
- custom_undeploy_ Sequence[str]recipes 
- drain_elb_ boolon_ shutdown 
- Whether to enable Elastic Load Balancing connection draining.
- ebs_volumes Sequence[CustomLayer Ebs Volume Args] 
- Will create an EBS volume and connect it to the layer's instances. See EBS Volume.
- elastic_load_ strbalancer 
- Name of an Elastic Load Balancer to attach to this layer
- install_updates_ boolon_ boot 
- Whether to install OS and package updates on each instance when it boots.
- instance_shutdown_ inttimeout 
- The time, in seconds, that OpsWorks will wait for Chef to complete after triggering the Shutdown event.
- load_based_ Customauto_ scaling Layer Load Based Auto Scaling Args 
- 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.
- Mapping[str, str]
- A map of tags to assign to the resource. .If configured with a provider - default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.- The following extra optional arguments, all lists of Chef recipe names, allow custom Chef recipes to be applied to layer instances at the five different lifecycle events, if custom cookbooks are enabled on the layer's stack: 
- Mapping[str, str]
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- use_ebs_ booloptimized_ instances 
- Whether to use EBS-optimized instances.
- arn String
- The Amazon Resource Name(ARN) of the layer.
- autoAssign BooleanElastic Ips 
- Whether to automatically assign an elastic IP address to the layer's instances.
- autoAssign BooleanPublic Ips 
- 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.
- customConfigure List<String>Recipes 
- customDeploy List<String>Recipes 
- customInstance StringProfile Arn 
- 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.
- customSecurity List<String>Group Ids 
- Ids for a set of security groups to apply to the layer's instances.
- customSetup List<String>Recipes 
- customShutdown List<String>Recipes 
- customUndeploy List<String>Recipes 
- drainElb BooleanOn Shutdown 
- 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.
- elasticLoad StringBalancer 
- Name of an Elastic Load Balancer to attach to this layer
- installUpdates BooleanOn Boot 
- Whether to install OS and package updates on each instance when it boots.
- instanceShutdown NumberTimeout 
- The time, in seconds, that OpsWorks will wait for Chef to complete after triggering the Shutdown event.
- loadBased Property MapAuto Scaling 
- 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.
- Map<String>
- A map of tags to assign to the resource. .If configured with a provider - default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.- The following extra optional arguments, all lists of Chef recipe names, allow custom Chef recipes to be applied to layer instances at the five different lifecycle events, if custom cookbooks are enabled on the layer's stack: 
- Map<String>
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- useEbs BooleanOptimized Instances 
- Whether to use EBS-optimized instances.
Supporting Types
CustomLayerCloudwatchConfiguration, CustomLayerCloudwatchConfigurationArgs        
- Enabled bool
- LogStreams List<CustomLayer Cloudwatch Configuration Log Stream> 
- A block the specifies how an opsworks logs look like. See Log Streams.
- Enabled bool
- LogStreams []CustomLayer Cloudwatch Configuration Log Stream 
- A block the specifies how an opsworks logs look like. See Log Streams.
- enabled Boolean
- logStreams List<CustomLayer Cloudwatch Configuration Log Stream> 
- A block the specifies how an opsworks logs look like. See Log Streams.
- enabled boolean
- logStreams CustomLayer Cloudwatch Configuration Log Stream[] 
- A block the specifies how an opsworks logs look like. See Log Streams.
- enabled bool
- log_streams Sequence[CustomLayer Cloudwatch Configuration Log Stream] 
- 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, CustomLayerCloudwatchConfigurationLogStreamArgs            
- 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*).
- LogGroup stringName 
- 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 is1000.
- BatchSize int
- Specifies the maximum size of log events in a batch, in bytes, up to 1048576bytes. The default value is32768bytes.
- BufferDuration int
- Specifies the time duration for the batching of log events. The minimum value is 5000and default value is5000.
- 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.
- FileFingerprint stringLines 
- 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 is1.
- InitialPosition string
- Specifies where to start to read data (start_of_fileorend_of_file). The default isstart_of_file.
- MultilineStart stringPattern 
- 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*).
- LogGroup stringName 
- 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 is1000.
- BatchSize int
- Specifies the maximum size of log events in a batch, in bytes, up to 1048576bytes. The default value is32768bytes.
- BufferDuration int
- Specifies the time duration for the batching of log events. The minimum value is 5000and default value is5000.
- 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.
- FileFingerprint stringLines 
- 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 is1.
- InitialPosition string
- Specifies where to start to read data (start_of_fileorend_of_file). The default isstart_of_file.
- MultilineStart stringPattern 
- 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*).
- logGroup StringName 
- 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 is1000.
- batchSize Integer
- Specifies the maximum size of log events in a batch, in bytes, up to 1048576bytes. The default value is32768bytes.
- bufferDuration Integer
- Specifies the time duration for the batching of log events. The minimum value is 5000and default value is5000.
- 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.
- fileFingerprint StringLines 
- 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 is1.
- initialPosition String
- Specifies where to start to read data (start_of_fileorend_of_file). The default isstart_of_file.
- multilineStart StringPattern 
- 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*).
- logGroup stringName 
- 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 is1000.
- batchSize number
- Specifies the maximum size of log events in a batch, in bytes, up to 1048576bytes. The default value is32768bytes.
- bufferDuration number
- Specifies the time duration for the batching of log events. The minimum value is 5000and default value is5000.
- 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.
- fileFingerprint stringLines 
- 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 is1.
- initialPosition string
- Specifies where to start to read data (start_of_fileorend_of_file). The default isstart_of_file.
- multilineStart stringPattern 
- 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_ strname 
- 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 is1000.
- batch_size int
- Specifies the maximum size of log events in a batch, in bytes, up to 1048576bytes. The default value is32768bytes.
- buffer_duration int
- Specifies the time duration for the batching of log events. The minimum value is 5000and default value is5000.
- 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_ strlines 
- 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 is1.
- initial_position str
- Specifies where to start to read data (start_of_fileorend_of_file). The default isstart_of_file.
- multiline_start_ strpattern 
- 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*).
- logGroup StringName 
- 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 is1000.
- batchSize Number
- Specifies the maximum size of log events in a batch, in bytes, up to 1048576bytes. The default value is32768bytes.
- bufferDuration Number
- Specifies the time duration for the batching of log events. The minimum value is 5000and default value is5000.
- 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.
- fileFingerprint StringLines 
- 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 is1.
- initialPosition String
- Specifies where to start to read data (start_of_fileorend_of_file). The default isstart_of_file.
- multilineStart StringPattern 
- Specifies the pattern for identifying the start of a log message.
- timeZone String
- Specifies the time zone of log event time stamps.
CustomLayerEbsVolume, CustomLayerEbsVolumeArgs        
- MountPoint string
- The path to mount the EBS volume on the layer's instances.
- NumberOf intDisks 
- 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),io1orgp2.
- MountPoint string
- The path to mount the EBS volume on the layer's instances.
- NumberOf intDisks 
- 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),io1orgp2.
- mountPoint String
- The path to mount the EBS volume on the layer's instances.
- numberOf IntegerDisks 
- 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),io1orgp2.
- mountPoint string
- The path to mount the EBS volume on the layer's instances.
- numberOf numberDisks 
- 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),io1orgp2.
- mount_point str
- The path to mount the EBS volume on the layer's instances.
- number_of_ intdisks 
- 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),io1orgp2.
- mountPoint String
- The path to mount the EBS volume on the layer's instances.
- numberOf NumberDisks 
- 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),io1orgp2.
CustomLayerLoadBasedAutoScaling, CustomLayerLoadBasedAutoScalingArgs            
- Downscaling
CustomLayer Load Based Auto Scaling Downscaling 
- The downscaling settings, as defined below, used for load-based autoscaling
- Enable bool
- Whether load-based auto scaling is enabled for the layer.
- Upscaling
CustomLayer Load Based Auto Scaling Upscaling 
- The upscaling settings, as defined below, used for load-based autoscaling
- Downscaling
CustomLayer Load Based Auto Scaling Downscaling 
- The downscaling settings, as defined below, used for load-based autoscaling
- Enable bool
- Whether load-based auto scaling is enabled for the layer.
- Upscaling
CustomLayer Load Based Auto Scaling Upscaling 
- The upscaling settings, as defined below, used for load-based autoscaling
- downscaling
CustomLayer Load Based Auto Scaling Downscaling 
- The downscaling settings, as defined below, used for load-based autoscaling
- enable Boolean
- Whether load-based auto scaling is enabled for the layer.
- upscaling
CustomLayer Load Based Auto Scaling Upscaling 
- The upscaling settings, as defined below, used for load-based autoscaling
- downscaling
CustomLayer Load Based Auto Scaling Downscaling 
- The downscaling settings, as defined below, used for load-based autoscaling
- enable boolean
- Whether load-based auto scaling is enabled for the layer.
- upscaling
CustomLayer Load Based Auto Scaling Upscaling 
- The upscaling settings, as defined below, used for load-based autoscaling
- downscaling
CustomLayer Load Based Auto Scaling Downscaling 
- The downscaling settings, as defined below, used for load-based autoscaling
- enable bool
- Whether load-based auto scaling is enabled for the layer.
- upscaling
CustomLayer Load Based Auto Scaling Upscaling 
- 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, CustomLayerLoadBasedAutoScalingDownscalingArgs              
- 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.
- IgnoreMetrics intTime 
- 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.
- ThresholdsWait intTime 
- 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.
- IgnoreMetrics intTime 
- 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.
- ThresholdsWait intTime 
- 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.
- ignoreMetrics IntegerTime 
- 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.
- thresholdsWait IntegerTime 
- 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.
- ignoreMetrics numberTime 
- 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.
- thresholdsWait numberTime 
- 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_ inttime 
- 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_ inttime 
- 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.
- ignoreMetrics NumberTime 
- 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.
- thresholdsWait NumberTime 
- The amount of time, in minutes, that the load must exceed a threshold before more instances are added or removed.
CustomLayerLoadBasedAutoScalingUpscaling, CustomLayerLoadBasedAutoScalingUpscalingArgs              
- 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.
- IgnoreMetrics intTime 
- 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.
- ThresholdsWait intTime 
- 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.
- IgnoreMetrics intTime 
- 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.
- ThresholdsWait intTime 
- 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.
- ignoreMetrics IntegerTime 
- 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.
- thresholdsWait IntegerTime 
- 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.
- ignoreMetrics numberTime 
- 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.
- thresholdsWait numberTime 
- 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_ inttime 
- 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_ inttime 
- 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.
- ignoreMetrics NumberTime 
- 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.
- thresholdsWait NumberTime 
- The amount of time, in minutes, that the load must exceed a threshold before more instances are added or removed.
Import
Using pulumi import, import OpsWorks Custom Layers using the id. For example:
$ pulumi import aws:opsworks/customLayer:CustomLayer bar 00000000-0000-0000-0000-000000000000
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the awsTerraform Provider.