Sha256: edb2463d5baebc0fd614311a972f52b35988a204add53bd9c4e1548f64524d2f

Contents?: true

Size: 619 Bytes

Versions: 87

Compression:

Stored size: 619 Bytes

Contents

module Awspec::Type
  class Cloudtrail < ResourceBase
    aws_resource Aws::CloudTrail

    def resource_via_client
      @resource_via_client ||= find_trail(@display_name)
    end

    def id
      @id ||= resource_via_client.name if resource_via_client
    end

    def has_global_service_events_included?
      resource_via_client.include_global_service_events
    end

    def multi_region_trail?
      resource_via_client.is_multi_region_trail
    end

    def has_log_file_validation_enabled?
      resource_via_client.log_file_validation_enabled
    end

    def logging?
      is_logging?(id)
    end
  end
end

Version data entries

87 entries across 87 versions & 2 rubygems

Version Path
awspec-0.74.0 lib/awspec/type/cloudtrail.rb
awspec-0.73.2 lib/awspec/type/cloudtrail.rb
awspec-0.73.1 lib/awspec/type/cloudtrail.rb
awspec-0.73.0 lib/awspec/type/cloudtrail.rb
awspec-0.72.0 lib/awspec/type/cloudtrail.rb
awspec-0.71.0 lib/awspec/type/cloudtrail.rb
awspec-0.70.0 lib/awspec/type/cloudtrail.rb