You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::SMS::Types::PutAppLaunchConfigurationRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::SMS::Types::PutAppLaunchConfigurationRequest
- Defined in:
- (unknown)
Overview
When passing PutAppLaunchConfigurationRequest as input to an Aws::Client method, you can use a vanilla 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
},
],
},
],
}
Instance Attribute Summary collapse
-
#app_id ⇒ String
The ID of the application.
-
#auto_launch ⇒ Boolean
Indicates whether the application is configured to launch automatically after replication is complete.
-
#role_name ⇒ String
The name of service role in the customer\'s account that AWS CloudFormation uses to launch the application.
-
#server_group_launch_configurations ⇒ Array<Types::ServerGroupLaunchConfiguration>
Information about the launch configurations for server groups in the application.
Instance Attribute Details
#app_id ⇒ String
The ID of the application.
#auto_launch ⇒ Boolean
Indicates whether the application is configured to launch automatically after replication is complete.
#role_name ⇒ String
The name of service role in the customer\'s account that AWS CloudFormation uses to launch the application.
#server_group_launch_configurations ⇒ Array<Types::ServerGroupLaunchConfiguration>
Information about the launch configurations for server groups in the application.