Ecs Cluster Layer Args
    data class EcsClusterLayerArgs(val autoAssignElasticIps: Output<Boolean>? = null, val autoAssignPublicIps: Output<Boolean>? = null, val autoHealing: Output<Boolean>? = null, val cloudwatchConfiguration: Output<EcsClusterLayerCloudwatchConfigurationArgs>? = 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<EcsClusterLayerEbsVolumeArgs>>? = null, val ecsClusterArn: Output<String>? = null, val elasticLoadBalancer: Output<String>? = null, val installUpdatesOnBoot: Output<Boolean>? = null, val instanceShutdownTimeout: Output<Int>? = null, val loadBasedAutoScaling: Output<EcsClusterLayerLoadBasedAutoScalingArgs>? = null, val name: 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<EcsClusterLayerArgs> 
Provides an OpsWorks ECS Cluster layer resource.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.opsworks.EcsClusterLayer("example", {
    stackId: exampleAwsOpsworksStack.id,
    ecsClusterArn: exampleAwsEcsCluster.arn,
});Content copied to clipboard
import pulumi
import pulumi_aws as aws
example = aws.opsworks.EcsClusterLayer("example",
    stack_id=example_aws_opsworks_stack["id"],
    ecs_cluster_arn=example_aws_ecs_cluster["arn"])Content copied to clipboard
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
    var example = new Aws.OpsWorks.EcsClusterLayer("example", new()
    {
        StackId = exampleAwsOpsworksStack.Id,
        EcsClusterArn = exampleAwsEcsCluster.Arn,
    });
});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.NewEcsClusterLayer(ctx, "example", &opsworks.EcsClusterLayerArgs{
			StackId:       pulumi.Any(exampleAwsOpsworksStack.Id),
			EcsClusterArn: pulumi.Any(exampleAwsEcsCluster.Arn),
		})
		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.EcsClusterLayer;
import com.pulumi.aws.opsworks.EcsClusterLayerArgs;
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 example = new EcsClusterLayer("example", EcsClusterLayerArgs.builder()
            .stackId(exampleAwsOpsworksStack.id())
            .ecsClusterArn(exampleAwsEcsCluster.arn())
            .build());
    }
}Content copied to clipboard
resources:
  example:
    type: aws:opsworks:EcsClusterLayer
    properties:
      stackId: ${exampleAwsOpsworksStack.id}
      ecsClusterArn: ${exampleAwsEcsCluster.arn}Content copied to clipboard
Constructors
Link copied to clipboard
                fun EcsClusterLayerArgs(autoAssignElasticIps: Output<Boolean>? = null, autoAssignPublicIps: Output<Boolean>? = null, autoHealing: Output<Boolean>? = null, cloudwatchConfiguration: Output<EcsClusterLayerCloudwatchConfigurationArgs>? = 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<EcsClusterLayerEbsVolumeArgs>>? = null, ecsClusterArn: Output<String>? = null, elasticLoadBalancer: Output<String>? = null, installUpdatesOnBoot: Output<Boolean>? = null, instanceShutdownTimeout: Output<Int>? = null, loadBasedAutoScaling: Output<EcsClusterLayerLoadBasedAutoScalingArgs>? = null, name: 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
                Link copied to clipboard