MysqlLayerArgs

data class MysqlLayerArgs(val autoAssignElasticIps: Output<Boolean>? = null, val autoAssignPublicIps: Output<Boolean>? = null, val autoHealing: Output<Boolean>? = null, val cloudwatchConfiguration: Output<MysqlLayerCloudwatchConfigurationArgs>? = null, val customConfigureRecipes: Output<List<String>>? = null, val customDeployRecipes: Output<List<String>>? = null, val customInstanceProfileArn: Output<String>? = null, val customJson: Output<String>? = null, val customSecurityGroupIds: Output<List<String>>? = null, val customSetupRecipes: Output<List<String>>? = null, val customShutdownRecipes: Output<List<String>>? = null, val customUndeployRecipes: Output<List<String>>? = null, val drainElbOnShutdown: Output<Boolean>? = null, val ebsVolumes: Output<List<MysqlLayerEbsVolumeArgs>>? = null, val elasticLoadBalancer: Output<String>? = null, val installUpdatesOnBoot: Output<Boolean>? = null, val instanceShutdownTimeout: Output<Int>? = null, val loadBasedAutoScaling: Output<MysqlLayerLoadBasedAutoScalingArgs>? = null, val name: Output<String>? = null, val rootPassword: Output<String>? = null, val rootPasswordOnAllInstances: Output<Boolean>? = null, val stackId: Output<String>? = null, val systemPackages: Output<List<String>>? = null, val tags: Output<Map<String, String>>? = null, val useEbsOptimizedInstances: Output<Boolean>? = null) : ConvertibleToJava<MysqlLayerArgs>

Provides an OpsWorks MySQL layer resource.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.opsworks.MysqlLayer;
import com.pulumi.aws.opsworks.MysqlLayerArgs;
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 db = new MysqlLayer("db", MysqlLayerArgs.builder()
.stackId(aws_opsworks_stack.main().id())
.build());
}
}

Constructors

Link copied to clipboard
fun MysqlLayerArgs(autoAssignElasticIps: Output<Boolean>? = null, autoAssignPublicIps: Output<Boolean>? = null, autoHealing: Output<Boolean>? = null, cloudwatchConfiguration: Output<MysqlLayerCloudwatchConfigurationArgs>? = null, customConfigureRecipes: Output<List<String>>? = null, customDeployRecipes: Output<List<String>>? = null, customInstanceProfileArn: Output<String>? = null, customJson: Output<String>? = null, customSecurityGroupIds: Output<List<String>>? = null, customSetupRecipes: Output<List<String>>? = null, customShutdownRecipes: Output<List<String>>? = null, customUndeployRecipes: Output<List<String>>? = null, drainElbOnShutdown: Output<Boolean>? = null, ebsVolumes: Output<List<MysqlLayerEbsVolumeArgs>>? = null, elasticLoadBalancer: Output<String>? = null, installUpdatesOnBoot: Output<Boolean>? = null, instanceShutdownTimeout: Output<Int>? = null, loadBasedAutoScaling: Output<MysqlLayerLoadBasedAutoScalingArgs>? = null, name: Output<String>? = null, rootPassword: Output<String>? = null, rootPasswordOnAllInstances: Output<Boolean>? = null, stackId: Output<String>? = null, systemPackages: Output<List<String>>? = null, tags: Output<Map<String, String>>? = null, useEbsOptimizedInstances: Output<Boolean>? = null)

Functions

Link copied to clipboard
open override fun toJava(): MysqlLayerArgs

Properties

Link copied to clipboard
val autoAssignElasticIps: Output<Boolean>? = null

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

Link copied to clipboard
val autoAssignPublicIps: Output<Boolean>? = null

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

Link copied to clipboard
val autoHealing: Output<Boolean>? = null

Whether to enable auto-healing for the layer.

Link copied to clipboard
val customConfigureRecipes: Output<List<String>>? = null
Link copied to clipboard
val customDeployRecipes: Output<List<String>>? = null
Link copied to clipboard
val customInstanceProfileArn: Output<String>? = null

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

Link copied to clipboard
val customJson: Output<String>? = null

Custom JSON attributes to apply to the layer.

Link copied to clipboard
val customSecurityGroupIds: Output<List<String>>? = null

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

Link copied to clipboard
val customSetupRecipes: Output<List<String>>? = null
Link copied to clipboard
val customShutdownRecipes: Output<List<String>>? = null
Link copied to clipboard
val customUndeployRecipes: Output<List<String>>? = null
Link copied to clipboard
val drainElbOnShutdown: Output<Boolean>? = null

Whether to enable Elastic Load Balancing connection draining.

Link copied to clipboard

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

Link copied to clipboard
val elasticLoadBalancer: Output<String>? = null

Name of an Elastic Load Balancer to attach to this layer

Link copied to clipboard
val installUpdatesOnBoot: Output<Boolean>? = null

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

Link copied to clipboard
val instanceShutdownTimeout: Output<Int>? = null

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

Link copied to clipboard
Link copied to clipboard
val name: Output<String>? = null

A human-readable name for the layer.

Link copied to clipboard
val rootPassword: Output<String>? = null

Root password to use for MySQL.

Link copied to clipboard
val rootPasswordOnAllInstances: Output<Boolean>? = null

Whether to set the root user password to all instances in the stack so they can access the instances in this layer.

Link copied to clipboard
val stackId: Output<String>? = null

ID of the stack the layer will belong to.

Link copied to clipboard
val systemPackages: Output<List<String>>? = null

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

Link copied to clipboard
val tags: Output<Map<String, String>>? = null

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.

Link copied to clipboard
val useEbsOptimizedInstances: Output<Boolean>? = null

Whether to use EBS-optimized instances.