SMS.Client.
get_app_launch_configuration
(**kwargs)¶Retrieves the application launch configuration associated with the specified application.
See also: AWS API Documentation
Request Syntax
response = client.get_app_launch_configuration(
appId='string'
)
{
'appId': 'string',
'roleName': 'string',
'autoLaunch': True|False,
'serverGroupLaunchConfigurations': [
{
'serverGroupId': 'string',
'launchOrder': 123,
'serverLaunchConfigurations': [
{
'server': {
'serverId': 'string',
'serverType': 'VIRTUAL_MACHINE',
'vmServer': {
'vmServerAddress': {
'vmManagerId': 'string',
'vmId': 'string'
},
'vmName': 'string',
'vmManagerName': 'string',
'vmManagerType': 'VSPHERE'|'SCVMM'|'HYPERV-MANAGER',
'vmPath': 'string'
},
'replicationJobId': 'string',
'replicationJobTerminated': True|False
},
'logicalId': 'string',
'vpc': 'string',
'subnet': 'string',
'securityGroup': 'string',
'ec2KeyName': 'string',
'userData': {
's3Location': {
'bucket': 'string',
'key': 'string'
}
},
'instanceType': 'string',
'associatePublicIpAddress': True|False,
'iamInstanceProfileName': 'string',
'configureScript': {
'bucket': 'string',
'key': 'string'
},
'configureScriptType': 'SHELL_SCRIPT'|'POWERSHELL_SCRIPT'
},
]
},
]
}
Response Structure
The ID of the application.
The name of the service role in the customer's account that CloudFormation uses to launch the application.
Indicates whether the application is configured to launch automatically after replication is complete.
The launch configurations for server groups in this application.
Launch configuration for a server group.
The ID of the server group with which the launch configuration is associated.
The launch order of servers in the server group.
The launch configuration for servers in the server group.
Launch configuration for a server.
The ID of the server with which the launch configuration is associated.
The ID of the server.
The type of server.
Information about the VM server.
The VM server location.
The ID of the VM manager.
The ID of the VM.
The name of the VM.
The name of the VM manager.
The type of VM management product.
The VM folder path in the vCenter Server virtual machine inventory tree.
The ID of the replication job.
Indicates whether the replication job is deleted or failed.
The logical ID of the server in the CloudFormation template.
The ID of the VPC into which the server should be launched.
The ID of the subnet the server should be launched into.
The ID of the security group that applies to the launched server.
The name of the Amazon EC2 SSH key to be used for connecting to the launched server.
Location of the user-data script to be executed when launching the server.
Amazon S3 location of the user-data script.
The Amazon S3 bucket name.
The Amazon S3 bucket key.
The instance type to use when launching the server.
Indicates whether a publicly accessible IP address is created when launching the server.
The name of the IAM instance profile.
Location of an Amazon S3 object.
The Amazon S3 bucket name.
The Amazon S3 bucket key.
The type of configuration script.
Exceptions
SMS.Client.exceptions.UnauthorizedOperationException
SMS.Client.exceptions.InvalidParameterException
SMS.Client.exceptions.MissingRequiredParameterException
SMS.Client.exceptions.InternalError
SMS.Client.exceptions.OperationNotPermittedException