Custom Layer Args
    data class CustomLayerArgs(val autoAssignElasticIps: Output<Boolean>? = null, val autoAssignPublicIps: Output<Boolean>? = null, val autoHealing: Output<Boolean>? = null, val cloudwatchConfiguration: Output<CustomLayerCloudwatchConfigurationArgs>? = null, val customConfigureRecipes: Output<List<String>>? = null, val customDeployRecipes: Output<List<String>>? = null, val customInstanceProfileArn: Output<String>? = null, val customJson: Output<String>? = null, val customSecurityGroupIds: Output<List<String>>? = null, val customSetupRecipes: Output<List<String>>? = null, val customShutdownRecipes: Output<List<String>>? = null, val customUndeployRecipes: Output<List<String>>? = null, val drainElbOnShutdown: Output<Boolean>? = null, val ebsVolumes: Output<List<CustomLayerEbsVolumeArgs>>? = null, val elasticLoadBalancer: Output<String>? = null, val installUpdatesOnBoot: Output<Boolean>? = null, val instanceShutdownTimeout: Output<Int>? = null, val loadBasedAutoScaling: Output<CustomLayerLoadBasedAutoScalingArgs>? = null, val name: Output<String>? = null, val shortName: Output<String>? = null, val stackId: Output<String>? = null, val systemPackages: Output<List<String>>? = null, val tags: Output<Map<String, String>>? = null, val useEbsOptimizedInstances: Output<Boolean>? = null) : ConvertibleToJava<CustomLayerArgs> 
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,
});Content copied to clipboard
import pulumi
import pulumi_aws as aws
custlayer = aws.opsworks.CustomLayer("custlayer",
    name="My Awesome Custom Layer",
    short_name="awesome",
    stack_id=main["id"])Content copied to clipboard
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,
    });
});Content copied to clipboard
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
	})
}Content copied to clipboard
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());
    }
}Content copied to clipboard
resources:
  custlayer:
    type: aws:opsworks:CustomLayer
    properties:
      name: My Awesome Custom Layer
      shortName: awesome
      stackId: ${main.id}Content copied to clipboard
Import
Using pulumi import, import OpsWorks Custom Layers using the id. For example:
$ pulumi import aws:opsworks/customLayer:CustomLayer bar 00000000-0000-0000-0000-000000000000Content copied to clipboard
Constructors
Link copied to clipboard
                fun CustomLayerArgs(autoAssignElasticIps: Output<Boolean>? = null, autoAssignPublicIps: Output<Boolean>? = null, autoHealing: Output<Boolean>? = null, cloudwatchConfiguration: Output<CustomLayerCloudwatchConfigurationArgs>? = null, customConfigureRecipes: Output<List<String>>? = null, customDeployRecipes: Output<List<String>>? = null, customInstanceProfileArn: Output<String>? = null, customJson: Output<String>? = null, customSecurityGroupIds: Output<List<String>>? = null, customSetupRecipes: Output<List<String>>? = null, customShutdownRecipes: Output<List<String>>? = null, customUndeployRecipes: Output<List<String>>? = null, drainElbOnShutdown: Output<Boolean>? = null, ebsVolumes: Output<List<CustomLayerEbsVolumeArgs>>? = null, elasticLoadBalancer: Output<String>? = null, installUpdatesOnBoot: Output<Boolean>? = null, instanceShutdownTimeout: Output<Int>? = null, loadBasedAutoScaling: Output<CustomLayerLoadBasedAutoScalingArgs>? = null, name: Output<String>? = null, shortName: Output<String>? = null, stackId: Output<String>? = null, systemPackages: Output<List<String>>? = null, tags: Output<Map<String, String>>? = null, useEbsOptimizedInstances: Output<Boolean>? = null)
Functions
Properties
Link copied to clipboard
                Link copied to clipboard
                Link copied to clipboard
                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. 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:
Link copied to clipboard