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-1.17.4 lib/awspec/type/cloudtrail.rb
awspec-1.17.3 lib/awspec/type/cloudtrail.rb
awspec-1.17.2 lib/awspec/type/cloudtrail.rb
awspec-1.17.1 lib/awspec/type/cloudtrail.rb
awspec-1.17.0 lib/awspec/type/cloudtrail.rb
awspec-1.16.1 lib/awspec/type/cloudtrail.rb
awspec-1.16.0 lib/awspec/type/cloudtrail.rb
awspec-1.15.3 lib/awspec/type/cloudtrail.rb
awspec-1.15.2 lib/awspec/type/cloudtrail.rb
awspec-1.15.1 lib/awspec/type/cloudtrail.rb
awspec-1.15.0 lib/awspec/type/cloudtrail.rb
awspec-1.14.1 lib/awspec/type/cloudtrail.rb
awspec-1.14.0 lib/awspec/type/cloudtrail.rb
awspec-1.13.0 lib/awspec/type/cloudtrail.rb
awspec-1.12.7 lib/awspec/type/cloudtrail.rb
awspec-1.12.6 lib/awspec/type/cloudtrail.rb
awspec-1.12.5 lib/awspec/type/cloudtrail.rb
awspec-1.12.4 lib/awspec/type/cloudtrail.rb
awspec-1.12.3 lib/awspec/type/cloudtrail.rb
awspec-1.12.2 lib/awspec/type/cloudtrail.rb