aws logo
AWS Classic v5.41.0, May 15 23

aws.opsworks.EcsClusterLayer

Explore with Pulumi AI

Provides an OpsWorks ECS Cluster layer resource.

Example Usage

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 = aws_opsworks_stack.Example.Id,
        EcsClusterArn = aws_ecs_cluster.Example.Arn,
    });

});
package main

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

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := opsworks.NewEcsClusterLayer(ctx, "example", &opsworks.EcsClusterLayerArgs{
			StackId:       pulumi.Any(aws_opsworks_stack.Example.Id),
			EcsClusterArn: pulumi.Any(aws_ecs_cluster.Example.Arn),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.opsworks.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(aws_opsworks_stack.example().id())
            .ecsClusterArn(aws_ecs_cluster.example().arn())
            .build());

    }
}
import pulumi
import pulumi_aws as aws

example = aws.opsworks.EcsClusterLayer("example",
    stack_id=aws_opsworks_stack["example"]["id"],
    ecs_cluster_arn=aws_ecs_cluster["example"]["arn"])
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

const example = new aws.opsworks.EcsClusterLayer("example", {
    stackId: aws_opsworks_stack.example.id,
    ecsClusterArn: aws_ecs_cluster.example.arn,
});
resources:
  example:
    type: aws:opsworks:EcsClusterLayer
    properties:
      stackId: ${aws_opsworks_stack.example.id}
      ecsClusterArn: ${aws_ecs_cluster.example.arn}

Create EcsClusterLayer Resource

new EcsClusterLayer(name: string, args: EcsClusterLayerArgs, opts?: CustomResourceOptions);
@overload
def EcsClusterLayer(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    auto_assign_elastic_ips: Optional[bool] = None,
                    auto_assign_public_ips: Optional[bool] = None,
                    auto_healing: Optional[bool] = None,
                    cloudwatch_configuration: Optional[EcsClusterLayerCloudwatchConfigurationArgs] = 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[EcsClusterLayerEbsVolumeArgs]] = None,
                    ecs_cluster_arn: Optional[str] = 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[EcsClusterLayerLoadBasedAutoScalingArgs] = None,
                    name: Optional[str] = None,
                    stack_id: Optional[str] = None,
                    system_packages: Optional[Sequence[str]] = None,
                    tags: Optional[Mapping[str, str]] = None,
                    use_ebs_optimized_instances: Optional[bool] = None)
@overload
def EcsClusterLayer(resource_name: str,
                    args: EcsClusterLayerArgs,
                    opts: Optional[ResourceOptions] = None)
func NewEcsClusterLayer(ctx *Context, name string, args EcsClusterLayerArgs, opts ...ResourceOption) (*EcsClusterLayer, error)
public EcsClusterLayer(string name, EcsClusterLayerArgs args, CustomResourceOptions? opts = null)
public EcsClusterLayer(String name, EcsClusterLayerArgs args)
public EcsClusterLayer(String name, EcsClusterLayerArgs args, CustomResourceOptions options)
type: aws:opsworks:EcsClusterLayer
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args EcsClusterLayerArgs
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 EcsClusterLayerArgs
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 EcsClusterLayerArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args EcsClusterLayerArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args EcsClusterLayerArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

EcsClusterLayer Resource Properties

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

Inputs

The EcsClusterLayer resource accepts the following input properties:

EcsClusterArn string

The ECS Cluster ARN of the layer.

StackId string

ID of the stack the layer will belong to.

AutoAssignElasticIps bool

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

AutoAssignPublicIps bool

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

AutoHealing bool

Whether to enable auto-healing for the layer.

CloudwatchConfiguration EcsClusterLayerCloudwatchConfigurationArgs
CustomConfigureRecipes List<string>
CustomDeployRecipes List<string>
CustomInstanceProfileArn string

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

CustomJson string

Custom JSON attributes to apply to the layer.

CustomSecurityGroupIds List<string>

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

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

Whether to enable Elastic Load Balancing connection draining.

EbsVolumes List<EcsClusterLayerEbsVolumeArgs>

ebs_volume blocks, as described below, will each create an EBS volume and connect it to the layer's instances.

ElasticLoadBalancer string

Name of an Elastic Load Balancer to attach to this layer

InstallUpdatesOnBoot bool

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

InstanceShutdownTimeout int

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

LoadBasedAutoScaling EcsClusterLayerLoadBasedAutoScalingArgs
Name string

A human-readable name for the layer.

SystemPackages List<string>

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

Tags Dictionary<string, string>

A mapping of tags to assign to the resource.

UseEbsOptimizedInstances bool

Whether to use EBS-optimized instances.

EcsClusterArn string

The ECS Cluster ARN of the layer.

StackId string

ID of the stack the layer will belong to.

AutoAssignElasticIps bool

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

AutoAssignPublicIps bool

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

AutoHealing bool

Whether to enable auto-healing for the layer.

CloudwatchConfiguration EcsClusterLayerCloudwatchConfigurationArgs
CustomConfigureRecipes []string
CustomDeployRecipes []string
CustomInstanceProfileArn string

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

CustomJson string

Custom JSON attributes to apply to the layer.

CustomSecurityGroupIds []string

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

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

Whether to enable Elastic Load Balancing connection draining.

EbsVolumes []EcsClusterLayerEbsVolumeArgs

ebs_volume blocks, as described below, will each create an EBS volume and connect it to the layer's instances.

ElasticLoadBalancer string

Name of an Elastic Load Balancer to attach to this layer

InstallUpdatesOnBoot bool

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

InstanceShutdownTimeout int

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

LoadBasedAutoScaling EcsClusterLayerLoadBasedAutoScalingArgs
Name string

A human-readable name for the layer.

SystemPackages []string

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

Tags map[string]string

A mapping of tags to assign to the resource.

UseEbsOptimizedInstances bool

Whether to use EBS-optimized instances.

ecsClusterArn String

The ECS Cluster ARN of the layer.

stackId String

ID of the stack the layer will belong to.

autoAssignElasticIps Boolean

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

autoAssignPublicIps Boolean

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

autoHealing Boolean

Whether to enable auto-healing for the layer.

cloudwatchConfiguration EcsClusterLayerCloudwatchConfigurationArgs
customConfigureRecipes List<String>
customDeployRecipes List<String>
customInstanceProfileArn String

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

customJson String

Custom JSON attributes to apply to the layer.

customSecurityGroupIds List<String>

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

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

Whether to enable Elastic Load Balancing connection draining.

ebsVolumes List<EcsClusterLayerEbsVolumeArgs>

ebs_volume blocks, as described below, will each create an EBS volume and connect it to the layer's instances.

elasticLoadBalancer String

Name of an Elastic Load Balancer to attach to this layer

installUpdatesOnBoot Boolean

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

instanceShutdownTimeout Integer

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

loadBasedAutoScaling EcsClusterLayerLoadBasedAutoScalingArgs
name String

A human-readable name for the layer.

systemPackages List<String>

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

tags Map<String,String>

A mapping of tags to assign to the resource.

useEbsOptimizedInstances Boolean

Whether to use EBS-optimized instances.

ecsClusterArn string

The ECS Cluster ARN of the layer.

stackId string

ID of the stack the layer will belong to.

autoAssignElasticIps boolean

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

autoAssignPublicIps boolean

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

autoHealing boolean

Whether to enable auto-healing for the layer.

cloudwatchConfiguration EcsClusterLayerCloudwatchConfigurationArgs
customConfigureRecipes string[]
customDeployRecipes string[]
customInstanceProfileArn string

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

customJson string

Custom JSON attributes to apply to the layer.

customSecurityGroupIds string[]

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

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

Whether to enable Elastic Load Balancing connection draining.

ebsVolumes EcsClusterLayerEbsVolumeArgs[]

ebs_volume blocks, as described below, will each create an EBS volume and connect it to the layer's instances.

elasticLoadBalancer string

Name of an Elastic Load Balancer to attach to this layer

installUpdatesOnBoot boolean

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

instanceShutdownTimeout number

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

loadBasedAutoScaling EcsClusterLayerLoadBasedAutoScalingArgs
name string

A human-readable name for the layer.

systemPackages string[]

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

tags {[key: string]: string}

A mapping of tags to assign to the resource.

useEbsOptimizedInstances boolean

Whether to use EBS-optimized instances.

ecs_cluster_arn str

The ECS Cluster ARN of the layer.

stack_id str

ID of the stack the layer will belong to.

auto_assign_elastic_ips bool

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

auto_assign_public_ips bool

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

auto_healing bool

Whether to enable auto-healing for the layer.

cloudwatch_configuration EcsClusterLayerCloudwatchConfigurationArgs
custom_configure_recipes Sequence[str]
custom_deploy_recipes Sequence[str]
custom_instance_profile_arn str

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

custom_json str

Custom JSON attributes to apply to the layer.

custom_security_group_ids Sequence[str]

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

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

Whether to enable Elastic Load Balancing connection draining.

ebs_volumes Sequence[EcsClusterLayerEbsVolumeArgs]

ebs_volume blocks, as described below, will each create an EBS volume and connect it to the layer's instances.

elastic_load_balancer str

Name of an Elastic Load Balancer to attach to this layer

install_updates_on_boot bool

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

instance_shutdown_timeout int

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

load_based_auto_scaling EcsClusterLayerLoadBasedAutoScalingArgs
name str

A human-readable name for the layer.

system_packages Sequence[str]

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

tags Mapping[str, str]

A mapping of tags to assign to the resource.

use_ebs_optimized_instances bool

Whether to use EBS-optimized instances.

ecsClusterArn String

The ECS Cluster ARN of the layer.

stackId String

ID of the stack the layer will belong to.

autoAssignElasticIps Boolean

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

autoAssignPublicIps Boolean

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

autoHealing Boolean

Whether to enable auto-healing for the layer.

cloudwatchConfiguration Property Map
customConfigureRecipes List<String>
customDeployRecipes List<String>
customInstanceProfileArn String

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

customJson String

Custom JSON attributes to apply to the layer.

customSecurityGroupIds List<String>

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

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

Whether to enable Elastic Load Balancing connection draining.

ebsVolumes List<Property Map>

ebs_volume blocks, as described below, will each create an EBS volume and connect it to the layer's instances.

elasticLoadBalancer String

Name of an Elastic Load Balancer to attach to this layer

installUpdatesOnBoot Boolean

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

instanceShutdownTimeout Number

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

loadBasedAutoScaling Property Map
name String

A human-readable name for the layer.

systemPackages List<String>

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

tags Map<String>

A mapping of tags to assign to the resource.

useEbsOptimizedInstances Boolean

Whether to use EBS-optimized instances.

Outputs

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

Arn string

The Amazon Resource Name(ARN) of the layer.

Id string

The provider-assigned unique ID for this managed resource.

TagsAll Dictionary<string, string>
Arn string

The Amazon Resource Name(ARN) of the layer.

Id string

The provider-assigned unique ID for this managed resource.

TagsAll map[string]string
arn String

The Amazon Resource Name(ARN) of the layer.

id String

The provider-assigned unique ID for this managed resource.

tagsAll Map<String,String>
arn string

The Amazon Resource Name(ARN) of the layer.

id string

The provider-assigned unique ID for this managed resource.

tagsAll {[key: string]: string}
arn str

The Amazon Resource Name(ARN) of the layer.

id str

The provider-assigned unique ID for this managed resource.

tags_all Mapping[str, str]
arn String

The Amazon Resource Name(ARN) of the layer.

id String

The provider-assigned unique ID for this managed resource.

tagsAll Map<String>

Look up Existing EcsClusterLayer Resource

Get an existing EcsClusterLayer 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?: EcsClusterLayerState, opts?: CustomResourceOptions): EcsClusterLayer
@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[EcsClusterLayerCloudwatchConfigurationArgs] = 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[EcsClusterLayerEbsVolumeArgs]] = None,
        ecs_cluster_arn: Optional[str] = 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[EcsClusterLayerLoadBasedAutoScalingArgs] = None,
        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) -> EcsClusterLayer
func GetEcsClusterLayer(ctx *Context, name string, id IDInput, state *EcsClusterLayerState, opts ...ResourceOption) (*EcsClusterLayer, error)
public static EcsClusterLayer Get(string name, Input<string> id, EcsClusterLayerState? state, CustomResourceOptions? opts = null)
public static EcsClusterLayer get(String name, Output<String> id, EcsClusterLayerState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
Arn string

The Amazon Resource Name(ARN) of the layer.

AutoAssignElasticIps bool

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

AutoAssignPublicIps bool

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

AutoHealing bool

Whether to enable auto-healing for the layer.

CloudwatchConfiguration EcsClusterLayerCloudwatchConfigurationArgs
CustomConfigureRecipes List<string>
CustomDeployRecipes List<string>
CustomInstanceProfileArn string

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

CustomJson string

Custom JSON attributes to apply to the layer.

CustomSecurityGroupIds List<string>

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

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

Whether to enable Elastic Load Balancing connection draining.

EbsVolumes List<EcsClusterLayerEbsVolumeArgs>

ebs_volume blocks, as described below, will each create an EBS volume and connect it to the layer's instances.

EcsClusterArn string

The ECS Cluster ARN of the layer.

ElasticLoadBalancer string

Name of an Elastic Load Balancer to attach to this layer

InstallUpdatesOnBoot bool

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

InstanceShutdownTimeout int

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

LoadBasedAutoScaling EcsClusterLayerLoadBasedAutoScalingArgs
Name string

A human-readable name for the layer.

StackId string

ID of the stack the layer will belong to.

SystemPackages List<string>

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

Tags Dictionary<string, string>

A mapping of tags to assign to the resource.

TagsAll Dictionary<string, string>
UseEbsOptimizedInstances bool

Whether to use EBS-optimized instances.

Arn string

The Amazon Resource Name(ARN) of the layer.

AutoAssignElasticIps bool

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

AutoAssignPublicIps bool

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

AutoHealing bool

Whether to enable auto-healing for the layer.

CloudwatchConfiguration EcsClusterLayerCloudwatchConfigurationArgs
CustomConfigureRecipes []string
CustomDeployRecipes []string
CustomInstanceProfileArn string

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

CustomJson string

Custom JSON attributes to apply to the layer.

CustomSecurityGroupIds []string

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

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

Whether to enable Elastic Load Balancing connection draining.

EbsVolumes []EcsClusterLayerEbsVolumeArgs

ebs_volume blocks, as described below, will each create an EBS volume and connect it to the layer's instances.

EcsClusterArn string

The ECS Cluster ARN of the layer.

ElasticLoadBalancer string

Name of an Elastic Load Balancer to attach to this layer

InstallUpdatesOnBoot bool

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

InstanceShutdownTimeout int

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

LoadBasedAutoScaling EcsClusterLayerLoadBasedAutoScalingArgs
Name string

A human-readable name for the layer.

StackId string

ID of the stack the layer will belong to.

SystemPackages []string

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

Tags map[string]string

A mapping of tags to assign to the resource.

TagsAll map[string]string
UseEbsOptimizedInstances bool

Whether to use EBS-optimized instances.

arn String

The Amazon Resource Name(ARN) of the layer.

autoAssignElasticIps Boolean

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

autoAssignPublicIps Boolean

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

autoHealing Boolean

Whether to enable auto-healing for the layer.

cloudwatchConfiguration EcsClusterLayerCloudwatchConfigurationArgs
customConfigureRecipes List<String>
customDeployRecipes List<String>
customInstanceProfileArn String

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

customJson String

Custom JSON attributes to apply to the layer.

customSecurityGroupIds List<String>

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

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

Whether to enable Elastic Load Balancing connection draining.

ebsVolumes List<EcsClusterLayerEbsVolumeArgs>

ebs_volume blocks, as described below, will each create an EBS volume and connect it to the layer's instances.

ecsClusterArn String

The ECS Cluster ARN of the layer.

elasticLoadBalancer String

Name of an Elastic Load Balancer to attach to this layer

installUpdatesOnBoot Boolean

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

instanceShutdownTimeout Integer

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

loadBasedAutoScaling EcsClusterLayerLoadBasedAutoScalingArgs
name String

A human-readable name for the layer.

stackId String

ID of the stack the layer will belong to.

systemPackages List<String>

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

tags Map<String,String>

A mapping of tags to assign to the resource.

tagsAll Map<String,String>
useEbsOptimizedInstances Boolean

Whether to use EBS-optimized instances.

arn string

The Amazon Resource Name(ARN) of the layer.

autoAssignElasticIps boolean

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

autoAssignPublicIps boolean

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

autoHealing boolean

Whether to enable auto-healing for the layer.

cloudwatchConfiguration EcsClusterLayerCloudwatchConfigurationArgs
customConfigureRecipes string[]
customDeployRecipes string[]
customInstanceProfileArn string

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

customJson string

Custom JSON attributes to apply to the layer.

customSecurityGroupIds string[]

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

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

Whether to enable Elastic Load Balancing connection draining.

ebsVolumes EcsClusterLayerEbsVolumeArgs[]

ebs_volume blocks, as described below, will each create an EBS volume and connect it to the layer's instances.

ecsClusterArn string

The ECS Cluster ARN of the layer.

elasticLoadBalancer string

Name of an Elastic Load Balancer to attach to this layer

installUpdatesOnBoot boolean

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

instanceShutdownTimeout number

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

loadBasedAutoScaling EcsClusterLayerLoadBasedAutoScalingArgs
name string

A human-readable name for the layer.

stackId string

ID of the stack the layer will belong to.

systemPackages string[]

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

tags {[key: string]: string}

A mapping of tags to assign to the resource.

tagsAll {[key: string]: string}
useEbsOptimizedInstances boolean

Whether to use EBS-optimized instances.

arn str

The Amazon Resource Name(ARN) of the layer.

auto_assign_elastic_ips bool

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

auto_assign_public_ips bool

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

auto_healing bool

Whether to enable auto-healing for the layer.

cloudwatch_configuration EcsClusterLayerCloudwatchConfigurationArgs
custom_configure_recipes Sequence[str]
custom_deploy_recipes Sequence[str]
custom_instance_profile_arn str

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

custom_json str

Custom JSON attributes to apply to the layer.

custom_security_group_ids Sequence[str]

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

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

Whether to enable Elastic Load Balancing connection draining.

ebs_volumes Sequence[EcsClusterLayerEbsVolumeArgs]

ebs_volume blocks, as described below, will each create an EBS volume and connect it to the layer's instances.

ecs_cluster_arn str

The ECS Cluster ARN of the layer.

elastic_load_balancer str

Name of an Elastic Load Balancer to attach to this layer

install_updates_on_boot bool

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

instance_shutdown_timeout int

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

load_based_auto_scaling EcsClusterLayerLoadBasedAutoScalingArgs
name str

A human-readable name for the layer.

stack_id str

ID of the stack the layer will belong to.

system_packages Sequence[str]

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

tags Mapping[str, str]

A mapping of tags to assign to the resource.

tags_all Mapping[str, str]
use_ebs_optimized_instances bool

Whether to use EBS-optimized instances.

arn String

The Amazon Resource Name(ARN) of the layer.

autoAssignElasticIps Boolean

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

autoAssignPublicIps Boolean

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

autoHealing Boolean

Whether to enable auto-healing for the layer.

cloudwatchConfiguration Property Map
customConfigureRecipes List<String>
customDeployRecipes List<String>
customInstanceProfileArn String

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

customJson String

Custom JSON attributes to apply to the layer.

customSecurityGroupIds List<String>

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

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

Whether to enable Elastic Load Balancing connection draining.

ebsVolumes List<Property Map>

ebs_volume blocks, as described below, will each create an EBS volume and connect it to the layer's instances.

ecsClusterArn String

The ECS Cluster ARN of the layer.

elasticLoadBalancer String

Name of an Elastic Load Balancer to attach to this layer

installUpdatesOnBoot Boolean

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

instanceShutdownTimeout Number

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

loadBasedAutoScaling Property Map
name String

A human-readable name for the layer.

stackId String

ID of the stack the layer will belong to.

systemPackages List<String>

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

tags Map<String>

A mapping of tags to assign to the resource.

tagsAll Map<String>
useEbsOptimizedInstances Boolean

Whether to use EBS-optimized instances.

Supporting Types

EcsClusterLayerCloudwatchConfiguration

EcsClusterLayerCloudwatchConfigurationLogStream

EcsClusterLayerEbsVolume

MountPoint string

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

NumberOfDisks int

The number of disks to use for the EBS volume.

Size int

The size of the volume in gigabytes.

Encrypted bool
Iops int

For PIOPS volumes, the IOPS per disk.

RaidLevel string

The RAID level to use for the volume.

Type string

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

MountPoint string

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

NumberOfDisks int

The number of disks to use for the EBS volume.

Size int

The size of the volume in gigabytes.

Encrypted bool
Iops int

For PIOPS volumes, the IOPS per disk.

RaidLevel string

The RAID level to use for the volume.

Type string

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

mountPoint String

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

numberOfDisks Integer

The number of disks to use for the EBS volume.

size Integer

The size of the volume in gigabytes.

encrypted Boolean
iops Integer

For PIOPS volumes, the IOPS per disk.

raidLevel String

The RAID level to use for the volume.

type String

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

mountPoint string

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

numberOfDisks number

The number of disks to use for the EBS volume.

size number

The size of the volume in gigabytes.

encrypted boolean
iops number

For PIOPS volumes, the IOPS per disk.

raidLevel string

The RAID level to use for the volume.

type string

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

mount_point str

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

number_of_disks int

The number of disks to use for the EBS volume.

size int

The size of the volume in gigabytes.

encrypted bool
iops int

For PIOPS volumes, the IOPS per disk.

raid_level str

The RAID level to use for the volume.

type str

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

mountPoint String

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

numberOfDisks Number

The number of disks to use for the EBS volume.

size Number

The size of the volume in gigabytes.

encrypted Boolean
iops Number

For PIOPS volumes, the IOPS per disk.

raidLevel String

The RAID level to use for the volume.

type String

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

EcsClusterLayerLoadBasedAutoScaling

EcsClusterLayerLoadBasedAutoScalingDownscaling

EcsClusterLayerLoadBasedAutoScalingUpscaling

Package Details

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

This Pulumi package is based on the aws Terraform Provider.