AmazonTimestreamInfluxDBServiceRolePolicy

Last Modified

Jul 20, 2026

July 20, 2026 at 07:03 PM UTC

Version

v2

Total Versions

2

Created

Jul 20, 2026

Actions

13

Policy Document

View on GitHub
{
  "PolicyVersion": {
    "Document": {
      "Version": "2012-10-17",
      "Statement": [
        {
          "Sid": "DescribeNetworkStatement",
          "Effect": "Allow",
          "Action": [
            "ec2:DescribeSubnets",
            "ec2:DescribeVpcs",
            "ec2:DescribeNetworkInterfaces"
          ],
          "Resource": "*"
        },
        {
          "Sid": "CreateEniInSubnetStatement",
          "Effect": "Allow",
          "Action": [
            "ec2:CreateNetworkInterface"
          ],
          "Resource": [
            "arn:aws:ec2:*:*:subnet/*",
            "arn:aws:ec2:*:*:security-group/*"
          ]
        },
        {
          "Sid": "CreateEniStatement",
          "Effect": "Allow",
          "Action": [
            "ec2:CreateNetworkInterface"
          ],
          "Resource": "arn:aws:ec2:*:*:network-interface/*",
          "Condition": {
            "Null": {
              "aws:RequestTag/AmazonTimestreamInfluxDBManaged": "false"
            }
          }
        },
        {
          "Sid": "CreateTagWithEniStatement",
          "Effect": "Allow",
          "Action": [
            "ec2:CreateTags"
          ],
          "Resource": "arn:aws:ec2:*:*:network-interface/*",
          "Condition": {
            "Null": {
              "aws:RequestTag/AmazonTimestreamInfluxDBManaged": "false"
            },
            "StringEquals": {
              "ec2:CreateAction": [
                "CreateNetworkInterface"
              ]
            }
          }
        },
        {
          "Sid": "ManageEniStatement",
          "Effect": "Allow",
          "Action": [
            "ec2:CreateNetworkInterfacePermission",
            "ec2:DeleteNetworkInterface"
          ],
          "Resource": "arn:aws:ec2:*:*:network-interface/*",
          "Condition": {
            "Null": {
              "aws:ResourceTag/AmazonTimestreamInfluxDBManaged": "false"
            }
          }
        },
        {
          "Sid": "PutCloudWatchMetricsStatement",
          "Effect": "Allow",
          "Action": [
            "cloudwatch:PutMetricData"
          ],
          "Condition": {
            "StringEquals": {
              "cloudwatch:namespace": [
                "AWS/Timestream/InfluxDB",
                "AWS/Usage"
              ]
            }
          },
          "Resource": [
            "*"
          ]
        },
        {
          "Sid": "ManageSecretStatement",
          "Effect": "Allow",
          "Action": [
            "secretsmanager:CreateSecret",
            "secretsmanager:DeleteSecret"
          ],
          "Resource": [
            "arn:aws:secretsmanager:*:*:secret:READONLY-InfluxDB-auth-parameters-*"
          ],
          "Condition": {
            "StringEquals": {
              "aws:ResourceAccount": "${aws:PrincipalAccount}"
            }
          }
        },
        {
          "Sid": "RetrievePluginSecretStatement",
          "Effect": "Allow",
          "Action": [
            "secretsmanager:GetSecretValue"
          ],
          "Resource": [
            "arn:aws:secretsmanager:*:*:secret:InfluxDB-RepoToken-*"
          ],
          "Condition": {
            "StringEquals": {
              "aws:ResourceAccount": "${aws:PrincipalAccount}"
            }
          }
        },
        {
          "Sid": "DecryptPluginSecretStatement",
          "Effect": "Allow",
          "Action": [
            "kms:Decrypt"
          ],
          "Resource": "arn:*:kms:*:${aws:PrincipalAccount}:key/*",
          "Condition": {
            "StringEquals": {
              "aws:ResourceAccount": "${aws:PrincipalAccount}"
            },
            "StringLike": {
              "kms:ViaService": "secretsmanager.*.amazonaws.com",
              "kms:EncryptionContext:SecretARN": "arn:*:secretsmanager:*:*:secret:InfluxDB-RepoToken-*"
            }
          }
        }
      ]
    },
    "VersionId": "v2",
    "IsDefaultVersion": true,
    "CreateDate": "2026-07-20T18:27:24+00:00"
  }
}

Version History (5 recorded)

Raw history
v2updated

2 actions added

d131163

AmazonTimestreamInfluxDBServiceRolePolicy - Policy Version v1

No recorded action delta - this version predates the change index. View the raw diff.

Mar 12, 2026

2d43a3b

Update detected

No recorded action delta - this version predates the change index. View the raw diff.

Sep 18, 2024

aafbae9

Update detected

No recorded action delta - this version predates the change index. View the raw diff.

May 13, 2024

1b36617

Update detected

No recorded action delta - this version predates the change index. View the raw diff.

Mar 14, 2024

4ee2e4d