Class: Aws::SMS::Types::ServerGroupLaunchConfiguration

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

Overview

Note:

When making an API call, you may pass ServerGroupLaunchConfiguration data as a hash:

{
  server_group_id: "ServerGroupId",
  launch_order: 1,
  server_launch_configurations: [
    {
      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
    },
  ],
}

Launch configuration for a server group.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#launch_orderInteger

The launch order of servers in the server group.

Returns:

  • (Integer)


2140
2141
2142
2143
2144
2145
2146
# File 'gems/aws-sdk-sms/lib/aws-sdk-sms/types.rb', line 2140

class ServerGroupLaunchConfiguration < Struct.new(
  :server_group_id,
  :launch_order,
  :server_launch_configurations)
  SENSITIVE = []
  include Aws::Structure
end

#server_group_idString

The ID of the server group with which the launch configuration is associated.

Returns:

  • (String)


2140
2141
2142
2143
2144
2145
2146
# File 'gems/aws-sdk-sms/lib/aws-sdk-sms/types.rb', line 2140

class ServerGroupLaunchConfiguration < Struct.new(
  :server_group_id,
  :launch_order,
  :server_launch_configurations)
  SENSITIVE = []
  include Aws::Structure
end

#server_launch_configurationsArray<Types::ServerLaunchConfiguration>

The launch configuration for servers in the server group.



2140
2141
2142
2143
2144
2145
2146
# File 'gems/aws-sdk-sms/lib/aws-sdk-sms/types.rb', line 2140

class ServerGroupLaunchConfiguration < Struct.new(
  :server_group_id,
  :launch_order,
  :server_launch_configurations)
  SENSITIVE = []
  include Aws::Structure
end