Class: Aws::CloudTrail::Types::UpdateEventDataStoreRequest

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

Overview

Note:

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

{
  event_data_store: "EventDataStoreArn", # required
  name: "EventDataStoreName",
  advanced_event_selectors: [
    {
      name: "SelectorName",
      field_selectors: [ # required
        {
          field: "SelectorField", # required
          equals: ["OperatorValue"],
          starts_with: ["OperatorValue"],
          ends_with: ["OperatorValue"],
          not_equals: ["OperatorValue"],
          not_starts_with: ["OperatorValue"],
          not_ends_with: ["OperatorValue"],
        },
      ],
    },
  ],
  multi_region_enabled: false,
  organization_enabled: false,
  retention_period: 1,
  termination_protection_enabled: false,
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#advanced_event_selectorsArray<Types::AdvancedEventSelector>

The advanced event selectors used to select events for the event data store. You can configure up to five advanced event selectors for each event data store.

Returns:


4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
# File 'lib/aws-sdk-cloudtrail/types.rb', line 4250

class UpdateEventDataStoreRequest < Struct.new(
  :event_data_store,
  :name,
  :advanced_event_selectors,
  :multi_region_enabled,
  :organization_enabled,
  :retention_period,
  :termination_protection_enabled)
  SENSITIVE = []
  include Aws::Structure
end

#event_data_storeString

The ARN (or the ID suffix of the ARN) of the event data store that you want to update.

Returns:

  • (String)

4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
# File 'lib/aws-sdk-cloudtrail/types.rb', line 4250

class UpdateEventDataStoreRequest < Struct.new(
  :event_data_store,
  :name,
  :advanced_event_selectors,
  :multi_region_enabled,
  :organization_enabled,
  :retention_period,
  :termination_protection_enabled)
  SENSITIVE = []
  include Aws::Structure
end

#multi_region_enabledBoolean

Specifies whether an event data store collects events from all regions, or only from the region in which it was created.

Returns:

  • (Boolean)

4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
# File 'lib/aws-sdk-cloudtrail/types.rb', line 4250

class UpdateEventDataStoreRequest < Struct.new(
  :event_data_store,
  :name,
  :advanced_event_selectors,
  :multi_region_enabled,
  :organization_enabled,
  :retention_period,
  :termination_protection_enabled)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

The event data store name.

Returns:

  • (String)

4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
# File 'lib/aws-sdk-cloudtrail/types.rb', line 4250

class UpdateEventDataStoreRequest < Struct.new(
  :event_data_store,
  :name,
  :advanced_event_selectors,
  :multi_region_enabled,
  :organization_enabled,
  :retention_period,
  :termination_protection_enabled)
  SENSITIVE = []
  include Aws::Structure
end

#organization_enabledBoolean

Specifies whether an event data store collects events logged for an organization in Organizations.

Returns:

  • (Boolean)

4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
# File 'lib/aws-sdk-cloudtrail/types.rb', line 4250

class UpdateEventDataStoreRequest < Struct.new(
  :event_data_store,
  :name,
  :advanced_event_selectors,
  :multi_region_enabled,
  :organization_enabled,
  :retention_period,
  :termination_protection_enabled)
  SENSITIVE = []
  include Aws::Structure
end

#retention_periodInteger

The retention period, in days.

Returns:

  • (Integer)

4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
# File 'lib/aws-sdk-cloudtrail/types.rb', line 4250

class UpdateEventDataStoreRequest < Struct.new(
  :event_data_store,
  :name,
  :advanced_event_selectors,
  :multi_region_enabled,
  :organization_enabled,
  :retention_period,
  :termination_protection_enabled)
  SENSITIVE = []
  include Aws::Structure
end

#termination_protection_enabledBoolean

Indicates that termination protection is enabled and the event data store cannot be automatically deleted.

Returns:

  • (Boolean)

4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
# File 'lib/aws-sdk-cloudtrail/types.rb', line 4250

class UpdateEventDataStoreRequest < Struct.new(
  :event_data_store,
  :name,
  :advanced_event_selectors,
  :multi_region_enabled,
  :organization_enabled,
  :retention_period,
  :termination_protection_enabled)
  SENSITIVE = []
  include Aws::Structure
end