Class MysqlLayerArgs


  • public final class MysqlLayerArgs
    extends com.pulumi.resources.ResourceArgs
    • Method Detail

      • autoAssignElasticIps

        public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> autoAssignElasticIps()
        Returns:
        Whether to automatically assign an elastic IP address to the layer's instances.
      • autoAssignPublicIps

        public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> autoAssignPublicIps()
        Returns:
        For stacks belonging to a VPC, whether to automatically assign a public IP address to each of the layer's instances.
      • autoHealing

        public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> autoHealing()
        Returns:
        Whether to enable auto-healing for the layer.
      • customConfigureRecipes

        public java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>> customConfigureRecipes()
      • customDeployRecipes

        public java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>> customDeployRecipes()
      • customInstanceProfileArn

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> customInstanceProfileArn()
        Returns:
        The ARN of an IAM profile that will be used for the layer's instances.
      • customJson

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> customJson()
        Returns:
        Custom JSON attributes to apply to the layer.
      • customSecurityGroupIds

        public java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>> customSecurityGroupIds()
        Returns:
        Ids for a set of security groups to apply to the layer's instances.
      • customSetupRecipes

        public java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>> customSetupRecipes()
      • customShutdownRecipes

        public java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>> customShutdownRecipes()
      • customUndeployRecipes

        public java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>> customUndeployRecipes()
      • drainElbOnShutdown

        public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> drainElbOnShutdown()
        Returns:
        Whether to enable Elastic Load Balancing connection draining.
      • ebsVolumes

        public java.util.Optional<com.pulumi.core.Output<java.util.List<MysqlLayerEbsVolumeArgs>>> ebsVolumes()
        Returns:
        `ebs_volume` blocks, as described below, will each create an EBS volume and connect it to the layer's instances.
      • elasticLoadBalancer

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> elasticLoadBalancer()
        Returns:
        Name of an Elastic Load Balancer to attach to this layer
      • installUpdatesOnBoot

        public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> installUpdatesOnBoot()
        Returns:
        Whether to install OS and package updates on each instance when it boots.
      • instanceShutdownTimeout

        public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> instanceShutdownTimeout()
        Returns:
        The time, in seconds, that OpsWorks will wait for Chef to complete after triggering the Shutdown event.
      • name

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> name()
        Returns:
        A human-readable name for the layer.
      • rootPassword

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> rootPassword()
        Returns:
        Root password to use for MySQL.
      • rootPasswordOnAllInstances

        public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> rootPasswordOnAllInstances()
        Returns:
        Whether to set the root user password to all instances in the stack so they can access the instances in this layer.
      • stackId

        public com.pulumi.core.Output<java.lang.String> stackId()
        Returns:
        ID of the stack the layer will belong to.
      • systemPackages

        public java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>> systemPackages()
        Returns:
        Names of a set of system packages to install on the layer's instances.
      • tags

        public java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>>> tags()
        Returns:
        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:
      • useEbsOptimizedInstances

        public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> useEbsOptimizedInstances()
        Returns:
        Whether to use EBS-optimized instances.