Class: Aws::SMS::Types::SSMValidationParameters

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 SSMValidationParameters data as a hash:

{
  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",
}

Contains validation parameters.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#commandString

The command to run the validation script

Returns:

  • (String)


1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
# File 'gems/aws-sdk-sms/lib/aws-sdk-sms/types.rb', line 1948

class SSMValidationParameters < Struct.new(
  :source,
  :instance_id,
  :script_type,
  :command,
  :execution_timeout_seconds,
  :output_s3_bucket_name)
  SENSITIVE = []
  include Aws::Structure
end

#execution_timeout_secondsInteger

The timeout interval, in seconds.

Returns:

  • (Integer)


1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
# File 'gems/aws-sdk-sms/lib/aws-sdk-sms/types.rb', line 1948

class SSMValidationParameters < Struct.new(
  :source,
  :instance_id,
  :script_type,
  :command,
  :execution_timeout_seconds,
  :output_s3_bucket_name)
  SENSITIVE = []
  include Aws::Structure
end

#instance_idString

The ID of the instance. The instance must have the following tag: UserForSMSApplicationValidation=true.

Returns:

  • (String)


1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
# File 'gems/aws-sdk-sms/lib/aws-sdk-sms/types.rb', line 1948

class SSMValidationParameters < Struct.new(
  :source,
  :instance_id,
  :script_type,
  :command,
  :execution_timeout_seconds,
  :output_s3_bucket_name)
  SENSITIVE = []
  include Aws::Structure
end

#output_s3_bucket_nameString

The name of the S3 bucket for output.

Returns:

  • (String)


1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
# File 'gems/aws-sdk-sms/lib/aws-sdk-sms/types.rb', line 1948

class SSMValidationParameters < Struct.new(
  :source,
  :instance_id,
  :script_type,
  :command,
  :execution_timeout_seconds,
  :output_s3_bucket_name)
  SENSITIVE = []
  include Aws::Structure
end

#script_typeString

The type of validation script.

Returns:

  • (String)


1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
# File 'gems/aws-sdk-sms/lib/aws-sdk-sms/types.rb', line 1948

class SSMValidationParameters < Struct.new(
  :source,
  :instance_id,
  :script_type,
  :command,
  :execution_timeout_seconds,
  :output_s3_bucket_name)
  SENSITIVE = []
  include Aws::Structure
end

#sourceTypes::Source

The location of the validation script.

Returns:



1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
# File 'gems/aws-sdk-sms/lib/aws-sdk-sms/types.rb', line 1948

class SSMValidationParameters < Struct.new(
  :source,
  :instance_id,
  :script_type,
  :command,
  :execution_timeout_seconds,
  :output_s3_bucket_name)
  SENSITIVE = []
  include Aws::Structure
end