github.com/jpreese/tflint@v0.19.2-0.20200908152133-b01686250fb6/rules/awsrules/models/mappings/iot.hcl (about) 1 import = "aws-sdk-go/models/apis/iot/2015-05-28/api-2.json" 2 3 mapping "aws_iot_certificate" { 4 active = SetAsActive 5 csr = CertificateSigningRequest 6 } 7 8 mapping "aws_iot_policy" { 9 name = PolicyName 10 policy = PolicyDocument 11 } 12 13 mapping "aws_iot_policy_attachment" { 14 policy = PolicyName 15 target = CertificateArn 16 } 17 18 mapping "aws_iot_topic_rule" { 19 name = RuleName 20 description = Description 21 enabled = IsDisabled 22 sql = SQL 23 sql_version = AwsIotSqlVersion 24 cloudwatch_alarm = CloudwatchAlarmAction 25 cloudwatch_metric = CloudwatchMetricAction 26 dynamodb = DynamoDBAction 27 elasticsearch = ElasticsearchAction 28 firehose = FirehoseAction 29 kinesis = KinesisAction 30 lambda = LambdaAction 31 republish = RepublishAction 32 s3 = S3Action 33 sns = SnsAction 34 sqs = SqsAction 35 } 36 37 mapping "aws_iot_thing" { 38 name = ThingName 39 attributes = Attributes 40 thing_type_name = ThingTypeName 41 } 42 43 mapping "aws_iot_thing_principal_attachment" { 44 principal = CertificateArn 45 thing = ThingName 46 } 47 48 mapping "aws_iot_thing_type" { 49 name = ThingTypeName 50 // description = any // ThingTypeDescription 51 deprecated = UndoDeprecate 52 // searchable_attributes = SearchableAttributes 53 } 54 55 mapping "aws_iot_role_alias" { 56 alias = RoleAlias 57 role_arn = RoleArn 58 credential_duration = CredentialDurationSeconds 59 }