Class: Aws::Assurance::Types::PutEvidenceInput

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

Overview

Input for PutEvidence.

Constant Summary collapse

SENSITIVE =
[:content, :title, :description, :reference]

Instance Attribute Summary collapse

Instance Attribute Details

#connection_id ⇒ String

The ID of the connection to read reference through, as returned by ListEnvironmentConnections. Each new version of the document uses this connection too.

Use this parameter only with reference.

If you omit this parameter, the operation uses the single connection that can read the document. If the environment has more than one connection to the same provider, specify this parameter.

Returns:

  • (String)


6200
6201
6202
6203
6204
6205
6206
6207
6208
6209
6210
6211
6212
6213
6214
6215
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/types.rb', line 6200

class PutEvidenceInput < Struct.new(
  :environment_arn,
  :content,
  :title,
  :description,
  :evidence_id,
  :content_mime_type,
  :project,
  :reference,
  :connection_id,
  :control_references,
  :link_mode,
  :purpose)
  SENSITIVE = [:content, :title, :description, :reference]
  include Aws::Structure
end

#content ⇒ String

The file content. Required for a direct upload. You can't specify both content and reference.

Returns:

  • (String)


6200
6201
6202
6203
6204
6205
6206
6207
6208
6209
6210
6211
6212
6213
6214
6215
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/types.rb', line 6200

class PutEvidenceInput < Struct.new(
  :environment_arn,
  :content,
  :title,
  :description,
  :evidence_id,
  :content_mime_type,
  :project,
  :reference,
  :connection_id,
  :control_references,
  :link_mode,
  :purpose)
  SENSITIVE = [:content, :title, :description, :reference]
  include Aws::Structure
end

#content_mime_type ⇒ String

The declared Multipurpose Internet Mail Extensions (MIME) type of the file, for example application/pdf. AWS Assurance checks the declared type against the actual file content. For the list of registered types, see Media Types on the IANA website.

Returns:

  • (String)


6200
6201
6202
6203
6204
6205
6206
6207
6208
6209
6210
6211
6212
6213
6214
6215
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/types.rb', line 6200

class PutEvidenceInput < Struct.new(
  :environment_arn,
  :content,
  :title,
  :description,
  :evidence_id,
  :content_mime_type,
  :project,
  :reference,
  :connection_id,
  :control_references,
  :link_mode,
  :purpose)
  SENSITIVE = [:content, :title, :description, :reference]
  include Aws::Structure
end

#control_references ⇒ Array<Types::ControlReference>

The controls to link the evidence to when you add it. You can specify control links only when purpose is CONTROL_EVIDENCE.

Returns:



6200
6201
6202
6203
6204
6205
6206
6207
6208
6209
6210
6211
6212
6213
6214
6215
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/types.rb', line 6200

class PutEvidenceInput < Struct.new(
  :environment_arn,
  :content,
  :title,
  :description,
  :evidence_id,
  :content_mime_type,
  :project,
  :reference,
  :connection_id,
  :control_references,
  :link_mode,
  :purpose)
  SENSITIVE = [:content, :title, :description, :reference]
  include Aws::Structure
end

#description ⇒ String

The optional description of the evidence.

Returns:

  • (String)


6200
6201
6202
6203
6204
6205
6206
6207
6208
6209
6210
6211
6212
6213
6214
6215
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/types.rb', line 6200

class PutEvidenceInput < Struct.new(
  :environment_arn,
  :content,
  :title,
  :description,
  :evidence_id,
  :content_mime_type,
  :project,
  :reference,
  :connection_id,
  :control_references,
  :link_mode,
  :purpose)
  SENSITIVE = [:content, :title, :description, :reference]
  include Aws::Structure
end

#environment_arn ⇒ String

The Amazon Resource Name (ARN) of this governance environment.

Returns:

  • (String)


6200
6201
6202
6203
6204
6205
6206
6207
6208
6209
6210
6211
6212
6213
6214
6215
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/types.rb', line 6200

class PutEvidenceInput < Struct.new(
  :environment_arn,
  :content,
  :title,
  :description,
  :evidence_id,
  :content_mime_type,
  :project,
  :reference,
  :connection_id,
  :control_references,
  :link_mode,
  :purpose)
  SENSITIVE = [:content, :title, :description, :reference]
  include Aws::Structure
end

#evidence_id ⇒ String

The ID of existing evidence. Specify it to add a new version of that evidence. Omit it to create new evidence.

Returns:

  • (String)


6200
6201
6202
6203
6204
6205
6206
6207
6208
6209
6210
6211
6212
6213
6214
6215
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/types.rb', line 6200

class PutEvidenceInput < Struct.new(
  :environment_arn,
  :content,
  :title,
  :description,
  :evidence_id,
  :content_mime_type,
  :project,
  :reference,
  :connection_id,
  :control_references,
  :link_mode,
  :purpose)
  SENSITIVE = [:content, :title, :description, :reference]
  include Aws::Structure
end

Specifies whether AWS Assurance analyzes the evidence and links it to relevant controls. A link shows that the evidence is relevant to a control, not that you meet the control. An assessment determines whether you meet the control. Specify one of the following values:

  • AUTO – AWS Assurance analyzes the evidence and adds control links.

  • MANUAL – AWS Assurance doesn't analyze the evidence. You add control links yourself.

Automatic linking is available only to some accounts during the preview. If you omit this parameter, the default is AUTO for those accounts and MANUAL for all other accounts. Evidence whose purpose isn't CONTROL_EVIDENCE always has the mode DISABLED, which means that it can't be linked to controls. You can't specify AUTO for that evidence.

Returns:

  • (String)


6200
6201
6202
6203
6204
6205
6206
6207
6208
6209
6210
6211
6212
6213
6214
6215
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/types.rb', line 6200

class PutEvidenceInput < Struct.new(
  :environment_arn,
  :content,
  :title,
  :description,
  :evidence_id,
  :content_mime_type,
  :project,
  :reference,
  :connection_id,
  :control_references,
  :link_mode,
  :purpose)
  SENSITIVE = [:content, :title, :description, :reference]
  include Aws::Structure
end

#project ⇒ String

Project scope for the evidence.

Returns:

  • (String)


6200
6201
6202
6203
6204
6205
6206
6207
6208
6209
6210
6211
6212
6213
6214
6215
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/types.rb', line 6200

class PutEvidenceInput < Struct.new(
  :environment_arn,
  :content,
  :title,
  :description,
  :evidence_id,
  :content_mime_type,
  :project,
  :reference,
  :connection_id,
  :control_references,
  :link_mode,
  :purpose)
  SENSITIVE = [:content, :title, :description, :reference]
  include Aws::Structure
end

#purpose ⇒ String

What the evidence is for. Specify one of the following values:

  • CONTROL_EVIDENCE – Evidence that supports controls.

  • FRAMEWORK_SOURCE – The document that you create a custom framework from. AWS Assurance never links this evidence to controls.

You can't specify SCAN_EVIDENCE. If you omit this parameter, a new version keeps the purpose of the existing evidence, and new evidence uses CONTROL_EVIDENCE. You can't change the purpose in a new version.

Returns:

  • (String)


6200
6201
6202
6203
6204
6205
6206
6207
6208
6209
6210
6211
6212
6213
6214
6215
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/types.rb', line 6200

class PutEvidenceInput < Struct.new(
  :environment_arn,
  :content,
  :title,
  :description,
  :evidence_id,
  :content_mime_type,
  :project,
  :reference,
  :connection_id,
  :control_references,
  :link_mode,
  :purpose)
  SENSITIVE = [:content, :title, :description, :reference]
  include Aws::Structure
end

#reference ⇒ String

A link to the document. You can't specify both reference and content. Supported formats:

  • For a file in GitHub, a link in the form https://github.com/{owner" target="_parent" title="owner">https://github.com/{owner</a>">owner">https://github.com/{owner/repo/blob/ref/path.

  • For a document in SharePoint, any link to the document in the form https://{tenant" target="_parent" title="tenant">https://{tenant</a>">tenant">https://{tenant.sharepoint.com/path, including a sharing link.

  • For an object in Amazon S3, a URI in the form s3://bucket/key. The bucket must be the evidence bucket configured for the environment.

Returns:

  • (String)


6200
6201
6202
6203
6204
6205
6206
6207
6208
6209
6210
6211
6212
6213
6214
6215
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/types.rb', line 6200

class PutEvidenceInput < Struct.new(
  :environment_arn,
  :content,
  :title,
  :description,
  :evidence_id,
  :content_mime_type,
  :project,
  :reference,
  :connection_id,
  :control_references,
  :link_mode,
  :purpose)
  SENSITIVE = [:content, :title, :description, :reference]
  include Aws::Structure
end

#title ⇒ String

The title of the evidence. When you create new evidence, AWS Assurance derives the evidence ID from the title, in the form assurance://{sanitized-title}.

Required when you specify content. Optional when you specify reference. If you omit it, AWS Assurance uses the name of the referenced document.

Returns:

  • (String)


6200
6201
6202
6203
6204
6205
6206
6207
6208
6209
6210
6211
6212
6213
6214
6215
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/types.rb', line 6200

class PutEvidenceInput < Struct.new(
  :environment_arn,
  :content,
  :title,
  :description,
  :evidence_id,
  :content_mime_type,
  :project,
  :reference,
  :connection_id,
  :control_references,
  :link_mode,
  :purpose)
  SENSITIVE = [:content, :title, :description, :reference]
  include Aws::Structure
end