RailsAppLayerArgs

data class RailsAppLayerArgs(val appServer: Output<String>? = null, val autoAssignElasticIps: Output<Boolean>? = null, val autoAssignPublicIps: Output<Boolean>? = null, val autoHealing: Output<Boolean>? = null, val bundlerVersion: Output<String>? = null, val cloudwatchConfiguration: Output<RailsAppLayerCloudwatchConfigurationArgs>? = 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<RailsAppLayerEbsVolumeArgs>>? = null, val elasticLoadBalancer: Output<String>? = null, val installUpdatesOnBoot: Output<Boolean>? = null, val instanceShutdownTimeout: Output<Int>? = null, val loadBasedAutoScaling: Output<RailsAppLayerLoadBasedAutoScalingArgs>? = null, val manageBundler: Output<Boolean>? = null, val name: Output<String>? = null, val passengerVersion: Output<String>? = null, val rubyVersion: Output<String>? = null, val rubygemsVersion: Output<String>? = null, val stackId: Output<String>? = null, val systemPackages: Output<List<String>>? = null, val tags: Output<Map<String, String>>? = null, val useEbsOptimizedInstances: Output<Boolean>? = null) : ConvertibleToJava<RailsAppLayerArgs>

Provides an OpsWorks Ruby on Rails application 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.RailsAppLayer;
import com.pulumi.aws.opsworks.RailsAppLayerArgs;
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 app = new RailsAppLayer("app", RailsAppLayerArgs.builder()
.stackId(aws_opsworks_stack.main().id())
.build());
}
}

Constructors

Link copied to clipboard
fun RailsAppLayerArgs(appServer: Output<String>? = null, autoAssignElasticIps: Output<Boolean>? = null, autoAssignPublicIps: Output<Boolean>? = null, autoHealing: Output<Boolean>? = null, bundlerVersion: Output<String>? = null, cloudwatchConfiguration: Output<RailsAppLayerCloudwatchConfigurationArgs>? = 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<RailsAppLayerEbsVolumeArgs>>? = null, elasticLoadBalancer: Output<String>? = null, installUpdatesOnBoot: Output<Boolean>? = null, instanceShutdownTimeout: Output<Int>? = null, loadBasedAutoScaling: Output<RailsAppLayerLoadBasedAutoScalingArgs>? = null, manageBundler: Output<Boolean>? = null, name: Output<String>? = null, passengerVersion: Output<String>? = null, rubyVersion: Output<String>? = null, rubygemsVersion: Output<String>? = 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(): RailsAppLayerArgs

Properties

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

Keyword for the app server to use. Defaults to "apache_passenger".

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 bundlerVersion: Output<String>? = null

When OpsWorks is managing Bundler, which version to use. Defaults to "1.5.3".

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
val manageBundler: Output<Boolean>? = null

Whether OpsWorks should manage bundler. On by default.

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

A human-readable name for the layer.

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

The version of Passenger to use. Defaults to "4.0.46".

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

The version of RubyGems to use. Defaults to "2.2.2".

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

The version of Ruby to use. Defaults to "2.0.0".

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.