Class: Humidifier::CloudTrail::Trail
- Defined in:
- lib/humidifier/magic.rb
Overview
A dynamically-defined class that represents an AWS::CloudTrail::Trail resource
Constant Summary
Constants inherited from Resource
Instance Method Summary collapse
-
#cloud_watch_logs_log_group_arn ⇒ Object
returns the CloudWatchLogsLogGroupArn property.
-
#cloud_watch_logs_log_group_arn=(value) ⇒ Object
sets the CloudWatchLogsLogGroupArn property (String).
-
#cloud_watch_logs_role_arn ⇒ Object
returns the CloudWatchLogsRoleArn property.
-
#cloud_watch_logs_role_arn=(value) ⇒ Object
sets the CloudWatchLogsRoleArn property (String).
-
#enable_log_file_validation ⇒ Object
returns the EnableLogFileValidation property.
-
#enable_log_file_validation=(value) ⇒ Object
sets the EnableLogFileValidation property (Boolean).
-
#event_selectors ⇒ Object
returns the EventSelectors property.
-
#event_selectors=(value) ⇒ Object
sets the EventSelectors property (List).
-
#include_global_service_events ⇒ Object
returns the IncludeGlobalServiceEvents property.
-
#include_global_service_events=(value) ⇒ Object
sets the IncludeGlobalServiceEvents property (Boolean).
-
#insight_selectors ⇒ Object
returns the InsightSelectors property.
-
#insight_selectors=(value) ⇒ Object
sets the InsightSelectors property (List).
-
#is_logging ⇒ Object
returns the IsLogging property.
-
#is_logging=(value) ⇒ Object
sets the IsLogging property (Boolean).
-
#is_multi_region_trail ⇒ Object
returns the IsMultiRegionTrail property.
-
#is_multi_region_trail=(value) ⇒ Object
sets the IsMultiRegionTrail property (Boolean).
-
#is_organization_trail ⇒ Object
returns the IsOrganizationTrail property.
-
#is_organization_trail=(value) ⇒ Object
sets the IsOrganizationTrail property (Boolean).
-
#kms_key_id ⇒ Object
returns the KMSKeyId property.
-
#kms_key_id=(value) ⇒ Object
sets the KMSKeyId property (String).
-
#s3_bucket_name ⇒ Object
returns the S3BucketName property.
-
#s3_bucket_name=(value) ⇒ Object
sets the S3BucketName property (String).
-
#s3_key_prefix ⇒ Object
returns the S3KeyPrefix property.
-
#s3_key_prefix=(value) ⇒ Object
sets the S3KeyPrefix property (String).
-
#sns_topic_name ⇒ Object
returns the SnsTopicName property.
-
#sns_topic_name=(value) ⇒ Object
sets the SnsTopicName property (String).
-
#tags ⇒ Object
returns the Tags property.
-
#tags=(value) ⇒ Object
sets the Tags property (List).
-
#trail_name ⇒ Object
returns the TrailName property.
-
#trail_name=(value) ⇒ Object
sets the TrailName property (String).
Methods inherited from Resource
#initialize, #method_missing, prop?, #respond_to_missing?, #to_cf, #update, #update_attributes, #update_property
Constructor Details
This class inherits a constructor from Humidifier::Resource
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Humidifier::Resource
Instance Method Details
#cloud_watch_logs_log_group_arn ⇒ Object
returns the CloudWatchLogsLogGroupArn property
10 11 12 |
# File 'lib/humidifier/magic.rb', line 10 def cloud_watch_logs_log_group_arn properties['cloud_watch_logs_log_group_arn'] end |
#cloud_watch_logs_log_group_arn=(value) ⇒ Object
sets the CloudWatchLogsLogGroupArn property (String)
15 16 17 |
# File 'lib/humidifier/magic.rb', line 15 def cloud_watch_logs_log_group_arn=(value) update_property('cloud_watch_logs_log_group_arn', value) end |
#cloud_watch_logs_role_arn ⇒ Object
returns the CloudWatchLogsRoleArn property
20 21 22 |
# File 'lib/humidifier/magic.rb', line 20 def cloud_watch_logs_role_arn properties['cloud_watch_logs_role_arn'] end |
#cloud_watch_logs_role_arn=(value) ⇒ Object
sets the CloudWatchLogsRoleArn property (String)
25 26 27 |
# File 'lib/humidifier/magic.rb', line 25 def cloud_watch_logs_role_arn=(value) update_property('cloud_watch_logs_role_arn', value) end |
#enable_log_file_validation ⇒ Object
returns the EnableLogFileValidation property
30 31 32 |
# File 'lib/humidifier/magic.rb', line 30 def enable_log_file_validation properties['enable_log_file_validation'] end |
#enable_log_file_validation=(value) ⇒ Object
sets the EnableLogFileValidation property (Boolean)
35 36 37 |
# File 'lib/humidifier/magic.rb', line 35 def enable_log_file_validation=(value) update_property('enable_log_file_validation', value) end |
#event_selectors ⇒ Object
returns the EventSelectors property
40 41 42 |
# File 'lib/humidifier/magic.rb', line 40 def event_selectors properties['event_selectors'] end |
#event_selectors=(value) ⇒ Object
sets the EventSelectors property (List)
45 46 47 |
# File 'lib/humidifier/magic.rb', line 45 def event_selectors=(value) update_property('event_selectors', value) end |
#include_global_service_events ⇒ Object
returns the IncludeGlobalServiceEvents property
50 51 52 |
# File 'lib/humidifier/magic.rb', line 50 def include_global_service_events properties['include_global_service_events'] end |
#include_global_service_events=(value) ⇒ Object
sets the IncludeGlobalServiceEvents property (Boolean)
55 56 57 |
# File 'lib/humidifier/magic.rb', line 55 def include_global_service_events=(value) update_property('include_global_service_events', value) end |
#insight_selectors ⇒ Object
returns the InsightSelectors property
60 61 62 |
# File 'lib/humidifier/magic.rb', line 60 def insight_selectors properties['insight_selectors'] end |
#insight_selectors=(value) ⇒ Object
sets the InsightSelectors property (List)
65 66 67 |
# File 'lib/humidifier/magic.rb', line 65 def insight_selectors=(value) update_property('insight_selectors', value) end |
#is_logging ⇒ Object
returns the IsLogging property
70 71 72 |
# File 'lib/humidifier/magic.rb', line 70 def is_logging properties['is_logging'] end |
#is_logging=(value) ⇒ Object
sets the IsLogging property (Boolean)
75 76 77 |
# File 'lib/humidifier/magic.rb', line 75 def is_logging=(value) update_property('is_logging', value) end |
#is_multi_region_trail ⇒ Object
returns the IsMultiRegionTrail property
80 81 82 |
# File 'lib/humidifier/magic.rb', line 80 def is_multi_region_trail properties['is_multi_region_trail'] end |
#is_multi_region_trail=(value) ⇒ Object
sets the IsMultiRegionTrail property (Boolean)
85 86 87 |
# File 'lib/humidifier/magic.rb', line 85 def is_multi_region_trail=(value) update_property('is_multi_region_trail', value) end |
#is_organization_trail ⇒ Object
returns the IsOrganizationTrail property
90 91 92 |
# File 'lib/humidifier/magic.rb', line 90 def is_organization_trail properties['is_organization_trail'] end |
#is_organization_trail=(value) ⇒ Object
sets the IsOrganizationTrail property (Boolean)
95 96 97 |
# File 'lib/humidifier/magic.rb', line 95 def is_organization_trail=(value) update_property('is_organization_trail', value) end |
#kms_key_id ⇒ Object
returns the KMSKeyId property
100 101 102 |
# File 'lib/humidifier/magic.rb', line 100 def kms_key_id properties['kms_key_id'] end |
#kms_key_id=(value) ⇒ Object
sets the KMSKeyId property (String)
105 106 107 |
# File 'lib/humidifier/magic.rb', line 105 def kms_key_id=(value) update_property('kms_key_id', value) end |
#s3_bucket_name ⇒ Object
returns the S3BucketName property
110 111 112 |
# File 'lib/humidifier/magic.rb', line 110 def s3_bucket_name properties['s3_bucket_name'] end |
#s3_bucket_name=(value) ⇒ Object
sets the S3BucketName property (String)
115 116 117 |
# File 'lib/humidifier/magic.rb', line 115 def s3_bucket_name=(value) update_property('s3_bucket_name', value) end |
#s3_key_prefix ⇒ Object
returns the S3KeyPrefix property
120 121 122 |
# File 'lib/humidifier/magic.rb', line 120 def s3_key_prefix properties['s3_key_prefix'] end |
#s3_key_prefix=(value) ⇒ Object
sets the S3KeyPrefix property (String)
125 126 127 |
# File 'lib/humidifier/magic.rb', line 125 def s3_key_prefix=(value) update_property('s3_key_prefix', value) end |
#sns_topic_name ⇒ Object
returns the SnsTopicName property
130 131 132 |
# File 'lib/humidifier/magic.rb', line 130 def sns_topic_name properties['sns_topic_name'] end |
#sns_topic_name=(value) ⇒ Object
sets the SnsTopicName property (String)
135 136 137 |
# File 'lib/humidifier/magic.rb', line 135 def sns_topic_name=(value) update_property('sns_topic_name', value) end |
#tags ⇒ Object
returns the Tags property
140 141 142 |
# File 'lib/humidifier/magic.rb', line 140 def properties['tags'] end |
#tags=(value) ⇒ Object
sets the Tags property (List)
145 146 147 |
# File 'lib/humidifier/magic.rb', line 145 def (value) update_property('tags', value) end |
#trail_name ⇒ Object
returns the TrailName property
150 151 152 |
# File 'lib/humidifier/magic.rb', line 150 def trail_name properties['trail_name'] end |
#trail_name=(value) ⇒ Object
sets the TrailName property (String)
155 156 157 |
# File 'lib/humidifier/magic.rb', line 155 def trail_name=(value) update_property('trail_name', value) end |