Class: Aws::GuardDuty::Types::CreateMalwareProtectionPlanRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-guardduty/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#actionsTypes::MalwareProtectionPlanActions

Information about whether the tags will be added to the S3 object after scanning.



1613
1614
1615
1616
1617
1618
1619
1620
1621
# File 'lib/aws-sdk-guardduty/types.rb', line 1613

class CreateMalwareProtectionPlanRequest < Struct.new(
  :client_token,
  :role,
  :protected_resource,
  :actions,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#client_tokenString

The idempotency token for the create request.

**A suitable default value is auto-generated.** You should normally not need to pass this option.

Returns:

  • (String)


1613
1614
1615
1616
1617
1618
1619
1620
1621
# File 'lib/aws-sdk-guardduty/types.rb', line 1613

class CreateMalwareProtectionPlanRequest < Struct.new(
  :client_token,
  :role,
  :protected_resource,
  :actions,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#protected_resourceTypes::CreateProtectedResource

Information about the protected resource that is associated with the created Malware Protection plan. Presently, ‘S3Bucket` is the only supported protected resource.



1613
1614
1615
1616
1617
1618
1619
1620
1621
# File 'lib/aws-sdk-guardduty/types.rb', line 1613

class CreateMalwareProtectionPlanRequest < Struct.new(
  :client_token,
  :role,
  :protected_resource,
  :actions,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#roleString

Amazon Resource Name (ARN) of the IAM role that has the permissions to scan and add tags to the associated protected resource.

Returns:

  • (String)


1613
1614
1615
1616
1617
1618
1619
1620
1621
# File 'lib/aws-sdk-guardduty/types.rb', line 1613

class CreateMalwareProtectionPlanRequest < Struct.new(
  :client_token,
  :role,
  :protected_resource,
  :actions,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#tagsHash<String,String>

Tags added to the Malware Protection plan resource.

Returns:

  • (Hash<String,String>)


1613
1614
1615
1616
1617
1618
1619
1620
1621
# File 'lib/aws-sdk-guardduty/types.rb', line 1613

class CreateMalwareProtectionPlanRequest < Struct.new(
  :client_token,
  :role,
  :protected_resource,
  :actions,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end