You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::SMS::Types::ServerValidationConfiguration

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing ServerValidationConfiguration as input to an Aws::Client method, you can use a vanilla Hash:

{
  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,
  },
  validation_id: "ValidationId",
  name: "NonEmptyStringWithMaxLen255",
  server_validation_strategy: "USERDATA", # accepts USERDATA
  user_data_validation_parameters: {
    source: {
      s3_location: {
        bucket: "S3BucketName",
        key: "S3KeyName",
      },
    },
    script_type: "SHELL_SCRIPT", # accepts SHELL_SCRIPT, POWERSHELL_SCRIPT
  },
}

Configuration for validating an instance.

Instance Attribute Summary collapse

Instance Attribute Details

#nameString

The name of the configuration.

Returns:

  • (String)

    The name of the configuration.

#serverTypes::Server

Represents a server.

Returns:

#server_validation_strategyString

The validation strategy.

Possible values:

  • USERDATA

Returns:

  • (String)

    The validation strategy.

#user_data_validation_parametersTypes::UserDataValidationParameters

The validation parameters.

Returns:

#validation_idString

The ID of the validation.

Returns:

  • (String)

    The ID of the validation.