1. Packages
  2. AWS
  3. API Docs
  4. opsworks
  5. GangliaLayer
AWS v6.59.1 published on Tuesday, Nov 12, 2024 by Pulumi

aws.opsworks.GangliaLayer

Explore with Pulumi AI

aws logo
AWS v6.59.1 published on Tuesday, Nov 12, 2024 by Pulumi

    Provides an OpsWorks Ganglia layer resource.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const monitor = new aws.opsworks.GangliaLayer("monitor", {
        stackId: main.id,
        password: "foobarbaz",
    });
    
    import pulumi
    import pulumi_aws as aws
    
    monitor = aws.opsworks.GangliaLayer("monitor",
        stack_id=main["id"],
        password="foobarbaz")
    
    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.NewGangliaLayer(ctx, "monitor", &opsworks.GangliaLayerArgs{
    			StackId:  pulumi.Any(main.Id),
    			Password: pulumi.String("foobarbaz"),
    		})
    		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 monitor = new Aws.OpsWorks.GangliaLayer("monitor", new()
        {
            StackId = main.Id,
            Password = "foobarbaz",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.opsworks.GangliaLayer;
    import com.pulumi.aws.opsworks.GangliaLayerArgs;
    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 monitor = new GangliaLayer("monitor", GangliaLayerArgs.builder()
                .stackId(main.id())
                .password("foobarbaz")
                .build());
    
        }
    }
    
    resources:
      monitor:
        type: aws:opsworks:GangliaLayer
        properties:
          stackId: ${main.id}
          password: foobarbaz
    

    Create GangliaLayer Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new GangliaLayer(name: string, args: GangliaLayerArgs, opts?: CustomResourceOptions);
    @overload
    def GangliaLayer(resource_name: str,
                     args: GangliaLayerArgs,
                     opts: Optional[ResourceOptions] = None)
    
    @overload
    def GangliaLayer(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     password: Optional[str] = None,
                     stack_id: Optional[str] = None,
                     drain_elb_on_shutdown: Optional[bool] = None,
                     url: Optional[str] = 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,
                     username: Optional[str] = None,
                     cloudwatch_configuration: Optional[GangliaLayerCloudwatchConfigurationArgs] = None,
                     instance_shutdown_timeout: Optional[int] = None,
                     install_updates_on_boot: Optional[bool] = None,
                     elastic_load_balancer: Optional[str] = None,
                     load_based_auto_scaling: Optional[GangliaLayerLoadBasedAutoScalingArgs] = 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,
                     ebs_volumes: Optional[Sequence[GangliaLayerEbsVolumeArgs]] = None,
                     use_ebs_optimized_instances: Optional[bool] = None,
                     auto_assign_elastic_ips: Optional[bool] = None)
    func NewGangliaLayer(ctx *Context, name string, args GangliaLayerArgs, opts ...ResourceOption) (*GangliaLayer, error)
    public GangliaLayer(string name, GangliaLayerArgs args, CustomResourceOptions? opts = null)
    public GangliaLayer(String name, GangliaLayerArgs args)
    public GangliaLayer(String name, GangliaLayerArgs args, CustomResourceOptions options)
    
    type: aws:opsworks:GangliaLayer
    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 GangliaLayerArgs
    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 GangliaLayerArgs
    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 GangliaLayerArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args GangliaLayerArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args GangliaLayerArgs
    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 gangliaLayerResource = new Aws.OpsWorks.GangliaLayer("gangliaLayerResource", new()
    {
        Password = "string",
        StackId = "string",
        DrainElbOnShutdown = false,
        Url = "string",
        CustomConfigureRecipes = new[]
        {
            "string",
        },
        CustomDeployRecipes = new[]
        {
            "string",
        },
        CustomInstanceProfileArn = "string",
        CustomJson = "string",
        CustomSecurityGroupIds = new[]
        {
            "string",
        },
        CustomSetupRecipes = new[]
        {
            "string",
        },
        CustomShutdownRecipes = new[]
        {
            "string",
        },
        CustomUndeployRecipes = new[]
        {
            "string",
        },
        Username = "string",
        CloudwatchConfiguration = new Aws.OpsWorks.Inputs.GangliaLayerCloudwatchConfigurationArgs
        {
            Enabled = false,
            LogStreams = new[]
            {
                new Aws.OpsWorks.Inputs.GangliaLayerCloudwatchConfigurationLogStreamArgs
                {
                    File = "string",
                    LogGroupName = "string",
                    BatchCount = 0,
                    BatchSize = 0,
                    BufferDuration = 0,
                    DatetimeFormat = "string",
                    Encoding = "string",
                    FileFingerprintLines = "string",
                    InitialPosition = "string",
                    MultilineStartPattern = "string",
                    TimeZone = "string",
                },
            },
        },
        InstanceShutdownTimeout = 0,
        InstallUpdatesOnBoot = false,
        ElasticLoadBalancer = "string",
        LoadBasedAutoScaling = new Aws.OpsWorks.Inputs.GangliaLayerLoadBasedAutoScalingArgs
        {
            Downscaling = new Aws.OpsWorks.Inputs.GangliaLayerLoadBasedAutoScalingDownscalingArgs
            {
                Alarms = new[]
                {
                    "string",
                },
                CpuThreshold = 0,
                IgnoreMetricsTime = 0,
                InstanceCount = 0,
                LoadThreshold = 0,
                MemoryThreshold = 0,
                ThresholdsWaitTime = 0,
            },
            Enable = false,
            Upscaling = new Aws.OpsWorks.Inputs.GangliaLayerLoadBasedAutoScalingUpscalingArgs
            {
                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" },
        },
        EbsVolumes = new[]
        {
            new Aws.OpsWorks.Inputs.GangliaLayerEbsVolumeArgs
            {
                MountPoint = "string",
                NumberOfDisks = 0,
                Size = 0,
                Encrypted = false,
                Iops = 0,
                RaidLevel = "string",
                Type = "string",
            },
        },
        UseEbsOptimizedInstances = false,
        AutoAssignElasticIps = false,
    });
    
    example, err := opsworks.NewGangliaLayer(ctx, "gangliaLayerResource", &opsworks.GangliaLayerArgs{
    	Password:           pulumi.String("string"),
    	StackId:            pulumi.String("string"),
    	DrainElbOnShutdown: pulumi.Bool(false),
    	Url:                pulumi.String("string"),
    	CustomConfigureRecipes: pulumi.StringArray{
    		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"),
    	},
    	CustomShutdownRecipes: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	CustomUndeployRecipes: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Username: pulumi.String("string"),
    	CloudwatchConfiguration: &opsworks.GangliaLayerCloudwatchConfigurationArgs{
    		Enabled: pulumi.Bool(false),
    		LogStreams: opsworks.GangliaLayerCloudwatchConfigurationLogStreamArray{
    			&opsworks.GangliaLayerCloudwatchConfigurationLogStreamArgs{
    				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"),
    			},
    		},
    	},
    	InstanceShutdownTimeout: pulumi.Int(0),
    	InstallUpdatesOnBoot:    pulumi.Bool(false),
    	ElasticLoadBalancer:     pulumi.String("string"),
    	LoadBasedAutoScaling: &opsworks.GangliaLayerLoadBasedAutoScalingArgs{
    		Downscaling: &opsworks.GangliaLayerLoadBasedAutoScalingDownscalingArgs{
    			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.GangliaLayerLoadBasedAutoScalingUpscalingArgs{
    			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"),
    	},
    	EbsVolumes: opsworks.GangliaLayerEbsVolumeArray{
    		&opsworks.GangliaLayerEbsVolumeArgs{
    			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"),
    		},
    	},
    	UseEbsOptimizedInstances: pulumi.Bool(false),
    	AutoAssignElasticIps:     pulumi.Bool(false),
    })
    
    var gangliaLayerResource = new GangliaLayer("gangliaLayerResource", GangliaLayerArgs.builder()
        .password("string")
        .stackId("string")
        .drainElbOnShutdown(false)
        .url("string")
        .customConfigureRecipes("string")
        .customDeployRecipes("string")
        .customInstanceProfileArn("string")
        .customJson("string")
        .customSecurityGroupIds("string")
        .customSetupRecipes("string")
        .customShutdownRecipes("string")
        .customUndeployRecipes("string")
        .username("string")
        .cloudwatchConfiguration(GangliaLayerCloudwatchConfigurationArgs.builder()
            .enabled(false)
            .logStreams(GangliaLayerCloudwatchConfigurationLogStreamArgs.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())
        .instanceShutdownTimeout(0)
        .installUpdatesOnBoot(false)
        .elasticLoadBalancer("string")
        .loadBasedAutoScaling(GangliaLayerLoadBasedAutoScalingArgs.builder()
            .downscaling(GangliaLayerLoadBasedAutoScalingDownscalingArgs.builder()
                .alarms("string")
                .cpuThreshold(0)
                .ignoreMetricsTime(0)
                .instanceCount(0)
                .loadThreshold(0)
                .memoryThreshold(0)
                .thresholdsWaitTime(0)
                .build())
            .enable(false)
            .upscaling(GangliaLayerLoadBasedAutoScalingUpscalingArgs.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"))
        .ebsVolumes(GangliaLayerEbsVolumeArgs.builder()
            .mountPoint("string")
            .numberOfDisks(0)
            .size(0)
            .encrypted(false)
            .iops(0)
            .raidLevel("string")
            .type("string")
            .build())
        .useEbsOptimizedInstances(false)
        .autoAssignElasticIps(false)
        .build());
    
    ganglia_layer_resource = aws.opsworks.GangliaLayer("gangliaLayerResource",
        password="string",
        stack_id="string",
        drain_elb_on_shutdown=False,
        url="string",
        custom_configure_recipes=["string"],
        custom_deploy_recipes=["string"],
        custom_instance_profile_arn="string",
        custom_json="string",
        custom_security_group_ids=["string"],
        custom_setup_recipes=["string"],
        custom_shutdown_recipes=["string"],
        custom_undeploy_recipes=["string"],
        username="string",
        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",
            }],
        },
        instance_shutdown_timeout=0,
        install_updates_on_boot=False,
        elastic_load_balancer="string",
        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",
        },
        ebs_volumes=[{
            "mount_point": "string",
            "number_of_disks": 0,
            "size": 0,
            "encrypted": False,
            "iops": 0,
            "raid_level": "string",
            "type": "string",
        }],
        use_ebs_optimized_instances=False,
        auto_assign_elastic_ips=False)
    
    const gangliaLayerResource = new aws.opsworks.GangliaLayer("gangliaLayerResource", {
        password: "string",
        stackId: "string",
        drainElbOnShutdown: false,
        url: "string",
        customConfigureRecipes: ["string"],
        customDeployRecipes: ["string"],
        customInstanceProfileArn: "string",
        customJson: "string",
        customSecurityGroupIds: ["string"],
        customSetupRecipes: ["string"],
        customShutdownRecipes: ["string"],
        customUndeployRecipes: ["string"],
        username: "string",
        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",
            }],
        },
        instanceShutdownTimeout: 0,
        installUpdatesOnBoot: false,
        elasticLoadBalancer: "string",
        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",
        },
        ebsVolumes: [{
            mountPoint: "string",
            numberOfDisks: 0,
            size: 0,
            encrypted: false,
            iops: 0,
            raidLevel: "string",
            type: "string",
        }],
        useEbsOptimizedInstances: false,
        autoAssignElasticIps: false,
    });
    
    type: aws:opsworks:GangliaLayer
    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
        password: string
        stackId: string
        systemPackages:
            - string
        tags:
            string: string
        url: string
        useEbsOptimizedInstances: false
        username: string
    

    GangliaLayer 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 GangliaLayer resource accepts the following input properties:

    Password string
    The password to use for Ganglia.
    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 GangliaLayerCloudwatchConfiguration
    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<GangliaLayerEbsVolume>
    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 GangliaLayerLoadBasedAutoScaling
    Name string
    A human-readable name for the layer.
    SystemPackages List<string>
    Names of a set of system packages to install on the layer's instances.
    Tags Dictionary<string, string>

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

    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:

    Url string
    The URL path to use for Ganglia. Defaults to "/ganglia".
    UseEbsOptimizedInstances bool
    Whether to use EBS-optimized instances.
    Username string
    The username to use for Ganglia. Defaults to "opsworks".
    Password string
    The password to use for Ganglia.
    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 GangliaLayerCloudwatchConfigurationArgs
    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 []GangliaLayerEbsVolumeArgs
    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 GangliaLayerLoadBasedAutoScalingArgs
    Name string
    A human-readable name for the layer.
    SystemPackages []string
    Names of a set of system packages to install on the layer's instances.
    Tags map[string]string

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

    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:

    Url string
    The URL path to use for Ganglia. Defaults to "/ganglia".
    UseEbsOptimizedInstances bool
    Whether to use EBS-optimized instances.
    Username string
    The username to use for Ganglia. Defaults to "opsworks".
    password String
    The password to use for Ganglia.
    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 GangliaLayerCloudwatchConfiguration
    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<GangliaLayerEbsVolume>
    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 GangliaLayerLoadBasedAutoScaling
    name String
    A human-readable name for the layer.
    systemPackages List<String>
    Names of a set of system packages to install on the layer's instances.
    tags Map<String,String>

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

    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:

    url String
    The URL path to use for Ganglia. Defaults to "/ganglia".
    useEbsOptimizedInstances Boolean
    Whether to use EBS-optimized instances.
    username String
    The username to use for Ganglia. Defaults to "opsworks".
    password string
    The password to use for Ganglia.
    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 GangliaLayerCloudwatchConfiguration
    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 GangliaLayerEbsVolume[]
    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 GangliaLayerLoadBasedAutoScaling
    name string
    A human-readable name for the layer.
    systemPackages string[]
    Names of a set of system packages to install on the layer's instances.
    tags {[key: string]: string}

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

    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:

    url string
    The URL path to use for Ganglia. Defaults to "/ganglia".
    useEbsOptimizedInstances boolean
    Whether to use EBS-optimized instances.
    username string
    The username to use for Ganglia. Defaults to "opsworks".
    password str
    The password to use for Ganglia.
    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 GangliaLayerCloudwatchConfigurationArgs
    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[GangliaLayerEbsVolumeArgs]
    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 GangliaLayerLoadBasedAutoScalingArgs
    name str
    A human-readable name for the layer.
    system_packages Sequence[str]
    Names of a set of system packages to install on the layer's instances.
    tags Mapping[str, str]

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

    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:

    url str
    The URL path to use for Ganglia. Defaults to "/ganglia".
    use_ebs_optimized_instances bool
    Whether to use EBS-optimized instances.
    username str
    The username to use for Ganglia. Defaults to "opsworks".
    password String
    The password to use for Ganglia.
    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 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:

    url String
    The URL path to use for Ganglia. Defaults to "/ganglia".
    useEbsOptimizedInstances Boolean
    Whether to use EBS-optimized instances.
    username String
    The username to use for Ganglia. Defaults to "opsworks".

    Outputs

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

    Arn string
    The Amazon Resource Name(ARN) of the layer.
    Id string
    The provider-assigned unique ID for this managed resource.
    TagsAll Dictionary<string, string>
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    Arn string
    The Amazon Resource Name(ARN) of the layer.
    Id string
    The provider-assigned unique ID for this managed resource.
    TagsAll map[string]string
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    arn String
    The Amazon Resource Name(ARN) of the layer.
    id String
    The provider-assigned unique ID for this managed resource.
    tagsAll Map<String,String>
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    arn string
    The Amazon Resource Name(ARN) of the layer.
    id string
    The provider-assigned unique ID for this managed resource.
    tagsAll {[key: string]: string}
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    arn str
    The Amazon Resource Name(ARN) of the layer.
    id str
    The provider-assigned unique ID for this managed resource.
    tags_all Mapping[str, str]
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    arn String
    The Amazon Resource Name(ARN) of the layer.
    id String
    The provider-assigned unique ID for this managed resource.
    tagsAll Map<String>
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    Look up Existing GangliaLayer Resource

    Get an existing GangliaLayer 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?: GangliaLayerState, opts?: CustomResourceOptions): GangliaLayer
    @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[GangliaLayerCloudwatchConfigurationArgs] = 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[GangliaLayerEbsVolumeArgs]] = 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[GangliaLayerLoadBasedAutoScalingArgs] = None,
            name: Optional[str] = None,
            password: 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,
            url: Optional[str] = None,
            use_ebs_optimized_instances: Optional[bool] = None,
            username: Optional[str] = None) -> GangliaLayer
    func GetGangliaLayer(ctx *Context, name string, id IDInput, state *GangliaLayerState, opts ...ResourceOption) (*GangliaLayer, error)
    public static GangliaLayer Get(string name, Input<string> id, GangliaLayerState? state, CustomResourceOptions? opts = null)
    public static GangliaLayer get(String name, Output<String> id, GangliaLayerState 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 GangliaLayerCloudwatchConfiguration
    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<GangliaLayerEbsVolume>
    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 GangliaLayerLoadBasedAutoScaling
    Name string
    A human-readable name for the layer.
    Password string
    The password to use for Ganglia.
    StackId string
    ID of the stack the layer will belong to.
    SystemPackages List<string>
    Names of a set of system packages to install on the layer's instances.
    Tags Dictionary<string, string>

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

    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:

    TagsAll Dictionary<string, string>
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    Url string
    The URL path to use for Ganglia. Defaults to "/ganglia".
    UseEbsOptimizedInstances bool
    Whether to use EBS-optimized instances.
    Username string
    The username to use for Ganglia. Defaults to "opsworks".
    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 GangliaLayerCloudwatchConfigurationArgs
    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 []GangliaLayerEbsVolumeArgs
    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 GangliaLayerLoadBasedAutoScalingArgs
    Name string
    A human-readable name for the layer.
    Password string
    The password to use for Ganglia.
    StackId string
    ID of the stack the layer will belong to.
    SystemPackages []string
    Names of a set of system packages to install on the layer's instances.
    Tags map[string]string

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

    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:

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

    Deprecated: Please use tags instead.

    Url string
    The URL path to use for Ganglia. Defaults to "/ganglia".
    UseEbsOptimizedInstances bool
    Whether to use EBS-optimized instances.
    Username string
    The username to use for Ganglia. Defaults to "opsworks".
    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 GangliaLayerCloudwatchConfiguration
    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<GangliaLayerEbsVolume>
    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 GangliaLayerLoadBasedAutoScaling
    name String
    A human-readable name for the layer.
    password String
    The password to use for Ganglia.
    stackId String
    ID of the stack the layer will belong to.
    systemPackages List<String>
    Names of a set of system packages to install on the layer's instances.
    tags Map<String,String>

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

    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:

    tagsAll Map<String,String>
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    url String
    The URL path to use for Ganglia. Defaults to "/ganglia".
    useEbsOptimizedInstances Boolean
    Whether to use EBS-optimized instances.
    username String
    The username to use for Ganglia. Defaults to "opsworks".
    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 GangliaLayerCloudwatchConfiguration
    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 GangliaLayerEbsVolume[]
    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 GangliaLayerLoadBasedAutoScaling
    name string
    A human-readable name for the layer.
    password string
    The password to use for Ganglia.
    stackId string
    ID of the stack the layer will belong to.
    systemPackages string[]
    Names of a set of system packages to install on the layer's instances.
    tags {[key: string]: string}

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

    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:

    tagsAll {[key: string]: string}
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    url string
    The URL path to use for Ganglia. Defaults to "/ganglia".
    useEbsOptimizedInstances boolean
    Whether to use EBS-optimized instances.
    username string
    The username to use for Ganglia. Defaults to "opsworks".
    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 GangliaLayerCloudwatchConfigurationArgs
    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[GangliaLayerEbsVolumeArgs]
    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 GangliaLayerLoadBasedAutoScalingArgs
    name str
    A human-readable name for the layer.
    password str
    The password to use for Ganglia.
    stack_id str
    ID of the stack the layer will belong to.
    system_packages Sequence[str]
    Names of a set of system packages to install on the layer's instances.
    tags Mapping[str, str]

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

    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:

    tags_all Mapping[str, str]
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    url str
    The URL path to use for Ganglia. Defaults to "/ganglia".
    use_ebs_optimized_instances bool
    Whether to use EBS-optimized instances.
    username str
    The username to use for Ganglia. Defaults to "opsworks".
    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.
    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.
    password String
    The password to use for Ganglia.
    stackId String
    ID of the stack the layer will belong to.
    systemPackages List<String>
    Names of a set of system packages to install on the layer's instances.
    tags Map<String>

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

    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:

    tagsAll Map<String>
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    url String
    The URL path to use for Ganglia. Defaults to "/ganglia".
    useEbsOptimizedInstances Boolean
    Whether to use EBS-optimized instances.
    username String
    The username to use for Ganglia. Defaults to "opsworks".

    Supporting Types

    GangliaLayerCloudwatchConfiguration, GangliaLayerCloudwatchConfigurationArgs

    GangliaLayerCloudwatchConfigurationLogStream, GangliaLayerCloudwatchConfigurationLogStreamArgs

    GangliaLayerEbsVolume, GangliaLayerEbsVolumeArgs

    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.

    GangliaLayerLoadBasedAutoScaling, GangliaLayerLoadBasedAutoScalingArgs

    GangliaLayerLoadBasedAutoScalingDownscaling, GangliaLayerLoadBasedAutoScalingDownscalingArgs

    GangliaLayerLoadBasedAutoScalingUpscaling, GangliaLayerLoadBasedAutoScalingUpscalingArgs

    Package Details

    Repository
    AWS Classic pulumi/pulumi-aws
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the aws Terraform Provider.
    aws logo
    AWS v6.59.1 published on Tuesday, Nov 12, 2024 by Pulumi