sample_apps_reinvent2021/java/src/main/java/com/amazonaws/services/timestream/TimestreamDependencyHelper.java [86:132]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                    "       ]," +
                    "       \"Resource\": \"*\"," +
                    "       \"Effect\": \"Allow\"" +
                    "    }" +
                    "   ]" +
                    "}";

    public static final String SQS_POLICY_FORMAT =
            "{" +
            "\"Version\":\"2012-10-17\"," +
            "\"Statement\": [" +
            "   {" +
            "       \"Sid\":\"topic-subscription-%s\", " +
            "       \"Effect\": \"Allow\", " +
            "       \"Principal\":{\"AWS\":\"*\"}, " +
            "       \"Action\": \"sqs:SendMessage\", " +
            "       \"Resource\": \"%s\", " +
            "       \"Condition\":{" +
            "           \"ArnEquals\":{" +
            "               \"aws:SourceArn\":\"%s\"" +
            "           }" +
            "       }" +
            "   }" +
            "  ]" +
            "}";

    public static final String ROLE_POLICY_FORMAT =
            "{" +
            "\"Version\":\"2012-10-17\"," +
            "\"Statement\":[" +
            "   {" +
            "       \"Effect\":\"Allow\"," +
            "       \"Principal\":{" +
            "           %s" +
            "       }," +
            "       \"Action\":\"sts:AssumeRole\"" +
            "   }" +
            "  ]" +
            "}";

    public static final String RECEIPT_HANDLE = "receiptHandle";
    public static final String NOTIFICATION_TYPE = "notificationType";
    public static final String INVOCATION_EPOCH_SECOND = "invocationEpochSecond";
    public static final String MESSAGE = "Message";
    public static final String ERROR_REPORT_LOCATION = "errorReportLocation";
    public static final String OBJECT_KEY = "objectKey";
    public static final String S3_REPORT_LOCATION = "s3ReportLocation";
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



sample_apps_reinvent2021/javaV2/src/main/java/com/amazonaws/services/timestream/TimestreamDependencyHelper.java [85:130]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                    "       ]," +
                    "       \"Resource\": \"*\"," +
                    "       \"Effect\": \"Allow\"" +
                    "    }" +
                    "   ]" +
                    "}";

    public static final String SQS_POLICY_FORMAT =
            "{" +
                    "\"Version\":\"2012-10-17\"," +
                    "\"Statement\": [" +
                    "   {" +
                    "       \"Sid\":\"topic-subscription-%s\", " +
                    "       \"Effect\": \"Allow\", " +
                    "       \"Principal\":{\"AWS\":\"*\"}, " +
                    "       \"Action\": \"sqs:SendMessage\", " +
                    "       \"Resource\": \"%s\", " +
                    "       \"Condition\":{" +
                    "           \"ArnEquals\":{" +
                    "               \"aws:SourceArn\":\"%s\"" +
                    "           }" +
                    "       }" +
                    "   }" +
                    "  ]" +
                    "}";

    public static final String ROLE_POLICY_FORMAT =
            "{" +
                    "\"Version\":\"2012-10-17\"," +
                    "\"Statement\":[" +
                    "   {" +
                    "       \"Effect\":\"Allow\"," +
                    "       \"Principal\":{" +
                    "           %s" +
                    "       }," +
                    "       \"Action\":\"sts:AssumeRole\"" +
                    "   }" +
                    "  ]" +
                    "}";
    public static final String RECEIPT_HANDLE = "receiptHandle";
    public static final String NOTIFICATION_TYPE = "notificationType";
    public static final String INVOCATION_EPOCH_SECOND = "invocationEpochSecond";
    public static final String MESSAGE = "Message";
    public static final String ERROR_REPORT_LOCATION = "errorReportLocation";
    public static final String OBJECT_KEY = "objectKey";
    public static final String S3_REPORT_LOCATION = "s3ReportLocation";
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



