« blib/lib/Paws/SMS/NotifyAppValidationOutputResponse.pm
↑ Summary
blib/lib/Paws/SMS/PutAppLaunchConfigurationResponse.pm »
| 1 | |||
| 2 | package Paws::SMS::PutAppLaunchConfiguration; | ||
| 3 | use Moose; | ||
| 4 | has AppId => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'appId' ); | ||
| 5 | has AutoLaunch => (is => 'ro', isa => 'Bool', traits => ['NameInRequest'], request_name => 'autoLaunch' ); | ||
| 6 | has RoleName => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'roleName' ); | ||
| 7 | has ServerGroupLaunchConfigurations => (is => 'ro', isa => 'ArrayRef[Paws::SMS::ServerGroupLaunchConfiguration]', traits => ['NameInRequest'], request_name => 'serverGroupLaunchConfigurations' ); | ||
| 8 | |||
| 9 | use MooseX::ClassAttribute; | ||
| 10 | |||
| 11 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'PutAppLaunchConfiguration'); | ||
| 12 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::SMS::PutAppLaunchConfigurationResponse'); | ||
| 13 | class_has _result_key => (isa => 'Str', is => 'ro'); | ||
| 14 | 1; | ||
| 15 | |||
| 16 | ### main pod documentation begin ### | ||
| 17 | |||
| 18 | =head1 NAME | ||
| 19 | |||
| 20 | Paws::SMS::PutAppLaunchConfiguration - Arguments for method PutAppLaunchConfiguration on L<Paws::SMS> | ||
| 21 | |||
| 22 | =head1 DESCRIPTION | ||
| 23 | |||
| 24 | This class represents the parameters used for calling the method PutAppLaunchConfiguration on the | ||
| 25 | L<AWS Server Migration Service|Paws::SMS> service. Use the attributes of this class | ||
| 26 | as arguments to method PutAppLaunchConfiguration. | ||
| 27 | |||
| 28 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to PutAppLaunchConfiguration. | ||
| 29 | |||
| 30 | =head1 SYNOPSIS | ||
| 31 | |||
| 32 | my $sms = Paws->service('SMS'); | ||
| 33 | my $PutAppLaunchConfigurationResponse = $sms->PutAppLaunchConfiguration( | ||
| 34 | AppId => 'MyAppId', # OPTIONAL | ||
| 35 | AutoLaunch => 1, # OPTIONAL | ||
| 36 | RoleName => 'MyRoleName', # OPTIONAL | ||
| 37 | ServerGroupLaunchConfigurations => [ | ||
| 38 | { | ||
| 39 | LaunchOrder => 1, # OPTIONAL | ||
| 40 | ServerGroupId => 'MyServerGroupId', # OPTIONAL | ||
| 41 | ServerLaunchConfigurations => [ | ||
| 42 | { | ||
| 43 | AssociatePublicIpAddress => 1, # OPTIONAL | ||
| 44 | ConfigureScript => { | ||
| 45 | Bucket => 'MyS3BucketName', # min: 3, max: 63; OPTIONAL | ||
| 46 | Key => 'MyS3KeyName', # max: 1024; OPTIONAL | ||
| 47 | }, # OPTIONAL | ||
| 48 | ConfigureScriptType => 'SHELL_SCRIPT' | ||
| 49 | , # values: SHELL_SCRIPT, POWERSHELL_SCRIPT; OPTIONAL | ||
| 50 | Ec2KeyName => 'MyEC2KeyName', # OPTIONAL | ||
| 51 | IamInstanceProfileName => 'MyRoleName', | ||
| 52 | InstanceType => 'MyInstanceType', # OPTIONAL | ||
| 53 | LogicalId => 'MyLogicalId', # OPTIONAL | ||
| 54 | SecurityGroup => 'MySecurityGroup', # OPTIONAL | ||
| 55 | Server => { | ||
| 56 | ReplicationJobId => 'MyReplicationJobId', # OPTIONAL | ||
| 57 | ReplicationJobTerminated => 1, # OPTIONAL | ||
| 58 | ServerId => 'MyServerId', # OPTIONAL | ||
| 59 | ServerType => | ||
| 60 | 'VIRTUAL_MACHINE', # values: VIRTUAL_MACHINE; OPTIONAL | ||
| 61 | VmServer => { | ||
| 62 | VmManagerName => 'MyVmManagerName', # OPTIONAL | ||
| 63 | VmManagerType => 'VSPHERE' | ||
| 64 | , # values: VSPHERE, SCVMM, HYPERV-MANAGER; OPTIONAL | ||
| 65 | VmName => 'MyVmName', # OPTIONAL | ||
| 66 | VmPath => 'MyVmPath', # OPTIONAL | ||
| 67 | VmServerAddress => { | ||
| 68 | VmId => 'MyVmId', # OPTIONAL | ||
| 69 | VmManagerId => 'MyVmManagerId', # OPTIONAL | ||
| 70 | }, # OPTIONAL | ||
| 71 | }, # OPTIONAL | ||
| 72 | }, # OPTIONAL | ||
| 73 | Subnet => 'MySubnet', # OPTIONAL | ||
| 74 | UserData => { | ||
| 75 | S3Location => { | ||
| 76 | Bucket => 'MyS3BucketName', # min: 3, max: 63; OPTIONAL | ||
| 77 | Key => 'MyS3KeyName', # max: 1024; OPTIONAL | ||
| 78 | }, # OPTIONAL | ||
| 79 | }, # OPTIONAL | ||
| 80 | Vpc => 'MyVPC', # OPTIONAL | ||
| 81 | }, | ||
| 82 | ... | ||
| 83 | ], # OPTIONAL | ||
| 84 | }, | ||
| 85 | ... | ||
| 86 | ], # OPTIONAL | ||
| 87 | ); | ||
| 88 | |||
| 89 | Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. | ||
| 90 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/sms/PutAppLaunchConfiguration> | ||
| 91 | |||
| 92 | =head1 ATTRIBUTES | ||
| 93 | |||
| 94 | |||
| 95 | =head2 AppId => Str | ||
| 96 | |||
| 97 | The ID of the application. | ||
| 98 | |||
| 99 | |||
| 100 | |||
| 101 | =head2 AutoLaunch => Bool | ||
| 102 | |||
| 103 | Indicates whether the application is configured to launch automatically | ||
| 104 | after replication is complete. | ||
| 105 | |||
| 106 | |||
| 107 | |||
| 108 | =head2 RoleName => Str | ||
| 109 | |||
| 110 | The name of service role in the customer's account that AWS | ||
| 111 | CloudFormation uses to launch the application. | ||
| 112 | |||
| 113 | |||
| 114 | |||
| 115 | =head2 ServerGroupLaunchConfigurations => ArrayRef[L<Paws::SMS::ServerGroupLaunchConfiguration>] | ||
| 116 | |||
| 117 | Information about the launch configurations for server groups in the | ||
| 118 | application. | ||
| 119 | |||
| 120 | |||
| 121 | |||
| 122 | |||
| 123 | =head1 SEE ALSO | ||
| 124 | |||
| 125 | This class forms part of L<Paws>, documenting arguments for method PutAppLaunchConfiguration in L<Paws::SMS> | ||
| 126 | |||
| 127 | =head1 BUGS and CONTRIBUTIONS | ||
| 128 | |||
| 129 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 130 | |||
| 131 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 132 | |||
| 133 | =cut | ||
| 134 |