The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Paws::ApplicationMigration::UpdateLaunchConfiguration - Arguments for method UpdateLaunchConfiguration on Paws::ApplicationMigration

DESCRIPTION

This class represents the parameters used for calling the method UpdateLaunchConfiguration on the Application Migration Service service. Use the attributes of this class as arguments to method UpdateLaunchConfiguration.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateLaunchConfiguration.

SYNOPSIS

my $mgn = Paws->service('ApplicationMigration');
my $LaunchConfiguration = $mgn->UpdateLaunchConfiguration(
  SourceServerID                      => 'MySourceServerID',
  CopyPrivateIp                       => 1,                       # OPTIONAL
  CopyTags                            => 1,                       # OPTIONAL
  LaunchDisposition                   => 'STOPPED',               # OPTIONAL
  Licensing                           => { OsByol => 1, },        # OPTIONAL
  Name                                => 'MySmallBoundedString',  # OPTIONAL
  TargetInstanceTypeRightSizingMethod => 'NONE',                  # OPTIONAL
);

# Results:
my $CopyPrivateIp       = $LaunchConfiguration->CopyPrivateIp;
my $CopyTags            = $LaunchConfiguration->CopyTags;
my $Ec2LaunchTemplateID = $LaunchConfiguration->Ec2LaunchTemplateID;
my $LaunchDisposition   = $LaunchConfiguration->LaunchDisposition;
my $Licensing           = $LaunchConfiguration->Licensing;
my $Name                = $LaunchConfiguration->Name;
my $SourceServerID      = $LaunchConfiguration->SourceServerID;
my $TargetInstanceTypeRightSizingMethod =
  $LaunchConfiguration->TargetInstanceTypeRightSizingMethod;

# Returns a L<Paws::ApplicationMigration::LaunchConfiguration> object.

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. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/mgn/UpdateLaunchConfiguration

ATTRIBUTES

CopyPrivateIp => Bool

Update Launch configuration copy Private IP request.

CopyTags => Bool

Update Launch configuration copy Tags request.

LaunchDisposition => Str

Update Launch configuration launch disposition request.

Valid values are: "STOPPED", "STARTED"

Licensing => Paws::ApplicationMigration::Licensing

Update Launch configuration licensing request.

Name => Str

Update Launch configuration name request.

REQUIRED SourceServerID => Str

Update Launch configuration by Source Server ID request.

TargetInstanceTypeRightSizingMethod => Str

Update Launch configuration Target instance right sizing request.

Valid values are: "NONE", "BASIC"

SEE ALSO

This class forms part of Paws, documenting arguments for method UpdateLaunchConfiguration in Paws::ApplicationMigration

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues