github.com/jpreese/tflint@v0.19.2-0.20200908152133-b01686250fb6/rules/awsrules/models/mappings/s3.hcl (about) 1 import = "aws-sdk-go/models/apis/s3/2006-03-01/api-2.json" 2 3 mapping "aws_s3_account_public_access_block" { 4 account_id = AccountId 5 block_public_acls = Setting 6 block_public_policy = Setting 7 ignore_public_acls = Setting 8 restrict_public_buckets = Setting 9 } 10 11 mapping "aws_s3_bucket" { 12 bucket = BucketName 13 bucket_prefix = any 14 acl = any // TODO: BucketCannedACL 15 policy = Policy 16 tags = TagSet 17 force_destroy = any 18 website = WebsiteConfiguration 19 cors_rule = CORSRules 20 versioning = VersioningConfiguration 21 logging = LoggingEnabled 22 lifecycle_rule = LifecycleRules 23 acceleration_status = BucketAccelerateStatus 24 region = any // BucketLocationConstraint 25 request_payer = Payer 26 replication_configuration = ReplicationConfiguration 27 server_side_encryption_configuration = ServerSideEncryptionConfiguration 28 object_lock_configuration = ObjectLockConfiguration 29 } 30 31 mapping "aws_s3_bucket_inventory" { 32 bucket = BucketName 33 name = InventoryId 34 included_object_versions = InventoryIncludedObjectVersions 35 schedule = InventorySchedule 36 destination = InventoryDestination 37 enabled = IsEnabled 38 filter = InventoryFilter 39 optional_fields = InventoryOptionalFields 40 } 41 42 mapping "aws_s3_bucket_metric" { 43 bucket = BucketName 44 name = MetricsId 45 filter = MetricsFilter 46 } 47 48 mapping "aws_s3_bucket_notification" { 49 bucket = BucketName 50 topic = TopicConfiguration 51 queue = QueueConfiguration 52 lambda_function = LambdaFunctionConfiguration 53 } 54 55 mapping "aws_s3_bucket_object" { 56 bucket = BucketName 57 key = ObjectKey 58 source = any 59 content = any 60 content_base64 = any 61 acl = ObjectCannedACL 62 cache_control = CacheControl 63 content_disposition = ContentDisposition 64 content_encoding = ContentEncoding 65 content_language = ContentLanguage 66 content_type = ContentType 67 website_redirect = WebsiteRedirectLocation 68 storage_class = StorageClass 69 etag = ETag 70 server_side_encryption = ServerSideEncryption 71 kms_key_id = SSEKMSKeyId 72 tags = TagSet 73 } 74 75 mapping "aws_s3_bucket_policy" { 76 bucket = BucketName 77 policy = Policy 78 } 79 80 mapping "aws_s3_bucket_public_access_block" { 81 bucket = BucketName 82 block_public_acls = Setting 83 block_public_policy = Setting 84 ignore_public_acls = Setting 85 restrict_public_buckets = Setting 86 }