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

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#actions ⇒ Types::MalwareProtectionPlanActions

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



3940
3941
3942
3943
3944
3945
3946
3947
3948
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 3940

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

#client_token ⇒ String

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)


3940
3941
3942
3943
3944
3945
3946
3947
3948
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 3940

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

#protected_resource ⇒ Types::CreateProtectedResource

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



3940
3941
3942
3943
3944
3945
3946
3947
3948
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 3940

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

#role ⇒ String

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

Returns:

  • (String)


3940
3941
3942
3943
3944
3945
3946
3947
3948
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 3940

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

#tags ⇒ Hash<String,String>

Tags added to the Malware Protection plan resource.

Returns:

  • (Hash<String,String>)


3940
3941
3942
3943
3944
3945
3946
3947
3948
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 3940

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