AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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

Class: Aws::SMS::Types::ServerLaunchConfiguration

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

Overview

Note:

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

{
  server: {
    server_id: "ServerId",
    server_type: "VIRTUAL_MACHINE", # accepts VIRTUAL_MACHINE
    vm_server: {
      vm_server_address: {
        vm_manager_id: "VmManagerId",
        vm_id: "VmId",
      },
      vm_name: "VmName",
      vm_manager_name: "VmManagerName",
      vm_manager_type: "VSPHERE", # accepts VSPHERE, SCVMM, HYPERV-MANAGER
      vm_path: "VmPath",
    },
    replication_job_id: "ReplicationJobId",
    replication_job_terminated: false,
  },
  logical_id: "LogicalId",
  vpc: "VPC",
  subnet: "Subnet",
  security_group: "SecurityGroup",
  ec2_key_name: "EC2KeyName",
  user_data: {
    s3_location: {
      bucket: "BucketName",
      key: "KeyName",
    },
  },
  instance_type: "InstanceType",
  associate_public_ip_address: false,
}

Launch configuration for a server.

Instance Attribute Summary collapse

Instance Attribute Details

#associate_public_ip_addressBoolean

If true, a publicly accessible IP address is created when launching the server.

Returns:

  • (Boolean)

    If true, a publicly accessible IP address is created when launching the server.

#ec2_key_nameString

Name of the EC2 SSH Key to be used for connecting to the launched server.

Returns:

  • (String)

    Name of the EC2 SSH Key to be used for connecting to the launched server.

#instance_typeString

Instance type to be used for launching the server.

Returns:

  • (String)

    Instance type to be used for launching the server.

#logical_idString

Logical ID of the server in the Amazon CloudFormation template.

Returns:

  • (String)

    Logical ID of the server in the Amazon CloudFormation template.

#security_groupString

Identifier of the security group that applies to the launched server.

Returns:

  • (String)

    Identifier of the security group that applies to the launched server.

#serverTypes::Server

Identifier of the server the launch configuration is associated with.

Returns:

  • (Types::Server)

    Identifier of the server the launch configuration is associated with.

#subnetString

Identifier of the subnet the server should be launched into.

Returns:

  • (String)

    Identifier of the subnet the server should be launched into.

#user_dataTypes::UserData

Location of the user-data script to be executed when launching the server.

Returns:

  • (Types::UserData)

    Location of the user-data script to be executed when launching the server.

#vpcString

Identifier of the VPC the server should be launched into.

Returns:

  • (String)

    Identifier of the VPC the server should be launched into.