You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::Lightsail::Types::CreateCloudFormationStackRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing CreateCloudFormationStackRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  instances: [ # required
    {
      source_name: "ResourceName", # required
      instance_type: "NonEmptyString", # required
      port_info_source: "DEFAULT", # required, accepts DEFAULT, INSTANCE, NONE, CLOSED
      user_data: "string",
      availability_zone: "string", # required
    },
  ],
}

Instance Attribute Summary collapse

Instance Attribute Details

#instancesArray<Types::InstanceEntry>

An array of parameters that will be used to create the new Amazon EC2 instance. You can only pass one instance entry at a time in this array. You will get an invalid parameter error if you pass more than one instance entry in this array.

Returns:

  • (Array<Types::InstanceEntry>)

    An array of parameters that will be used to create the new Amazon EC2 instance.