Class: Aws::SMS::Types::PutAppLaunchConfigurationRequest

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 PutAppLaunchConfigurationRequest data as a hash:

{
  app_id: "AppId",
  role_name: "RoleName",
  auto_launch: false,
  server_group_launch_configurations: [
    {
      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
        },
      ],
    },
  ],
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#app_idString

The ID of the application.

Returns:

  • (String)


1445
1446
1447
1448
1449
1450
1451
1452
# File 'gems/aws-sdk-sms/lib/aws-sdk-sms/types.rb', line 1445

class PutAppLaunchConfigurationRequest < Struct.new(
  :app_id,
  :role_name,
  :auto_launch,
  :server_group_launch_configurations)
  SENSITIVE = []
  include Aws::Structure
end

#auto_launchBoolean

Indicates whether the application is configured to launch automatically after replication is complete.

Returns:

  • (Boolean)


1445
1446
1447
1448
1449
1450
1451
1452
# File 'gems/aws-sdk-sms/lib/aws-sdk-sms/types.rb', line 1445

class PutAppLaunchConfigurationRequest < Struct.new(
  :app_id,
  :role_name,
  :auto_launch,
  :server_group_launch_configurations)
  SENSITIVE = []
  include Aws::Structure
end

#role_nameString

The name of service role in the customer's account that AWS CloudFormation uses to launch the application.

Returns:

  • (String)


1445
1446
1447
1448
1449
1450
1451
1452
# File 'gems/aws-sdk-sms/lib/aws-sdk-sms/types.rb', line 1445

class PutAppLaunchConfigurationRequest < Struct.new(
  :app_id,
  :role_name,
  :auto_launch,
  :server_group_launch_configurations)
  SENSITIVE = []
  include Aws::Structure
end

#server_group_launch_configurationsArray<Types::ServerGroupLaunchConfiguration>

Information about the launch configurations for server groups in the application.



1445
1446
1447
1448
1449
1450
1451
1452
# File 'gems/aws-sdk-sms/lib/aws-sdk-sms/types.rb', line 1445

class PutAppLaunchConfigurationRequest < Struct.new(
  :app_id,
  :role_name,
  :auto_launch,
  :server_group_launch_configurations)
  SENSITIVE = []
  include Aws::Structure
end