class Aws::SMS::Types::ServerLaunchConfiguration

Launch configuration for a server.

@note When making an API call, you may pass ServerLaunchConfiguration

data as a 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: "S3BucketName",
          key: "S3KeyName",
        },
      },
      instance_type: "InstanceType",
      associate_public_ip_address: false,
      iam_instance_profile_name: "RoleName",
      configure_script: {
        bucket: "S3BucketName",
        key: "S3KeyName",
      },
      configure_script_type: "SHELL_SCRIPT", # accepts SHELL_SCRIPT, POWERSHELL_SCRIPT
    }

@!attribute [rw] server

The ID of the server with which the launch configuration is
associated.
@return [Types::Server]

@!attribute [rw] logical_id

The logical ID of the server in the AWS CloudFormation template.
@return [String]

@!attribute [rw] vpc

The ID of the VPC into which the server should be launched.
@return [String]

@!attribute [rw] subnet

The ID of the subnet the server should be launched into.
@return [String]

@!attribute [rw] security_group

The ID of the security group that applies to the launched server.
@return [String]

@!attribute [rw] ec2_key_name

The name of the Amazon EC2 SSH key to be used for connecting to the
launched server.
@return [String]

@!attribute [rw] user_data

Location of the user-data script to be executed when launching the
server.
@return [Types::UserData]

@!attribute [rw] instance_type

The instance type to use when launching the server.
@return [String]

@!attribute [rw] associate_public_ip_address

Indicates whether a publicly accessible IP address is created when
launching the server.
@return [Boolean]

@!attribute [rw] iam_instance_profile_name

The name of the IAM instance profile.
@return [String]

@!attribute [rw] configure_script

Location of an Amazon S3 object.
@return [Types::S3Location]

@!attribute [rw] configure_script_type

The type of configuration script.
@return [String]

@see docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/ServerLaunchConfiguration AWS API Documentation

Constants

SENSITIVE