AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Class: Aws::SMS::Types::PutAppValidationConfigurationRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-sms/lib/aws-sdk-sms/types.rb

Overview

Note:

When making an API call, you may pass PutAppValidationConfigurationRequest data as a hash:

{
  app_id: "AppIdWithValidation", # required
  app_validation_configurations: [
    {
      validation_id: "ValidationId",
      name: "NonEmptyStringWithMaxLen255",
      app_validation_strategy: "SSM", # accepts SSM
      ssm_validation_parameters: {
        source: {
          s3_location: {
            bucket: "S3BucketName",
            key: "S3KeyName",
          },
        },
        instance_id: "InstanceId",
        script_type: "SHELL_SCRIPT", # accepts SHELL_SCRIPT, POWERSHELL_SCRIPT
        command: "Command",
        execution_timeout_seconds: 1,
        output_s3_bucket_name: "BucketName",
      },
    },
  ],
  server_group_validation_configurations: [
    {
      server_group_id: "ServerGroupId",
      server_validation_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,
          },
          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
          },
        },
      ],
    },
  ],
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#app_idString

The ID of the application.

Returns:

  • (String)


1599
1600
1601
1602
1603
1604
1605
# File 'gems/aws-sdk-sms/lib/aws-sdk-sms/types.rb', line 1599

class PutAppValidationConfigurationRequest < Struct.new(
  :app_id,
  :app_validation_configurations,
  :server_group_validation_configurations)
  SENSITIVE = []
  include Aws::Structure
end

#app_validation_configurationsArray<Types::AppValidationConfiguration>

The configuration for application validation.



1599
1600
1601
1602
1603
1604
1605
# File 'gems/aws-sdk-sms/lib/aws-sdk-sms/types.rb', line 1599

class PutAppValidationConfigurationRequest < Struct.new(
  :app_id,
  :app_validation_configurations,
  :server_group_validation_configurations)
  SENSITIVE = []
  include Aws::Structure
end

#server_group_validation_configurationsArray<Types::ServerGroupValidationConfiguration>

The configuration for instance validation.



1599
1600
1601
1602
1603
1604
1605
# File 'gems/aws-sdk-sms/lib/aws-sdk-sms/types.rb', line 1599

class PutAppValidationConfigurationRequest < Struct.new(
  :app_id,
  :app_validation_configurations,
  :server_group_validation_configurations)
  SENSITIVE = []
  include Aws::Structure
end