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

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb

Overview

Note:

When making an API call, you may pass CreateCloudFormationStackRequest data as a 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:



872
873
874
875
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 872

class CreateCloudFormationStackRequest < Struct.new(
  :instances)
  include Aws::Structure
end